Home
last modified time | relevance | path

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

1234567

/OK3568_Linux_fs/kernel/include/acpi/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/acpi/acpica/
H A 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 …]
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/falcon/
H A 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 …]
/OK3568_Linux_fs/u-boot/drivers/net/
H A Dsmc91111.h47 typedef unsigned long int dword; typedef
72 #define SMC_inl(a,r) (*((volatile dword *)((a)->iobase+((r)<<1))))
81 #define SMC_inl(a,r) (*((volatile dword *)((a)->iobase+(r))))
92 #define SMC_outl(a,d,r) (*((volatile dword *)((a)->iobase+(r<<1))) = d)
95 #define SMC_outl(a,d,r) (*((volatile dword *)((a)->iobase+(r))) = d)
107 dword *__b2; \
108 __b2 = (dword *) b; \
123 dword *__b2; \
124 __b2 = (dword *) b; \
154 ({ dword _x = (_x_); \
[all …]
H A Dlan91c96.h41 typedef unsigned long int dword; typedef
65 #define SMC_inl(edev, r) (*((volatile dword *)SMCREG(edev, r)))
74 #define SMC_outl(edev, d, r) (*((volatile dword *)SMCREG(edev, r)) = d)
84 dword *__b2; \
85 __b2 = (dword *) b; \
102 dword *__b2; \
103 __b2 = (dword *) b; \
H A Dsmc91111.c169 static inline word SMC_inw(struct eth_device *dev, dword offset) in SMC_inw()
177 static inline void SMC_outw(struct eth_device *dev, word value, dword offset) in SMC_outw()
183 static inline byte SMC_inb(struct eth_device *dev, dword offset) in SMC_inb()
187 _w = SMC_inw(dev, offset & ~((dword)1)); in SMC_inb()
191 static inline void SMC_outb(struct eth_device *dev, byte value, dword offset) in SMC_outb()
195 _w = SMC_inw(dev, offset & ~((dword)1)); in SMC_outb()
197 *((volatile word*)(dev->iobase + (offset & ~((dword)1)))) = in SMC_outb()
204 static inline void SMC_insw(struct eth_device *dev, dword offset, in SMC_insw()
205 volatile uchar* buf, dword len) in SMC_insw()
216 static inline void SMC_outsw(struct eth_device *dev, dword offset, in SMC_outsw()
[all …]
/OK3568_Linux_fs/kernel/arch/s390/tools/
H A 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()
/OK3568_Linux_fs/buildroot/package/libsidplay2/
H A D0001-sidplay2-libs-2.1.1.patch174 @@ -334,7 +338,7 @@ inline void endian_32swap16 (uint_least32_t &dword)
176 inline void endian_32swap8 (uint_least32_t &dword)
180 lo = endian_32lo16 (dword);
181 hi = endian_32hi16 (dword);
183 @@ -346,8 +350,8 @@ inline void endian_32swap8 (uint_least32_t &dword)
187 - uint_least32_t dword;
189 + uint_least32_t dword = 0;
191 endian_32lo8 (dword, lo);
192 endian_32hi8 (dword, hi);
194 @@ -374,7 +378,7 @@ inline void endian_little32 (uint8_t ptr[4], uint_least32_t dword)
[all …]
/OK3568_Linux_fs/kernel/drivers/pci/
H A 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()
/OK3568_Linux_fs/u-boot/arch/x86/include/asm/
H A Dme_common.h359 u32 dword; in pci_read_dword_ptr() local
361 dm_pci_read_config32(me_dev, offset, &dword); in pci_read_dword_ptr()
362 memcpy(ptr, &dword, sizeof(dword)); in pci_read_dword_ptr()
368 u32 dword = 0; in pci_write_dword_ptr() local
370 memcpy(&dword, ptr, sizeof(dword)); in pci_write_dword_ptr()
371 dm_pci_write_config32(me_dev, offset, dword); in pci_write_dword_ptr()
/OK3568_Linux_fs/u-boot/arch/x86/cpu/broadwell/
H A Dme.c15 u32 dword; in me_read_dword_ptr() local
17 dm_pci_read_config32(dev, offset, &dword); in me_read_dword_ptr()
18 memcpy(ptr, &dword, sizeof(dword)); in me_read_dword_ptr()
/OK3568_Linux_fs/kernel/arch/arm64/kvm/
H A 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()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/hwcnt/
H A Dmali_kbase_hwcnt_gpu.h330 const u64 dword = dwords[dword_idx]; in kbase_hwcnt_backend_gpu_block_map_to_physical() local
337 const u16 mask = ((dword >> (dword_bit + 0)) & 0x1) | in kbase_hwcnt_backend_gpu_block_map_to_physical()
338 ((dword >> (dword_bit + 1)) & 0x1) | in kbase_hwcnt_backend_gpu_block_map_to_physical()
339 ((dword >> (dword_bit + 2)) & 0x1) | in kbase_hwcnt_backend_gpu_block_map_to_physical()
340 ((dword >> (dword_bit + 3)) & 0x1); in kbase_hwcnt_backend_gpu_block_map_to_physical()
/OK3568_Linux_fs/kernel/arch/mips/cavium-octeon/crypto/
H A 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()
/OK3568_Linux_fs/kernel/drivers/bus/mhi/core/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/media/pci/saa7134/
H A 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()
/OK3568_Linux_fs/kernel/drivers/scsi/aic94xx/
H A 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);
H A 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);
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/selftests/
H A 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 …]
/OK3568_Linux_fs/u-boot/arch/x86/lib/
H A Dbios_interrupts.c113 u32 dword; in int1a_handler() local
186 dm_pci_read_config32(dev, reg, &dword); in int1a_handler()
187 M.x86.R_ECX = dword; in int1a_handler()
198 dword = M.x86.R_ECX; in int1a_handler()
199 dm_pci_write_config32(dev, reg, dword); in int1a_handler()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/mac/mac_ax/
H A D_sdio.c53 __le32 dword; in _pltfm_sdio_cmd53_r8() member
66 val32.dword = PLTFM_SDIO_CMD53_R32(dw_adr); in _pltfm_sdio_cmd53_r8()
68 if (le32_to_cpu(val32.dword) != MAC_AX_R32_DEAD) in _pltfm_sdio_cmd53_r8()
85 __le32 dword; in _pltfm_sdio_cmd53_r16() member
98 val32.dword = PLTFM_SDIO_CMD53_R32(dw_adr); in _pltfm_sdio_cmd53_r16()
100 if (le32_to_cpu(val32.dword) != MAC_AX_R32_DEAD) in _pltfm_sdio_cmd53_r16()
114 __le32 dword = 0x00000000; in _pltfm_sdio_cmd53_r32() local
125 dword = PLTFM_SDIO_CMD53_R32(adr); in _pltfm_sdio_cmd53_r32()
127 if (le32_to_cpu(dword) != MAC_AX_R32_DEAD) in _pltfm_sdio_cmd53_r32()
135 return dword; in _pltfm_sdio_cmd53_r32()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
H A 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
/OK3568_Linux_fs/kernel/drivers/net/wireless/realtek/rtlwifi/
H A 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

1234567