Home
last modified time | relevance | path

Searched refs:dword (Results 1 – 25 of 87) sorted by relevance

1234

/kernel/linux/linux-5.10/include/acpi/
Dacbuffer.h121 #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 …]
/kernel/linux/linux-5.10/drivers/acpi/acpica/
Ddbconvert.c270 u32 dword; in acpi_db_encode_pld_buffer() local
279 dword = 0; in acpi_db_encode_pld_buffer()
280 ACPI_PLD_SET_REVISION(&dword, pld_info->revision); in acpi_db_encode_pld_buffer()
281 ACPI_PLD_SET_IGNORE_COLOR(&dword, pld_info->ignore_color); in acpi_db_encode_pld_buffer()
282 ACPI_PLD_SET_RED(&dword, pld_info->red); in acpi_db_encode_pld_buffer()
283 ACPI_PLD_SET_GREEN(&dword, pld_info->green); in acpi_db_encode_pld_buffer()
284 ACPI_PLD_SET_BLUE(&dword, pld_info->blue); in acpi_db_encode_pld_buffer()
285 ACPI_MOVE_32_TO_32(&buffer[0], &dword); in acpi_db_encode_pld_buffer()
289 dword = 0; in acpi_db_encode_pld_buffer()
290 ACPI_PLD_SET_WIDTH(&dword, pld_info->width); in acpi_db_encode_pld_buffer()
[all …]
Dutxface.c456 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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
Dbitfield.h82 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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/falcon/
Dbitfield.h82 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 …]
/kernel/linux/linux-5.10/arch/s390/tools/
Dgen_facilities.c125 unsigned int high, bit, dword, i; in print_facility_list() local
134 dword = def->bits[i] / 64; in print_facility_list()
135 if (dword > high) { in print_facility_list()
136 array = realloc(array, (dword + 1) * 8); in print_facility_list()
139 memset(array + high + 1, 0, (dword - high) * 8); in print_facility_list()
140 high = dword; in print_facility_list()
142 array[dword] |= 1ULL << bit; in print_facility_list()
/kernel/linux/linux-5.10/drivers/pci/
Dsyscall.c21 u32 dword; in SYSCALL_DEFINE5() local
43 cfg_ret = pci_user_read_config_dword(dev, off, &dword); in SYSCALL_DEFINE5()
62 err = put_user(dword, (unsigned int __user *)buf); in SYSCALL_DEFINE5()
93 u32 dword; in SYSCALL_DEFINE5() local
124 err = get_user(dword, (u32 __user *)buf); in SYSCALL_DEFINE5()
127 err = pci_user_write_config_dword(dev, off, dword); in SYSCALL_DEFINE5()
/kernel/linux/linux-5.10/arch/arm64/kvm/
Dmmio.c20 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()
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/crypto/
Docteon-sha1.c36 u64 dword; in octeon_sha1_store_hash() member
41 write_octeon_64bit_hash_dword(hash_tail.dword, 2); in octeon_sha1_store_hash()
50 u64 dword; in octeon_sha1_read_hash() member
55 hash_tail.dword = read_octeon_64bit_hash_dword(2); in octeon_sha1_read_hash()
57 memzero_explicit(&hash_tail.dword, sizeof(hash_tail.dword)); in octeon_sha1_read_hash()
/kernel/linux/linux-5.10/drivers/media/pci/saa7134/
Dsaa7134-i2c.c190 __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()
/kernel/linux/linux-5.10/drivers/bus/mhi/core/
Dinternal.h262 u32 dword[2]; member
300 #define MHI_TRE_GET_CMD_CHID(tre) (((tre)->dword[1] >> 24) & 0xFF)
301 #define MHI_TRE_GET_CMD_TYPE(tre) (((tre)->dword[1] >> 16) & 0xFF)
308 #define MHI_TRE_GET_EV_CODE(tre) (((tre)->dword[0] >> 24) & 0xFF)
309 #define MHI_TRE_GET_EV_LEN(tre) ((tre)->dword[0] & 0xFFFF)
310 #define MHI_TRE_GET_EV_CHID(tre) (((tre)->dword[1] >> 24) & 0xFF)
311 #define MHI_TRE_GET_EV_TYPE(tre) (((tre)->dword[1] >> 16) & 0xFF)
312 #define MHI_TRE_GET_EV_STATE(tre) (((tre)->dword[0] >> 24) & 0xFF)
313 #define MHI_TRE_GET_EV_EXECENV(tre) (((tre)->dword[0] >> 24) & 0xFF)
314 #define MHI_TRE_GET_EV_SEQ(tre) ((tre)->dword[0])
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
Dhw_atl2_llh_internal.h344 #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
/kernel/linux/linux-5.10/drivers/scsi/aic94xx/
Daic94xx_reg.c128 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);
Daic94xx_reg.h71 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);
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/
Dintel_memory_region.c342 u32 dword, in igt_gpu_write_dw() argument
345 return igt_gpu_fill_dw(ce, vma, dword * sizeof(u32), in igt_gpu_write_dw()
349 static int igt_cpu_check(struct drm_i915_gem_object *obj, u32 dword, u32 val) in igt_cpu_check() argument
363 ptr += dword; in igt_cpu_check()
367 dword, *ptr, val); in igt_cpu_check()
428 u32 dword = offset_in_page(rng) / 4; in igt_gpu_write() local
435 err = igt_gpu_write_dw(ce, vma, dword, rng); in igt_gpu_write()
439 err = igt_cpu_check(obj, dword, rng); in igt_gpu_write()
609 u32 dword; in igt_lmem_write_cpu() local
632 dword = igt_random_offset(&prng, offset, in igt_lmem_write_cpu()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/
Dpci.h126 u32 dword[4 * (1 << (BUFDESC_SEG_NUM + 1))]; member
130 u32 dword[16]; member
134 u32 dword[4]; member
138 u32 dword[8]; member
142 u32 dword[16]; member
/kernel/linux/linux-5.10/drivers/media/common/saa7146/
Dsaa7146_i2c.c176 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()
/kernel/linux/linux-5.10/arch/riscv/kernel/
Dhead.S40 .dword 0
44 .dword 0x200000
47 .dword 0x400000
51 .dword _end - _start
52 .dword __HEAD_FLAGS
55 .dword 0
/kernel/linux/linux-5.10/arch/mips/mm/
Dcerr-sb1.c288 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()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/usb/
Dci-hdrc-usb2.txt49 - tx-burst-size-dword: it is vendor dependent, the tx burst size in dword
55 - rx-burst-size-dword: it is vendor dependent, the rx burst size in dword
126 tx-burst-size-dword = <0x10>; /* 64 bytes */
127 rx-burst-size-dword = <0x10>;
146 tx-burst-size-dword = <0x10>;
147 rx-burst-size-dword = <0x10>;
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/selftests/
Dhuge_pages.c961 __cpu_check_shmem(struct drm_i915_gem_object *obj, u32 dword, u32 val) in __cpu_check_shmem() argument
978 if (ptr[dword] != val) { in __cpu_check_shmem()
980 n, dword, ptr[dword], val); in __cpu_check_shmem()
996 static int __cpu_check_vmap(struct drm_i915_gem_object *obj, u32 dword, u32 val) in __cpu_check_vmap() argument
1010 ptr += dword; in __cpu_check_vmap()
1014 dword, *ptr, val); in __cpu_check_vmap()
1026 static int cpu_check(struct drm_i915_gem_object *obj, u32 dword, u32 val) in cpu_check() argument
1029 return __cpu_check_shmem(obj, dword, val); in cpu_check()
1031 return __cpu_check_vmap(obj, dword, val); in cpu_check()
1037 u32 dword, u32 val) in __igt_write_huge() argument
[all …]
/kernel/linux/linux-5.10/drivers/usb/host/
Dimx21-dbg.c277 u32 dword; in debug_etd_show() local
312 dword = etd_readl(imx21, i, j); in debug_etd_show()
315 format_etd_dword0(dword, buf, sizeof(buf)); in debug_etd_show()
319 "cc=0X%02X", dword >> DW2_COMPCODE); in debug_etd_show()
329 dword, in debug_etd_show()
/kernel/linux/linux-5.10/drivers/vfio/pci/
Dvfio_pci_config.c1269 u32 dword; in vfio_cap_len() local
1286 &dword); in vfio_cap_len()
1287 vdev->extended_caps = (dword != 0); in vfio_cap_len()
1302 pci_read_config_dword(pdev, PCI_CFG_SPACE_SIZE, &dword); in vfio_cap_len()
1303 vdev->extended_caps = (dword != 0); in vfio_cap_len()
1345 u32 dword; in vfio_ext_cap_len() local
1350 ret = pci_read_config_dword(pdev, epos + PCI_VSEC_HDR, &dword); in vfio_ext_cap_len()
1354 return dword >> PCI_VSEC_HDR_LEN_SHIFT; in vfio_ext_cap_len()
1395 ret = pci_read_config_dword(pdev, epos + PCI_TPH_CAP, &dword); in vfio_ext_cap_len()
1399 if ((dword & PCI_TPH_CAP_LOC_MASK) == PCI_TPH_LOC_CAP) { in vfio_ext_cap_len()
[all …]
/kernel/linux/linux-5.10/arch/sh/drivers/pci/
Dcommon.c44 EARLY_PCI_OP(read, dword, u32 *) in EARLY_PCI_OP()
47 EARLY_PCI_OP(write, dword, u32) in EARLY_PCI_OP()
/kernel/linux/linux-5.10/drivers/net/vmxnet3/
Dvmxnet3_drv.c632 gd->dword[2] = cpu_to_le32((!ring->gen << VMXNET3_RXD_GEN_SHIFT) in vmxnet3_rq_alloc_rx_buf()
640 gd->dword[2] |= cpu_to_le32(ring->gen << VMXNET3_RXD_GEN_SHIFT); in vmxnet3_rq_alloc_rx_buf()
697 ctx->sop_txd->dword[2] = cpu_to_le32(dw2 | ctx->copy_size); in vmxnet3_map_pkt()
698 ctx->sop_txd->dword[3] = 0; in vmxnet3_map_pkt()
707 ctx->sop_txd->dword[2], ctx->sop_txd->dword[3]); in vmxnet3_map_pkt()
742 gdesc->dword[2] = cpu_to_le32(dw2); in vmxnet3_map_pkt()
743 gdesc->dword[3] = 0; in vmxnet3_map_pkt()
748 le32_to_cpu(gdesc->dword[2]), gdesc->dword[3]); in vmxnet3_map_pkt()
784 gdesc->dword[2] = cpu_to_le32(dw2); in vmxnet3_map_pkt()
785 gdesc->dword[3] = 0; in vmxnet3_map_pkt()
[all …]

1234