/linux/include/acpi/ |
H A D | acbuffer.h | 121 #define ACPI_PLD_GET_REVISION(dword) ACPI_GET_BITS (dword, 0, ACPI_7BIT_MASK) argument 122 #define ACPI_PLD_SET_REVISION(dword,value) ACPI_SET_BITS (dword, 0, ACPI_7BIT_MASK, value) /* … argument 124 #define ACPI_PLD_GET_IGNORE_COLOR(dword) ACPI_GET_BITS (dword, 7, ACPI_1BIT_MASK) argument 125 #define ACPI_PLD_SET_IGNORE_COLOR(dword,value) ACPI_SET_BITS (dword, 7, ACPI_1BIT_MASK, value) /* … argument 127 #define ACPI_PLD_GET_RED(dword) ACPI_GET_BITS (dword, 8, ACPI_8BIT_MASK) argument 128 #define ACPI_PLD_SET_RED(dword,value) ACPI_SET_BITS (dword, 8, ACPI_8BIT_MASK, value) /* … argument 130 #define ACPI_PLD_GET_GREEN(dword) ACPI_GET_BITS (dword, 16, ACPI_8BIT_MASK) argument 131 #define ACPI_PLD_SET_GREEN(dword,value) ACPI_SET_BITS (dword, 16, ACPI_8BIT_MASK, value) /*… argument 133 #define ACPI_PLD_GET_BLUE(dword) ACPI_GET_BITS (dword, 24, ACPI_8BIT_MASK) argument 134 #define ACPI_PLD_SET_BLUE(dword,value) ACPI_SET_BITS (dword, 24, ACPI_8BIT_MASK, value) /*… argument [all …]
|
/linux/arch/riscv/crypto/ |
H A D | sha512-riscv64-zvknhb-zvkb.S | 163 .dword 0x428a2f98d728ae22, 0x7137449123ef65cd 164 .dword 0xb5c0fbcfec4d3b2f, 0xe9b5dba58189dbbc 165 .dword 0x3956c25bf348b538, 0x59f111f1b605d019 166 .dword 0x923f82a4af194f9b, 0xab1c5ed5da6d8118 167 .dword 0xd807aa98a3030242, 0x12835b0145706fbe 168 .dword 0x243185be4ee4b28c, 0x550c7dc3d5ffb4e2 169 .dword 0x72be5d74f27b896f, 0x80deb1fe3b1696b1 170 .dword 0x9bdc06a725c71235, 0xc19bf174cf692694 171 .dword 0xe49b69c19ef14ad2, 0xefbe4786384f25e3 172 .dword 0x0fc19dc68b8cd5b5, 0x240ca1cc77ac9c65 [all …]
|
/linux/drivers/cdx/controller/ |
H A D | bitfield.h | 32 #define CDX_DWORD_VAL(dword) \ argument 33 ((unsigned int)le32_to_cpu((dword).cdx_u32)) 39 #define CDX_DWORD_FIELD(dword, field) \ argument 41 le32_to_cpu((dword).cdx_u32))) 70 #define CDX_POPULATE_DWORD(dword, ...) \ argument 71 (dword).cdx_u32 = cpu_to_le32(CDX_INSERT_FIELDS(__VA_ARGS__)) 75 #define CDX_POPULATE_DWORD_6(dword, ...) \ argument 76 CDX_POPULATE_DWORD_7(dword, CDX_DWORD, 0, __VA_ARGS__) 77 #define CDX_POPULATE_DWORD_5(dword, ...) \ argument 78 CDX_POPULATE_DWORD_6(dword, CDX_DWORD, 0, __VA_ARGS__) [all …]
|
/linux/drivers/acpi/acpica/ |
H A D | dbconvert.c | 272 u32 dword; in acpi_db_encode_pld_buffer() local 281 dword = 0; in acpi_db_encode_pld_buffer() 282 ACPI_PLD_SET_REVISION(&dword, pld_info->revision); in acpi_db_encode_pld_buffer() 283 ACPI_PLD_SET_IGNORE_COLOR(&dword, pld_info->ignore_color); in acpi_db_encode_pld_buffer() 284 ACPI_PLD_SET_RED(&dword, pld_info->red); in acpi_db_encode_pld_buffer() 285 ACPI_PLD_SET_GREEN(&dword, pld_info->green); in acpi_db_encode_pld_buffer() 286 ACPI_PLD_SET_BLUE(&dword, pld_info->blue); in acpi_db_encode_pld_buffer() 287 ACPI_MOVE_32_TO_32(&buffer[0], &dword); in acpi_db_encode_pld_buffer() 291 dword = 0; in acpi_db_encode_pld_buffer() 292 ACPI_PLD_SET_WIDTH(&dword, pld_info->width); in acpi_db_encode_pld_buffer() [all …]
|
H A D | utxface.c | 456 u32 dword; in ACPI_EXPORT_SYMBOL() local 472 ACPI_MOVE_32_TO_32(&dword, &buffer[0]); in ACPI_EXPORT_SYMBOL() 473 pld_info->revision = ACPI_PLD_GET_REVISION(&dword); in ACPI_EXPORT_SYMBOL() 474 pld_info->ignore_color = ACPI_PLD_GET_IGNORE_COLOR(&dword); in ACPI_EXPORT_SYMBOL() 475 pld_info->red = ACPI_PLD_GET_RED(&dword); in ACPI_EXPORT_SYMBOL() 476 pld_info->green = ACPI_PLD_GET_GREEN(&dword); in ACPI_EXPORT_SYMBOL() 477 pld_info->blue = ACPI_PLD_GET_BLUE(&dword); in ACPI_EXPORT_SYMBOL() 481 ACPI_MOVE_32_TO_32(&dword, &buffer[1]); in ACPI_EXPORT_SYMBOL() 482 pld_info->width = ACPI_PLD_GET_WIDTH(&dword); in ACPI_EXPORT_SYMBOL() 483 pld_info->height = ACPI_PLD_GET_HEIGHT(&dword); in ACPI_EXPORT_SYMBOL() [all …]
|
/linux/drivers/net/ethernet/sfc/ |
H A D | bitfield.h | 84 efx_dword_t dword[2]; member 92 efx_dword_t dword[4]; member 99 #define EFX_DWORD_VAL(dword) \ argument 100 ((unsigned int) le32_to_cpu((dword).u32[0])) 166 #define EFX_EXTRACT_DWORD(dword, low, high) \ argument 167 (EFX_EXTRACT32((dword).u32[0], 0, 31, low, high) & \ 186 #define EFX_DWORD_FIELD(dword, field) \ argument 187 EFX_EXTRACT_DWORD(dword, EFX_LOW_BIT(field), \ 203 #define EFX_DWORD_IS_ZERO(dword) \ argument 204 (((dword).u32[0]) == (__force __le32) 0) [all …]
|
/linux/drivers/net/ethernet/sfc/siena/ |
H A D | bitfield.h | 82 efx_dword_t dword[2]; member 90 efx_dword_t dword[4]; member 97 #define EFX_DWORD_VAL(dword) \ argument 98 ((unsigned int) le32_to_cpu((dword).u32[0])) 164 #define EFX_EXTRACT_DWORD(dword, low, high) \ argument 165 (EFX_EXTRACT32((dword).u32[0], 0, 31, low, high) & \ 184 #define EFX_DWORD_FIELD(dword, field) \ argument 185 EFX_EXTRACT_DWORD(dword, EFX_LOW_BIT(field), \ 201 #define EFX_DWORD_IS_ZERO(dword) \ argument 202 (((dword).u32[0]) == (__force __le32) 0) [all …]
|
/linux/drivers/net/ethernet/sfc/falcon/ |
H A D | bitfield.h | 82 ef4_dword_t dword[2]; member 90 ef4_dword_t dword[4]; member 97 #define EF4_DWORD_VAL(dword) \ argument 98 ((unsigned int) le32_to_cpu((dword).u32[0])) 164 #define EF4_EXTRACT_DWORD(dword, low, high) \ argument 165 (EF4_EXTRACT32((dword).u32[0], 0, 31, low, high) & \ 184 #define EF4_DWORD_FIELD(dword, field) \ argument 185 EF4_EXTRACT_DWORD(dword, EF4_LOW_BIT(field), \ 201 #define EF4_DWORD_IS_ZERO(dword) \ argument 202 (((dword).u32[0]) == (__force __le32) 0) [all …]
|
/linux/arch/s390/tools/ |
H A D | gen_facilities.c | 123 unsigned int high, bit, dword, i; in print_facility_list() local 132 dword = def->bits[i] / 64; in print_facility_list() 133 if (dword > high) { in print_facility_list() 134 array = realloc(array, (dword + 1) * 8); in print_facility_list() 137 memset(array + high + 1, 0, (dword - high) * 8); in print_facility_list() 138 high = dword; in print_facility_list() 140 array[dword] |= 1ULL << bit; in print_facility_list()
|
/linux/drivers/dma/qcom/ |
H A D | gpi.c | 220 u32 dword[4]; member 271 u32 dword[4]; member 955 gpi_ere->dword[0], gpi_ere->dword[1], in gpi_process_imed_data_event() 956 gpi_ere->dword[2], gpi_ere->dword[3]); in gpi_process_imed_data_event() 960 gpi_tre->dword[0], gpi_tre->dword[1], in gpi_process_imed_data_event() 961 gpi_tre->dword[2], gpi_tre->dword[3]); in gpi_process_imed_data_event() 1034 gpi_ere->dword[0], gpi_ere->dword[1], in gpi_process_xfer_compl_event() 1035 gpi_ere->dword[2], gpi_ere->dword[3]); in gpi_process_xfer_compl_event() 1104 chid, type, gpi_event->gpi_ere.dword[0], in gpi_process_events() 1105 gpi_event->gpi_ere.dword[1], gpi_event->gpi_ere.dword[2], in gpi_process_events() [all …]
|
/linux/drivers/pci/ |
H A D | syscall.c | 21 u32 dword; in SYSCALL_DEFINE5() local 42 cfg_ret = pci_user_read_config_dword(dev, off, &dword); in SYSCALL_DEFINE5() 61 err = put_user(dword, (u32 __user *)buf); in SYSCALL_DEFINE5() 92 u32 dword; in SYSCALL_DEFINE5() local 123 err = get_user(dword, (u32 __user *)buf); in SYSCALL_DEFINE5() 126 err = pci_user_write_config_dword(dev, off, dword); in SYSCALL_DEFINE5()
|
/linux/arch/arm64/kvm/ |
H A D | mmio.c | 20 u64 dword; in kvm_mmio_write_buf() member 37 tmp.dword = data; in kvm_mmio_write_buf() 38 datap = &tmp.dword; in kvm_mmio_write_buf() 51 u64 dword; in kvm_mmio_read_buf() member 67 memcpy(&tmp.dword, buf, len); in kvm_mmio_read_buf() 68 data = tmp.dword; in kvm_mmio_read_buf()
|
/linux/arch/mips/cavium-octeon/crypto/ |
H A D | octeon-sha1.c | 37 u64 dword; in octeon_sha1_store_hash() member 42 write_octeon_64bit_hash_dword(hash_tail.dword, 2); in octeon_sha1_store_hash() 51 u64 dword; in octeon_sha1_read_hash() member 56 hash_tail.dword = read_octeon_64bit_hash_dword(2); in octeon_sha1_read_hash() 58 memzero_explicit(&hash_tail.dword, sizeof(hash_tail.dword)); in octeon_sha1_read_hash()
|
/linux/drivers/media/pci/saa7134/ |
H A D | saa7134-i2c.c | 190 __u32 dword; in i2c_send_byte() local 193 dword = saa_readl(SAA7134_I2C_ATTR_STATUS >> 2); in i2c_send_byte() 194 dword &= 0x0f; in i2c_send_byte() 195 dword |= (attr << 6); in i2c_send_byte() 196 dword |= ((__u32)data << 8); in i2c_send_byte() 197 dword |= 0x00 << 16; /* 100 kHz */ in i2c_send_byte() 199 dword |= 0xf0 << 24; in i2c_send_byte() 200 saa_writel(SAA7134_I2C_ATTR_STATUS >> 2, dword); in i2c_send_byte()
|
/linux/drivers/scsi/aic94xx/ |
H A D | aic94xx_reg.c | 128 ASD_READ_SW(swa, u32, dword); 132 ASD_READ_SW(swb, u32, dword); 136 ASD_READ_SW(swc, u32, dword); 140 ASD_WRITE_SW(swa, u32, dword); 144 ASD_WRITE_SW(swb, u32, dword); 148 ASD_WRITE_SW(swc, u32, dword); 223 ASD_WRITE_REG(u32,dword); 275 ASD_READ_REG(u32,dword);
|
H A D | aic94xx_reg.h | 71 ASD_READ_OCM(u32,dword,l); 84 ASD_WRITE_OCM(u32,dword,l); 96 ASD_DDBSITE_READ(u32, dword); 122 ASD_DDBSITE_WRITE(u32, dword); 149 ASD_SCBSITE_READ(u32, dword); 175 ASD_SCBSITE_WRITE(u32, dword);
|
/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl2/ |
H A D | hw_atl2_llh_internal.h | 344 #define HW_ATL2_MIF_SHARED_BUFFER_IN_ADR(dword) (0x00012000U + (dword) * 0x4U) argument 346 #define HW_ATL2_MIF_SHARED_BUFFER_OUT_ADR(dword) (0x00013000U + (dword) * 0x4U) argument
|
/linux/drivers/net/wireless/realtek/rtlwifi/ |
H A D | pci.h | 109 u32 dword[4 * (1 << (BUFDESC_SEG_NUM + 1))]; member 113 u32 dword[16]; member 117 u32 dword[4]; member 121 u32 dword[8]; member 125 u32 dword[16]; member
|
/linux/drivers/media/common/saa7146/ |
H A D | saa7146_i2c.c | 176 static int saa7146_i2c_writeout(struct saa7146_dev *dev, __le32 *dword, int short_delay) in saa7146_i2c_writeout() argument 184 *dword, saa7146_read(dev, I2C_STATUS), dev->i2c_op); in saa7146_i2c_writeout() 189 saa7146_write(dev, I2C_TRANSFER, le32_to_cpu(*dword)); in saa7146_i2c_writeout() 212 saa7146_write(dev, I2C_TRANSFER, le32_to_cpu(*dword)); in saa7146_i2c_writeout() 285 *dword = cpu_to_le32(saa7146_read(dev, I2C_TRANSFER)); in saa7146_i2c_writeout() 287 DEB_I2C("after: 0x%08x\n", *dword); in saa7146_i2c_writeout()
|
/linux/drivers/gpu/drm/i915/selftests/ |
H A D | intel_memory_region.c | 676 u32 dword, in igt_gpu_write_dw() argument 679 return igt_gpu_fill_dw(ce, vma, dword * sizeof(u32), in igt_gpu_write_dw() 683 static int igt_cpu_check(struct drm_i915_gem_object *obj, u32 dword, u32 val) in igt_cpu_check() argument 697 ptr += dword; in igt_cpu_check() 701 dword, *ptr, val); in igt_cpu_check() 762 u32 dword = offset_in_page(rng) / 4; in igt_gpu_write() local 769 err = igt_gpu_write_dw(ce, vma, dword, rng); in igt_gpu_write() 774 err = igt_cpu_check(obj, dword, rng); in igt_gpu_write() 890 u32 dword, val; in igt_lmem_create_cleared_cpu() local 914 dword = i915_prandom_u32_max_state(PAGE_SIZE / sizeof(u32), in igt_lmem_create_cleared_cpu() [all …]
|
/linux/arch/mips/mm/ |
H A D | cerr-sb1.c | 288 static char range_parity(uint64_t dword, int max, int min) in range_parity() argument 292 dword >>= min; in range_parity() 294 if (dword & 0x1) in range_parity() 296 dword >>= 1; in range_parity() 423 static uint8_t dc_ecc(uint64_t dword) in dc_ecc() argument 434 t = dword & mask_72_64[i]; in dc_ecc()
|
/linux/arch/riscv/kernel/ |
H A D | head.S | 43 .dword 0 47 .dword 0x200000 50 .dword 0x400000 54 .dword _end - _start 55 .dword __HEAD_FLAGS 58 .dword 0
|
/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | core.c | 1057 u32 dword = FIELD_PREP(RTW89_TXWD_BODY0_WP_OFFSET, desc_info->wp_offset) | in rtw89_build_txwd_body0() local 1066 return cpu_to_le32(dword); in rtw89_build_txwd_body0() 1071 u32 dword = FIELD_PREP(RTW89_TXWD_BODY0_WP_OFFSET_V1, desc_info->wp_offset) | in rtw89_build_txwd_body0_v1() local 1078 return cpu_to_le32(dword); in rtw89_build_txwd_body0_v1() 1083 u32 dword = FIELD_PREP(RTW89_TXWD_BODY1_ADDR_INFO_NUM, desc_info->addr_info_nr) | in rtw89_build_txwd_body1_v1() local 1087 return cpu_to_le32(dword); in rtw89_build_txwd_body1_v1() 1092 u32 dword = FIELD_PREP(RTW89_TXWD_BODY2_TID_INDICATE, desc_info->tid_indicate) | in rtw89_build_txwd_body2() local 1097 return cpu_to_le32(dword); in rtw89_build_txwd_body2() 1102 u32 dword = FIELD_PREP(RTW89_TXWD_BODY3_SW_SEQ, desc_info->seq) | in rtw89_build_txwd_body3() local 1106 return cpu_to_le32(dword); in rtw89_build_txwd_body3() [all …]
|
/linux/drivers/mtd/spi-nor/ |
H A D | sfdp.h | 18 #define SFDP_MASK_CHECK(dword, mask) (((dword) & (mask)) == (mask)) argument
|
/linux/drivers/gpu/drm/i915/gem/selftests/ |
H A D | huge_pages.c | 1073 __cpu_check_shmem(struct drm_i915_gem_object *obj, u32 dword, u32 val) in __cpu_check_shmem() argument 1090 if (ptr[dword] != val) { in __cpu_check_shmem() 1092 n, dword, ptr[dword], val); in __cpu_check_shmem() 1108 static int __cpu_check_vmap(struct drm_i915_gem_object *obj, u32 dword, u32 val) in __cpu_check_vmap() argument 1122 ptr += dword; in __cpu_check_vmap() 1126 dword, *ptr, val); in __cpu_check_vmap() 1138 static int cpu_check(struct drm_i915_gem_object *obj, u32 dword, u32 val) in cpu_check() argument 1141 return __cpu_check_shmem(obj, dword, val); in cpu_check() 1143 return __cpu_check_vmap(obj, dword, val); in cpu_check() 1149 u32 dword, u32 val) in __igt_write_huge() argument [all …]
|