/arch/alpha/lib/ |
D | memcpy.c | 26 #define ALIGN_DEST_TO8_UP(d,s,n) \ argument 27 while (d & 7) { \ 30 *(char *) d = *(char *) s; \ 31 d++; s++; \ 33 #define ALIGN_DEST_TO8_DN(d,s,n) \ argument 34 while (d & 7) { \ 37 d--; s--; \ 38 *(char *) d = *(char *) s; \ 45 #define DO_REST_UP(d,s,n) \ argument 48 *(char *) d = *(char *) s; \ [all …]
|
/arch/powerpc/net/ |
D | bpf_jit.h | 31 #define PLANT_INSTR(d, idx, instr) \ argument 32 do { if (d) { (d)[idx] = instr; } idx++; } while (0) 41 #define PPC_ADDI(d, a, i) EMIT(PPC_INST_ADDI | ___PPC_RT(d) | \ argument 43 #define PPC_MR(d, a) PPC_OR(d, a, a) argument 45 #define PPC_ADDIS(d, a, i) EMIT(PPC_INST_ADDIS | \ argument 46 ___PPC_RT(d) | ___PPC_RA(a) | IMM_L(i)) 101 #define PPC_SUB(d, a, b) EMIT(PPC_INST_SUB | ___PPC_RT(d) | \ argument 103 #define PPC_ADD(d, a, b) EMIT(PPC_INST_ADD | ___PPC_RT(d) | \ argument 105 #define PPC_MULD(d, a, b) EMIT(PPC_INST_MULLD | ___PPC_RT(d) | \ argument 107 #define PPC_MULW(d, a, b) EMIT(PPC_INST_MULLW | ___PPC_RT(d) | \ argument [all …]
|
/arch/mips/kernel/ |
D | r2300_fpu.S | 70 EX2(s.d $f0, 0(a0)) 71 EX2(s.d $f2, 16(a0)) 72 EX2(s.d $f4, 32(a0)) 73 EX2(s.d $f6, 48(a0)) 74 EX2(s.d $f8, 64(a0)) 75 EX2(s.d $f10, 80(a0)) 76 EX2(s.d $f12, 96(a0)) 77 EX2(s.d $f14, 112(a0)) 78 EX2(s.d $f16, 128(a0)) 79 EX2(s.d $f18, 144(a0)) [all …]
|
/arch/openrisc/lib/ |
D | memcpy.c | 29 unsigned char *d, *s; in memcpy() local 61 d = (unsigned char *)dest_w; in memcpy() 65 d = (unsigned char *)dest_w; in memcpy() 69 *d++ = *s++; in memcpy() 70 *d++ = *s++; in memcpy() 71 *d++ = *s++; in memcpy() 72 *d++ = *s++; in memcpy() 73 *d++ = *s++; in memcpy() 74 *d++ = *s++; in memcpy() 75 *d++ = *s++; in memcpy() [all …]
|
/arch/arm/mach-mmp/ |
D | mmp2.h | 39 struct pxa_device_desc *d = NULL; in mmp2_add_uart() local 42 case 1: d = &mmp2_device_uart1; break; in mmp2_add_uart() 43 case 2: d = &mmp2_device_uart2; break; in mmp2_add_uart() 44 case 3: d = &mmp2_device_uart3; break; in mmp2_add_uart() 45 case 4: d = &mmp2_device_uart4; break; in mmp2_add_uart() 50 return pxa_register_device(d, NULL, 0); in mmp2_add_uart() 56 struct pxa_device_desc *d = NULL; in mmp2_add_twsi() local 60 case 1: d = &mmp2_device_twsi1; break; in mmp2_add_twsi() 61 case 2: d = &mmp2_device_twsi2; break; in mmp2_add_twsi() 62 case 3: d = &mmp2_device_twsi3; break; in mmp2_add_twsi() [all …]
|
D | pxa168.h | 51 struct pxa_device_desc *d = NULL; in pxa168_add_uart() local 54 case 1: d = &pxa168_device_uart1; break; in pxa168_add_uart() 55 case 2: d = &pxa168_device_uart2; break; in pxa168_add_uart() 56 case 3: d = &pxa168_device_uart3; break; in pxa168_add_uart() 59 if (d == NULL) in pxa168_add_uart() 62 return pxa_register_device(d, NULL, 0); in pxa168_add_uart() 68 struct pxa_device_desc *d = NULL; in pxa168_add_twsi() local 72 case 0: d = &pxa168_device_twsi0; break; in pxa168_add_twsi() 73 case 1: d = &pxa168_device_twsi1; break; in pxa168_add_twsi() 82 return pxa_register_device(d, data, sizeof(*data)); in pxa168_add_twsi() [all …]
|
D | pxa910.h | 37 struct pxa_device_desc *d = NULL; in pxa910_add_uart() local 40 case 1: d = &pxa910_device_uart1; break; in pxa910_add_uart() 41 case 2: d = &pxa910_device_uart2; break; in pxa910_add_uart() 44 if (d == NULL) in pxa910_add_uart() 47 return pxa_register_device(d, NULL, 0); in pxa910_add_uart() 53 struct pxa_device_desc *d = NULL; in pxa910_add_twsi() local 57 case 0: d = &pxa910_device_twsi0; break; in pxa910_add_twsi() 58 case 1: d = &pxa910_device_twsi1; break; in pxa910_add_twsi() 67 return pxa_register_device(d, data, sizeof(*data)); in pxa910_add_twsi() 72 struct pxa_device_desc *d = NULL; in pxa910_add_pwm() local [all …]
|
/arch/mips/include/asm/ |
D | asmmacro-32.h | 20 s.d $f0, THREAD_FPR0(\thread) 21 s.d $f2, THREAD_FPR2(\thread) 22 s.d $f4, THREAD_FPR4(\thread) 23 s.d $f6, THREAD_FPR6(\thread) 24 s.d $f8, THREAD_FPR8(\thread) 25 s.d $f10, THREAD_FPR10(\thread) 26 s.d $f12, THREAD_FPR12(\thread) 27 s.d $f14, THREAD_FPR14(\thread) 28 s.d $f16, THREAD_FPR16(\thread) 29 s.d $f18, THREAD_FPR18(\thread) [all …]
|
/arch/unicore32/boot/compressed/ |
D | misc.c | 43 unsigned char *d = (unsigned char *)dest, *s = (unsigned char *)src; in memcpy() local 46 *d++ = *s++; in memcpy() 47 *d++ = *s++; in memcpy() 48 *d++ = *s++; in memcpy() 49 *d++ = *s++; in memcpy() 50 *d++ = *s++; in memcpy() 51 *d++ = *s++; in memcpy() 52 *d++ = *s++; in memcpy() 53 *d++ = *s++; in memcpy() 57 *d++ = *s++; in memcpy() [all …]
|
/arch/arm/mach-sa1100/ |
D | neponset.c | 143 struct neponset_drvdata *d = irq_desc_get_handler_data(desc); in neponset_irq_handler() local 157 irr = readb_relaxed(d->base + IRR); in neponset_irq_handler() 180 generic_handle_irq(d->irq_base + NEP_IRQ_SMC91X); in neponset_irq_handler() 183 generic_handle_irq(d->irq_base + NEP_IRQ_USAR); in neponset_irq_handler() 189 generic_handle_irq(d->irq_base + NEP_IRQ_SA1111); in neponset_irq_handler() 227 struct neponset_drvdata *d; in neponset_probe() local 279 d = kzalloc(sizeof(*d), GFP_KERNEL); in neponset_probe() 280 if (!d) { in neponset_probe() 285 d->base = ioremap(nep_res->start, SZ_4K); in neponset_probe() 286 if (!d->base) { in neponset_probe() [all …]
|
/arch/x86/crypto/ |
D | des3_ede-asm_64.S | 80 movl val##d, RT0d; \ 90 orl RT0d, val##d; 93 do_permutation(left##d, right##d, 4, 0x0f0f0f0f); \ 94 do_permutation(left##d, right##d, 16, 0x0000ffff); \ 95 do_permutation(right##d, left##d, 2, 0x33333333); \ 96 do_permutation(right##d, left##d, 8, 0x00ff00ff); \ 98 movl left##d, RW0d; \ 99 roll $1, right##d; \ 100 xorl right##d, RW0d; \ 102 xorl RW0d, left##d; \ [all …]
|
/arch/arm/boot/compressed/ |
D | string.c | 13 unsigned char *d = (unsigned char *)__dest, *s = (unsigned char *)__src; in memcpy() local 16 *d++ = *s++; in memcpy() 17 *d++ = *s++; in memcpy() 18 *d++ = *s++; in memcpy() 19 *d++ = *s++; in memcpy() 20 *d++ = *s++; in memcpy() 21 *d++ = *s++; in memcpy() 22 *d++ = *s++; in memcpy() 23 *d++ = *s++; in memcpy() 27 *d++ = *s++; in memcpy() [all …]
|
/arch/sparc/include/asm/ |
D | io_32.h | 10 #define memset_io(d,c,sz) _memset_io(d,c,sz) argument 11 #define memcpy_fromio(d,s,sz) _memcpy_fromio(d,s,sz) argument 12 #define memcpy_toio(d,s,sz) _memcpy_toio(d,s,sz) argument 19 volatile void __iomem *d = dst; in _memset_io() local 22 writeb(c, d); in _memset_io() 23 d++; in _memset_io() 30 char *d = dst; in _memcpy_fromio() local 34 *d++ = tmp; in _memcpy_fromio() 43 volatile void __iomem *d = dst; in _memcpy_toio() local 47 writeb(tmp, d); in _memcpy_toio() [all …]
|
/arch/x86/kernel/cpu/resctrl/ |
D | core.c | 52 mba_wrmsr_intel(struct rdt_domain *d, struct msr_param *m, 55 cat_wrmsr(struct rdt_domain *d, struct msr_param *m, struct rdt_resource *r); 57 mba_wrmsr_amd(struct rdt_domain *d, struct msr_param *m, 363 mba_wrmsr_amd(struct rdt_domain *d, struct msr_param *m, struct rdt_resource *r) in mba_wrmsr_amd() argument 368 wrmsrl(r->msr_base + i, d->ctrl_val[i]); in mba_wrmsr_amd() 386 mba_wrmsr_intel(struct rdt_domain *d, struct msr_param *m, in mba_wrmsr_intel() argument 393 wrmsrl(r->msr_base + i, delay_bw_map(d->ctrl_val[i], r)); in mba_wrmsr_intel() 397 cat_wrmsr(struct rdt_domain *d, struct msr_param *m, struct rdt_resource *r) in cat_wrmsr() argument 402 wrmsrl(r->msr_base + cbm_idx(r, i), d->ctrl_val[i]); in cat_wrmsr() 407 struct rdt_domain *d; in get_domain_from_cpu() local [all …]
|
D | ctrlmondata.c | 53 struct rdt_domain *d) in parse_bw_amd() argument 57 if (d->have_new_ctrl) { in parse_bw_amd() 58 rdt_last_cmd_printf("Duplicate domain %d\n", d->id); in parse_bw_amd() 65 d->new_ctrl = bw_val; in parse_bw_amd() 66 d->have_new_ctrl = true; in parse_bw_amd() 108 struct rdt_domain *d) in parse_bw_intel() argument 112 if (d->have_new_ctrl) { in parse_bw_intel() 113 rdt_last_cmd_printf("Duplicate domain %d\n", d->id); in parse_bw_intel() 119 d->new_ctrl = bw_val; in parse_bw_intel() 120 d->have_new_ctrl = true; in parse_bw_intel() [all …]
|
/arch/parisc/include/asm/ |
D | parisc-device.h | 43 #define to_parisc_device(d) container_of(d, struct parisc_device, dev) argument 44 #define to_parisc_driver(d) container_of(d, struct parisc_driver, drv) argument 45 #define parisc_parent(d) to_parisc_device(d->dev.parent) argument 47 static inline const char *parisc_pathname(struct parisc_device *d) in parisc_pathname() argument 49 return dev_name(&d->dev); in parisc_pathname() 53 parisc_set_drvdata(struct parisc_device *d, void *p) in parisc_set_drvdata() argument 55 dev_set_drvdata(&d->dev, p); in parisc_set_drvdata() 59 parisc_get_drvdata(struct parisc_device *d) in parisc_get_drvdata() argument 61 return dev_get_drvdata(&d->dev); in parisc_get_drvdata()
|
D | hash.h | 120 u64 b, c, d; in hash_64() local 132 b = (b << 2) + a; _ASSIGN(d, a << 17); in hash_64() 133 a = b + (a << 1); c += d; in hash_64() 134 d = a << 10; _ASSIGN(a, a << 19); in hash_64() 135 d = a - d; _ASSIGN(a, a << 4, "X" (d)); in hash_64() 137 d -= c; c += a << 1; in hash_64() 138 a += c << 3; _ASSIGN(b, b << (7+31), "X" (c), "X" (d)); in hash_64() 139 a <<= 31; b += d; in hash_64()
|
/arch/powerpc/crypto/ |
D | md5-asm.S | 65 #define R_00_15(a, b, c, d, w0, w1, p, q, off, k0h, k0l, k1h, k1l) \ argument 69 andc rT1,d,b; /* 1: f' = ~b and d */ \ 79 add d,d,w1; /* 2: a = a + wk */ \ 84 add d,d,rT0; /* 2: a = a + f */ \ 86 rotrwi d,d,q; /* 2: a = a rotl x */ \ 87 add d,d,a; /* 2: a = a + b */ 89 #define R_16_31(a, b, c, d, w0, w1, p, q, k0h, k0l, k1h, k1l) \ argument 90 andc rT0,c,d; /* 1: f = c and ~d */ \ 91 and rT1,b,d; /* 1: f' = b and d */ \ 102 add d,d,w1; /* 2: a = a + wk */ \ [all …]
|
/arch/microblaze/include/asm/ |
D | hash.h | 62 unsigned int b, c, d; in __hash_32() 70 d = c << 7; /* 7 18 */ in __hash_32() 71 d += b; /* 1 19 */ in __hash_32() 72 d <<= 8; /* 8 27 */ in __hash_32() 73 d += a; /* 1 28 */ in __hash_32() 74 d <<= 1; /* 1 29 */ in __hash_32() 75 d += b; /* 1 30 */ in __hash_32() 76 d <<= 6; /* 6 36 */ in __hash_32() 77 return d + c; /* 1 37 total instructions*/ in __hash_32()
|
/arch/sparc/crypto/ |
D | opcodes.h | 30 #define AES_EROUND01(a,b,c,d) \ argument 31 .word (F3F(2, 0x19, 0)|RS1(a)|RS2(b)|RS3(c)|RD(d)); 32 #define AES_EROUND23(a,b,c,d) \ argument 33 .word (F3F(2, 0x19, 1)|RS1(a)|RS2(b)|RS3(c)|RD(d)); 34 #define AES_DROUND01(a,b,c,d) \ argument 35 .word (F3F(2, 0x19, 2)|RS1(a)|RS2(b)|RS3(c)|RD(d)); 36 #define AES_DROUND23(a,b,c,d) \ argument 37 .word (F3F(2, 0x19, 3)|RS1(a)|RS2(b)|RS3(c)|RD(d)); 38 #define AES_EROUND01_L(a,b,c,d) \ argument 39 .word (F3F(2, 0x19, 4)|RS1(a)|RS2(b)|RS3(c)|RD(d)); [all …]
|
/arch/powerpc/sysdev/xics/ |
D | ics-opal.c | 42 static void ics_opal_unmask_irq(struct irq_data *d) in ics_opal_unmask_irq() argument 44 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); in ics_opal_unmask_irq() 48 pr_devel("ics-hal: unmask virq %d [hw 0x%x]\n", d->irq, hw_irq); in ics_opal_unmask_irq() 53 server = xics_get_irq_server(d->irq, irq_data_get_affinity_mask(d), 0); in ics_opal_unmask_irq() 60 __func__, d->irq, hw_irq, server, rc); in ics_opal_unmask_irq() 63 static unsigned int ics_opal_startup(struct irq_data *d) in ics_opal_startup() argument 71 if (irq_data_get_msi_desc(d)) in ics_opal_startup() 72 pci_msi_unmask_irq(d); in ics_opal_startup() 76 ics_opal_unmask_irq(d); in ics_opal_startup() 95 static void ics_opal_mask_irq(struct irq_data *d) in ics_opal_mask_irq() argument [all …]
|
/arch/mips/pmcs-msp71xx/ |
D | msp_irq_per.c | 46 static inline void unmask_per_irq(struct irq_data *d) in unmask_per_irq() argument 51 *PER_INT_MSK_REG |= (1 << (d->irq - MSP_PER_INTBASE)); in unmask_per_irq() 54 *PER_INT_MSK_REG |= (1 << (d->irq - MSP_PER_INTBASE)); in unmask_per_irq() 59 static inline void mask_per_irq(struct irq_data *d) in mask_per_irq() argument 64 *PER_INT_MSK_REG &= ~(1 << (d->irq - MSP_PER_INTBASE)); in mask_per_irq() 67 *PER_INT_MSK_REG &= ~(1 << (d->irq - MSP_PER_INTBASE)); in mask_per_irq() 72 static inline void msp_per_irq_ack(struct irq_data *d) in msp_per_irq_ack() argument 74 mask_per_irq(d); in msp_per_irq_ack() 80 *PER_INT_STS_REG = (1 << (d->irq - MSP_PER_INTBASE)); in msp_per_irq_ack() 84 static int msp_per_irq_set_affinity(struct irq_data *d, in msp_per_irq_set_affinity() argument [all …]
|
/arch/unicore32/kernel/ |
D | irq.c | 40 static int puv3_gpio_type(struct irq_data *d, unsigned int type) in puv3_gpio_type() argument 44 if (d->irq < IRQ_GPIOHIGH) in puv3_gpio_type() 45 mask = 1 << d->irq; in puv3_gpio_type() 47 mask = GPIO_MASK(d->irq); in puv3_gpio_type() 73 static void puv3_low_gpio_ack(struct irq_data *d) in puv3_low_gpio_ack() argument 75 writel((1 << d->irq), GPIO_GEDR); in puv3_low_gpio_ack() 78 static void puv3_low_gpio_mask(struct irq_data *d) in puv3_low_gpio_mask() argument 80 writel(readl(INTC_ICMR) & ~(1 << d->irq), INTC_ICMR); in puv3_low_gpio_mask() 83 static void puv3_low_gpio_unmask(struct irq_data *d) in puv3_low_gpio_unmask() argument 85 writel(readl(INTC_ICMR) | (1 << d->irq), INTC_ICMR); in puv3_low_gpio_unmask() [all …]
|
/arch/powerpc/platforms/8xx/ |
D | pic.c | 23 static inline unsigned long mpc8xx_irqd_to_bit(struct irq_data *d) in mpc8xx_irqd_to_bit() argument 25 return 0x80000000 >> irqd_to_hwirq(d); in mpc8xx_irqd_to_bit() 28 static void mpc8xx_unmask_irq(struct irq_data *d) in mpc8xx_unmask_irq() argument 30 mpc8xx_cached_irq_mask |= mpc8xx_irqd_to_bit(d); in mpc8xx_unmask_irq() 34 static void mpc8xx_mask_irq(struct irq_data *d) in mpc8xx_mask_irq() argument 36 mpc8xx_cached_irq_mask &= ~mpc8xx_irqd_to_bit(d); in mpc8xx_mask_irq() 40 static void mpc8xx_ack(struct irq_data *d) in mpc8xx_ack() argument 42 out_be32(&siu_reg->sc_sipend, mpc8xx_irqd_to_bit(d)); in mpc8xx_ack() 45 static void mpc8xx_end_irq(struct irq_data *d) in mpc8xx_end_irq() argument 47 mpc8xx_cached_irq_mask |= mpc8xx_irqd_to_bit(d); in mpc8xx_end_irq() [all …]
|
/arch/x86/math-emu/ |
D | fpu_system.h | 44 static inline unsigned long seg_get_base(struct desc_struct *d) in seg_get_base() argument 46 unsigned long base = (unsigned long)d->base2 << 24; in seg_get_base() 48 return base | ((unsigned long)d->base1 << 16) | d->base0; in seg_get_base() 51 static inline unsigned long seg_get_limit(struct desc_struct *d) in seg_get_limit() argument 53 return ((unsigned long)d->limit1 << 16) | d->limit0; in seg_get_limit() 56 static inline unsigned long seg_get_granularity(struct desc_struct *d) in seg_get_granularity() argument 58 return d->g ? 4096 : 1; in seg_get_granularity() 61 static inline bool seg_expands_down(struct desc_struct *d) in seg_expands_down() argument 63 return (d->type & SEG_TYPE_EXPAND_MASK) == SEG_TYPE_EXPANDS_DOWN; in seg_expands_down() 66 static inline bool seg_execute_only(struct desc_struct *d) in seg_execute_only() argument [all …]
|