/kernel/linux/linux-5.10/include/acpi/ |
H A D | acbuffer.h | 119 /* First 32-bit dword, bits 0:32 */ 121 #define ACPI_PLD_GET_REVISION(dword) ACPI_GET_BITS (dword, 0, ACPI_7BIT_MASK) 122 #define ACPI_PLD_SET_REVISION(dword,value) ACPI_SET_BITS (dword, 0, ACPI_7BIT_MASK, value) /* Offset 0, Len 7 */ 124 #define ACPI_PLD_GET_IGNORE_COLOR(dword) ACPI_GET_BITS (dword, 7, ACPI_1BIT_MASK) 125 #define ACPI_PLD_SET_IGNORE_COLOR(dword,value) ACPI_SET_BITS (dword, 7, ACPI_1BIT_MASK, value) /* Offset 7, Len 1 */ 127 #define ACPI_PLD_GET_RED(dword) ACPI_GET_BIT [all...] |
/kernel/linux/linux-6.6/include/acpi/ |
H A D | acbuffer.h | 119 /* First 32-bit dword, bits 0:32 */ 121 #define ACPI_PLD_GET_REVISION(dword) ACPI_GET_BITS (dword, 0, ACPI_7BIT_MASK) 122 #define ACPI_PLD_SET_REVISION(dword,value) ACPI_SET_BITS (dword, 0, ACPI_7BIT_MASK, value) /* Offset 0, Len 7 */ 124 #define ACPI_PLD_GET_IGNORE_COLOR(dword) ACPI_GET_BITS (dword, 7, ACPI_1BIT_MASK) 125 #define ACPI_PLD_SET_IGNORE_COLOR(dword,value) ACPI_SET_BITS (dword, 7, ACPI_1BIT_MASK, value) /* Offset 7, Len 1 */ 127 #define ACPI_PLD_GET_RED(dword) ACPI_GET_BIT [all...] |
/kernel/linux/linux-6.6/drivers/cdx/controller/ |
H A D | bitfield.h | 32 #define CDX_DWORD_VAL(dword) \ 33 ((unsigned int)le32_to_cpu((dword).cdx_u32)) 39 #define CDX_DWORD_FIELD(dword, field) \ 41 le32_to_cpu((dword).cdx_u32))) 70 #define CDX_POPULATE_DWORD(dword, ...) \ 71 (dword).cdx_u32 = cpu_to_le32(CDX_INSERT_FIELDS(__VA_ARGS__)) 73 /* Populate a dword field with various numbers of arguments */ 75 #define CDX_POPULATE_DWORD_6(dword, ...) \ 76 CDX_POPULATE_DWORD_7(dword, CDX_DWORD, 0, __VA_ARGS__) 77 #define CDX_POPULATE_DWORD_5(dword, [all...] |
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
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...] |
H A D | dbconvert.c | 270 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_inf in acpi_db_encode_pld_buffer() [all...] |
/kernel/linux/linux-6.6/drivers/acpi/acpica/ |
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...] |
H A D | dbconvert.c | 270 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_inf in acpi_db_encode_pld_buffer() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
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) \ 98 ((unsigned int) le32_to_cpu((dword).u32[0])) 164 #define EFX_EXTRACT_DWORD(dword, low, high) \ 165 (EFX_EXTRACT32((dword).u32[0], 0, 31, low, high) & \ 184 #define EFX_DWORD_FIELD(dword, field) \ 185 EFX_EXTRACT_DWORD(dword, EFX_LOW_BIT(field), \ 201 #define EFX_DWORD_IS_ZERO(dword) \ 202 (((dword) [all...] |
/kernel/linux/linux-6.6/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) \ 100 ((unsigned int) le32_to_cpu((dword).u32[0])) 166 #define EFX_EXTRACT_DWORD(dword, low, high) \ 167 (EFX_EXTRACT32((dword).u32[0], 0, 31, low, high) & \ 186 #define EFX_DWORD_FIELD(dword, field) \ 187 EFX_EXTRACT_DWORD(dword, EFX_LOW_BIT(field), \ 203 #define EFX_DWORD_IS_ZERO(dword) \ 204 (((dword) [all...] |
/kernel/linux/linux-6.6/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) \ 98 ((unsigned int) le32_to_cpu((dword).u32[0])) 164 #define EFX_EXTRACT_DWORD(dword, low, high) \ 165 (EFX_EXTRACT32((dword).u32[0], 0, 31, low, high) & \ 184 #define EFX_DWORD_FIELD(dword, field) \ 185 EFX_EXTRACT_DWORD(dword, EFX_LOW_BIT(field), \ 201 #define EFX_DWORD_IS_ZERO(dword) \ 202 (((dword) [all...] |
/kernel/linux/linux-5.10/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) \ 98 ((unsigned int) le32_to_cpu((dword).u32[0])) 164 #define EF4_EXTRACT_DWORD(dword, low, high) \ 165 (EF4_EXTRACT32((dword).u32[0], 0, 31, low, high) & \ 184 #define EF4_DWORD_FIELD(dword, field) \ 185 EF4_EXTRACT_DWORD(dword, EF4_LOW_BIT(field), \ 201 #define EF4_DWORD_IS_ZERO(dword) \ 202 (((dword) [all...] |
/kernel/linux/linux-6.6/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) \ 98 ((unsigned int) le32_to_cpu((dword).u32[0])) 164 #define EF4_EXTRACT_DWORD(dword, low, high) \ 165 (EF4_EXTRACT32((dword).u32[0], 0, 31, low, high) & \ 184 #define EF4_DWORD_FIELD(dword, field) \ 185 EF4_EXTRACT_DWORD(dword, EF4_LOW_BIT(field), \ 201 #define EF4_DWORD_IS_ZERO(dword) \ 202 (((dword) [all...] |
/kernel/linux/linux-5.10/arch/s390/tools/ |
H A D | gen_facilities.c | 125 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-6.6/arch/s390/tools/ |
H A D | gen_facilities.c | 122 unsigned int high, bit, dword, i; in print_facility_list() local 131 dword = def->bits[i] / 64; in print_facility_list() 132 if (dword > high) { in print_facility_list() 133 array = realloc(array, (dword + 1) * 8); in print_facility_list() 136 memset(array + high + 1, 0, (dword - high) * 8); in print_facility_list() 137 high = dword; in print_facility_list() 139 array[dword] |= 1ULL << bit; in print_facility_list()
|
/kernel/linux/linux-6.6/drivers/dma/qcom/ |
H A D | gpi.c | 220 u32 dword[4]; member 271 u32 dword[4]; member 961 gpi_ere->dword[0], gpi_ere->dword[1], in gpi_process_imed_data_event() 962 gpi_ere->dword[2], gpi_ere->dword[3]); in gpi_process_imed_data_event() 966 gpi_tre->dword[0], gpi_tre->dword[1], in gpi_process_imed_data_event() 967 gpi_tre->dword[2], gpi_tre->dword[ in gpi_process_imed_data_event() [all...] |
/kernel/linux/linux-5.10/drivers/pci/ |
H A D | syscall.c | 21 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-6.6/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/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() 198 // dword |= 0x40 << 16; /* 400 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/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);
|
/kernel/linux/linux-6.6/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);
|
/kernel/linux/linux-6.6/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() 198 // dword |= 0x40 << 16; /* 400 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/arch/mips/cavium-octeon/crypto/ |
H A D | octeon-sha1.c | 36 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()
|