/arch/mips/include/asm/octeon/ |
D | cvmx-fau.h | 62 int64_t value:63; member 72 int32_t value:31; member 82 int16_t value:15; member 92 int8_t value:7; member 153 int64_t value) in __cvmx_fau_atomic_address() argument 156 cvmx_build_bits(CVMX_FAU_BITS_INEVAL, value) | in __cvmx_fau_atomic_address() 171 int64_t value) in cvmx_fau_fetch_and_add64() argument 173 return cvmx_read64_int64(__cvmx_fau_atomic_address(0, reg, value)); in cvmx_fau_fetch_and_add64() 186 int32_t value) in cvmx_fau_fetch_and_add32() argument 189 return cvmx_read64_int32(__cvmx_fau_atomic_address(0, reg, value)); in cvmx_fau_fetch_and_add32() [all …]
|
/arch/mips/cavium-octeon/crypto/ |
D | octeon-crypto.h | 31 #define write_octeon_64bit_hash_dword(value, index) \ argument 36 : [rt] "d" (cpu_to_be64(value))); \ 57 #define write_octeon_64bit_block_dword(value, index) \ argument 62 : [rt] "d" (cpu_to_be64(value))); \ 68 #define octeon_md5_start(value) \ argument 73 : [rt] "d" (cpu_to_be64(value))); \ 79 #define octeon_sha1_start(value) \ argument 84 : [rt] "d" (value)); \ 90 #define octeon_sha256_start(value) \ argument 95 : [rt] "d" (value)); \ [all …]
|
/arch/tile/kernel/ |
D | module.c | 95 static int validate_hw2_last(long value, struct module *me) in validate_hw2_last() argument 97 if (((value << 16) >> 16) != value) { in validate_hw2_last() 99 me->name, value); in validate_hw2_last() 108 static int validate_jumpoff(long value) in validate_jumpoff() argument 114 long f = get_JumpOff_X1(create_JumpOff_X1(value)); in validate_jumpoff() 117 return f == value; in validate_jumpoff() 131 unsigned long value; in apply_relocate_add() local 145 value = sym->st_value + rel[i].r_addend; in apply_relocate_add() 151 (*location = ((*location & ~func(-1)) | func(value))) in apply_relocate_add() 158 (*location = swab64((swab64(*location) & ~func(-1)) | func(value))) in apply_relocate_add() [all …]
|
/arch/xtensa/kernel/ |
D | module.c | 59 uint32_t value; in apply_relocate_add() local 70 value = sym->st_value + rela[i].r_addend; in apply_relocate_add() 82 *(uint32_t *)location += value; in apply_relocate_add() 87 value -= ((unsigned long)location & -4) + 4; in apply_relocate_add() 88 if ((value & 3) != 0 || in apply_relocate_add() 89 ((value + (1 << 19)) >> 20) != 0) { in apply_relocate_add() 97 value = (signed int)value >> 2; in apply_relocate_add() 100 ((value >> 16) & 0x3)); in apply_relocate_add() 101 location[1] = (value >> 8) & 0xff; in apply_relocate_add() 102 location[2] = value & 0xff; in apply_relocate_add() [all …]
|
/arch/mips/kernel/ |
D | unaligned.c | 111 #define _LoadHW(addr, value, res, type) \ argument 129 : "=&r" (value), "=r" (res) \ 134 #define _LoadW(addr, value, res, type) \ argument 150 : "=&r" (value), "=r" (res) \ 156 #define _LoadW(addr, value, res, type) \ argument 185 : "=&r" (value), "=r" (res) \ 191 #define _LoadHWU(addr, value, res, type) \ argument 211 : "=&r" (value), "=r" (res) \ 216 #define _LoadWU(addr, value, res, type) \ argument 234 : "=&r" (value), "=r" (res) \ [all …]
|
/arch/microblaze/lib/ |
D | memcpy.c | 63 unsigned value, buf_hold; in memcpy() local 100 value = *i_src++; in memcpy() 101 *i_dst++ = buf_hold | value >> 24; in memcpy() 102 buf_hold = value << 8; in memcpy() 109 value = *i_src++; in memcpy() 110 *i_dst++ = buf_hold | ((value & 0xFF) << 24); in memcpy() 111 buf_hold = (value & 0xFFFFFF00) >> 8; in memcpy() 126 value = *i_src++; in memcpy() 127 *i_dst++ = buf_hold | value >> 16; in memcpy() 128 buf_hold = value << 16; in memcpy() [all …]
|
D | memmove.c | 84 unsigned value, buf_hold; in memmove() local 122 value = *--i_src; in memmove() 123 *--i_dst = buf_hold << 8 | value; in memmove() 124 buf_hold = value >> 24; in memmove() 131 value = *--i_src; in memmove() 133 ((value & 0xFFFFFF00) >> 8); in memmove() 134 buf_hold = (value & 0xFF) << 24; in memmove() 149 value = *--i_src; in memmove() 150 *--i_dst = buf_hold << 16 | value; in memmove() 151 buf_hold = value >> 16; in memmove() [all …]
|
/arch/sh/boards/ |
D | board-apsh4ad0a.c | 76 int value = 0; in apsh4ad0a_mode_pins() local 82 value |= MODE_PIN0; /* Clock Mode 3 */ in apsh4ad0a_mode_pins() 83 value |= MODE_PIN1; in apsh4ad0a_mode_pins() 84 value &= ~MODE_PIN2; in apsh4ad0a_mode_pins() 85 value &= ~MODE_PIN3; in apsh4ad0a_mode_pins() 86 value &= ~MODE_PIN4; /* 16-bit Area0 bus width */ in apsh4ad0a_mode_pins() 87 value |= MODE_PIN5; in apsh4ad0a_mode_pins() 88 value |= MODE_PIN6; in apsh4ad0a_mode_pins() 89 value |= MODE_PIN7; /* Normal mode */ in apsh4ad0a_mode_pins() 90 value |= MODE_PIN8; /* Little Endian */ in apsh4ad0a_mode_pins() [all …]
|
D | board-apsh4a3a.c | 151 int value = 0; in apsh4a3a_mode_pins() local 157 value &= ~MODE_PIN0; /* Clock Mode 16 */ in apsh4a3a_mode_pins() 158 value &= ~MODE_PIN1; in apsh4a3a_mode_pins() 159 value &= ~MODE_PIN2; in apsh4a3a_mode_pins() 160 value &= ~MODE_PIN3; in apsh4a3a_mode_pins() 161 value |= MODE_PIN4; in apsh4a3a_mode_pins() 162 value &= ~MODE_PIN5; /* 16-bit Area0 bus width */ in apsh4a3a_mode_pins() 163 value |= MODE_PIN6; /* Area 0 SRAM interface */ in apsh4a3a_mode_pins() 164 value |= MODE_PIN7; in apsh4a3a_mode_pins() 165 value |= MODE_PIN8; /* Little Endian */ in apsh4a3a_mode_pins() [all …]
|
/arch/alpha/kernel/ |
D | module.c | 170 unsigned long value, hi, lo; in apply_relocate_add() local 179 value = sym->st_value + rela[i].r_addend; in apply_relocate_add() 185 *(u32 *)location = value; in apply_relocate_add() 189 ((u32 *)location)[0] = value; in apply_relocate_add() 190 ((u32 *)location)[1] = value >> 32; in apply_relocate_add() 193 value -= gp; in apply_relocate_add() 194 if ((int)value != value) in apply_relocate_add() 196 *(u32 *)location = value; in apply_relocate_add() 204 *(u64 *)hi = value; in apply_relocate_add() 209 value = gp - (u64)location; in apply_relocate_add() [all …]
|
/arch/x86/pci/ |
D | ce4100.c | 41 u32 value; member 49 void (*read)(struct sim_dev_reg *reg, u32 *value); 50 void (*write)(struct sim_dev_reg *reg, u32 value); 56 void (*read)(struct sim_dev_reg *reg, u32 value); 57 void (*write)(struct sim_dev_reg *reg, u32 value); 74 ®->sim_reg.value); in reg_init() 77 static void reg_read(struct sim_dev_reg *reg, u32 *value) in reg_read() argument 79 *value = reg->sim_reg.value; in reg_read() 82 static void reg_write(struct sim_dev_reg *reg, u32 value) in reg_write() argument 84 reg->sim_reg.value = (value & reg->sim_reg.mask) | in reg_write() [all …]
|
/arch/mips/loongson64/loongson-3/ |
D | acpi_init.c | 32 static void pmio_write_index(u16 index, u8 reg, u8 value) in pmio_write_index() argument 35 outb(value, index + 1); in pmio_write_index() 44 void pm_iowrite(u8 reg, u8 value) in pm_iowrite() argument 46 pmio_write_index(PM_INDEX, reg, value); in pm_iowrite() 56 void pm2_iowrite(u8 reg, u8 value) in pm2_iowrite() argument 58 pmio_write_index(PM2_INDEX, reg, value); in pm2_iowrite() 70 u16 value; in acpi_hw_clear_status() local 73 value = inw(ACPI_PM_EVT_BLK); in acpi_hw_clear_status() 74 value |= (1 << 8 | 1 << 15); in acpi_hw_clear_status() 75 outw(value, ACPI_PM_EVT_BLK); in acpi_hw_clear_status() [all …]
|
/arch/m32r/kernel/ |
D | module.c | 82 uint32_t value; in apply_relocate_add() local 103 COPY_UNALIGNED_WORD (*location, value, align); in apply_relocate_add() 104 value += relocation; in apply_relocate_add() 105 COPY_UNALIGNED_WORD (value, *location, align); in apply_relocate_add() 108 COPY_UNALIGNED_WORD (*location, value, align); in apply_relocate_add() 111 value += relocation; in apply_relocate_add() 112 COPY_UNALIGNED_WORD (value, *location, align); in apply_relocate_add() 115 COPY_UNALIGNED_WORD (*location, value, align); in apply_relocate_add() 119 value += relocation; in apply_relocate_add() 120 COPY_UNALIGNED_WORD (value, *location, align); in apply_relocate_add() [all …]
|
/arch/microblaze/kernel/ |
D | module.c | 29 unsigned long int value; in apply_relocate_add() local 43 value = sym->st_value + rela[i].r_addend; in apply_relocate_add() 57 *location = value + old_value; in apply_relocate_add() 60 old_value, value); in apply_relocate_add() 62 *location = value; in apply_relocate_add() 71 value += old_value; in apply_relocate_add() 74 (value >> 16); in apply_relocate_add() 76 (value & 0xFFFF); in apply_relocate_add() 79 old_value, value); in apply_relocate_add() 87 value -= old_value; in apply_relocate_add() [all …]
|
/arch/x86/include/asm/ |
D | segment.h | 263 #define __loadsegment_simple(seg, value) \ argument 265 unsigned short __val = (value); \ 280 #define __loadsegment_ss(value) __loadsegment_simple(ss, (value)) argument 281 #define __loadsegment_ds(value) __loadsegment_simple(ds, (value)) argument 282 #define __loadsegment_es(value) __loadsegment_simple(es, (value)) argument 290 #define __loadsegment_fs(value) __loadsegment_simple(fs, (value)) argument 291 #define __loadsegment_gs(value) __loadsegment_simple(gs, (value)) argument 295 static inline void __loadsegment_fs(unsigned short value) in __loadsegment_fs() argument 303 : : "rm" (value) : "memory"); in __loadsegment_fs() 310 #define loadsegment(seg, value) __loadsegment_ ## seg (value) argument [all …]
|
D | debugreg.h | 17 #define set_debugreg(value, register) \ argument 18 native_set_debugreg(register, value) 50 static inline void native_set_debugreg(int regno, unsigned long value) in native_set_debugreg() argument 54 asm("mov %0, %%db0" ::"r" (value)); in native_set_debugreg() 57 asm("mov %0, %%db1" ::"r" (value)); in native_set_debugreg() 60 asm("mov %0, %%db2" ::"r" (value)); in native_set_debugreg() 63 asm("mov %0, %%db3" ::"r" (value)); in native_set_debugreg() 66 asm("mov %0, %%db6" ::"r" (value)); in native_set_debugreg() 69 asm("mov %0, %%db7" ::"r" (value)); in native_set_debugreg()
|
/arch/powerpc/xmon/ |
D | ppc-dis.c | 40 long value; in operand_value_powerpc() local 44 value = (*operand->extract) (insn, dialect, &invalid); in operand_value_powerpc() 48 value = (insn >> operand->shift) & operand->bitm; in operand_value_powerpc() 50 value = (insn << -operand->shift) & operand->bitm; in operand_value_powerpc() 60 value = (value ^ top) - top; in operand_value_powerpc() 64 return value; in operand_value_powerpc() 199 long value; in print_insn_powerpc() local 220 value = operand_value_powerpc (operand, insn, dialect); in print_insn_powerpc() 230 || ((operand->flags & PPC_OPERAND_GPR_0) != 0 && value != 0)) in print_insn_powerpc() 231 printf("r%ld", value); in print_insn_powerpc() [all …]
|
/arch/openrisc/kernel/ |
D | module.c | 30 uint32_t value; in apply_relocate_add() local 43 value = sym->st_value + rel[i].r_addend; in apply_relocate_add() 47 *location = value; in apply_relocate_add() 50 *((uint16_t *)location + 1) = value; in apply_relocate_add() 53 *((uint16_t *)location + 1) = value >> 16; in apply_relocate_add() 56 value -= (uint32_t)location; in apply_relocate_add() 57 value >>= 2; in apply_relocate_add() 58 value &= 0x03ffffff; in apply_relocate_add() 59 value |= *location & 0xfc000000; in apply_relocate_add() 60 *location = value; in apply_relocate_add()
|
/arch/xtensa/include/asm/ |
D | bitops.h | 105 unsigned long tmp, value; in set_bit() local 116 : "=&a" (tmp), "=&a" (value) in set_bit() 123 unsigned long tmp, value; in clear_bit() local 134 : "=&a" (tmp), "=&a" (value) in clear_bit() 141 unsigned long tmp, value; in change_bit() local 152 : "=&a" (tmp), "=&a" (value) in change_bit() 160 unsigned long tmp, value; in test_and_set_bit() local 171 : "=&a" (tmp), "=&a" (value) in test_and_set_bit() 181 unsigned long tmp, value; in test_and_clear_bit() local 192 : "=&a" (tmp), "=&a" (value) in test_and_clear_bit() [all …]
|
/arch/arc/plat-eznps/ |
D | mtm.c | 54 udmc.value = read_aux_reg(CTOP_AUX_UDMC); in mtm_init_nat() 56 write_aux_reg(CTOP_AUX_UDMC, udmc.value); in mtm_init_nat() 58 mtm_cfg.value = ioread32be(MTM_CFG(cpu)); in mtm_init_nat() 60 iowrite32be(mtm_cfg.value, MTM_CFG(cpu)); in mtm_init_nat() 70 thr_init.value = 0; in mtm_init_thread() 71 iowrite32be(thr_init.value, MTM_THR_INIT(cpu)); in mtm_init_thread() 74 iowrite32be(thr_init.value, MTM_THR_INIT(cpu)); in mtm_init_thread() 78 thr_init_sts.value = ioread32be(MTM_THR_INIT_STS(cpu)); in mtm_init_thread() 103 mtm_cfg.value = ioread32be(MTM_CFG(cpu)); in mtm_enable_thread() 105 iowrite32be(mtm_cfg.value, MTM_CFG(cpu)); in mtm_enable_thread() [all …]
|
/arch/mips/loongson64/common/cs5536/ |
D | cs5536_isa.c | 88 void pci_isa_write_bar(int n, u32 value) in pci_isa_write_bar() argument 90 u32 hi = 0, lo = value; in pci_isa_write_bar() 92 if (value == PCI_BAR_RANGE_MASK) { in pci_isa_write_bar() 96 } else if (value & 0x01) { in pci_isa_write_bar() 103 hi = ((value & 0x000ffffc) << 12) | in pci_isa_write_bar() 105 lo = ((value & 0x000ffffc) << 12) | 0x01; in pci_isa_write_bar() 138 void pci_isa_write_reg(int reg, u32 value) in pci_isa_write_reg() argument 140 u32 hi = 0, lo = value; in pci_isa_write_reg() 145 if (value & PCI_COMMAND_IO) in pci_isa_write_reg() 153 if ((value & PCI_STATUS_SIG_TARGET_ABORT) && in pci_isa_write_reg() [all …]
|
/arch/m68k/include/asm/ |
D | movs.h | 39 #define SET_CONTROL_BYTE(addr,value) \ argument 40 __asm__ __volatile__ (" movsb %0, %1@" : : "d" (value), "a" (addr)); 44 #define GET_CONTROL_BYTE(addr,value) \ argument 45 __asm__ __volatile__ (" movsb %1@, %0" : "=d" (value) : "a" (addr)); 49 #define SET_CONTROL_WORD(addr,value) \ argument 50 __asm__ __volatile__ (" movsl %0, %1@" : : "d" (value), "a" (addr)); 54 #define GET_CONTROL_WORD(addr,value) \ argument 55 __asm__ __volatile__ (" movsl %1@, %0" : "=d" (value) : "a" (addr));
|
/arch/parisc/math-emu/ |
D | float.h | 87 #define Deposit_ssign(object,value) Bitfield_deposit(value,0,1,object) argument 88 #define Deposit_sexponent(object,value) Bitfield_deposit(value,1,8,object) argument 89 #define Deposit_smantissa(object,value) Bitfield_deposit(value,9,23,object) argument 90 #define Deposit_shigh2mantissa(object,value) Bitfield_deposit(value,9,2,object) argument 91 #define Deposit_sexponentmantissa(object,value) \ argument 92 Bitfield_deposit(value,1,31,object) 93 #define Deposit_ssignexponent(object,value) Bitfield_deposit(value,0,9,object) argument 94 #define Deposit_slow(object,value) Bitfield_deposit(value,31,1,object) argument 95 #define Deposit_shigh4(object,value) Bitfield_deposit(value,0,4,object) argument 140 #define Deposit_dsign(object,value) Bitfield_deposit(value,0,1,object) argument [all …]
|
/arch/mips/pci/ |
D | ops-bridge.c | 44 int where, int size, u32 * value) in pci_conf0_read_config() argument 68 res = get_dbe(*value, (u8 *) addr); in pci_conf0_read_config() 70 res = get_dbe(*value, (u16 *) addr); in pci_conf0_read_config() 72 res = get_dbe(*value, (u32 *) addr); in pci_conf0_read_config() 83 *value = emulate_ioc3_cfg(where, size); in pci_conf0_read_config() 98 *value = (cf >> shift) & mask; in pci_conf0_read_config() 104 int where, int size, u32 * value) in pci_conf1_read_config() argument 131 res = get_dbe(*value, (u8 *) addr); in pci_conf1_read_config() 133 res = get_dbe(*value, (u16 *) addr); in pci_conf1_read_config() 135 res = get_dbe(*value, (u32 *) addr); in pci_conf1_read_config() [all …]
|
/arch/powerpc/kernel/ |
D | module_64.c | 522 unsigned long value; in apply_relocate_add() local 551 value = sym->st_value + rela[i].r_addend; in apply_relocate_add() 556 *(u32 *)location = value; in apply_relocate_add() 561 *(unsigned long *)location = value; in apply_relocate_add() 570 value -= my_r2(sechdrs, me); in apply_relocate_add() 571 if (value + 0x8000 > 0xffff) { in apply_relocate_add() 573 me->name, value); in apply_relocate_add() 578 | (value & 0xffff); in apply_relocate_add() 583 value -= my_r2(sechdrs, me); in apply_relocate_add() 586 | (value & 0xffff); in apply_relocate_add() [all …]
|