/drivers/scsi/ |
D | script_asm.pl | 191 $address = 0; # Address of current instruction 206 local ($address, $offset, $length, $value) = @_; 208 print STDERR "Patching $address at offset $offset, length $length to $value\n"; 209 printf STDERR "Old code : %08x\n", $code[$address]; 214 $code[$address] = ($code[$address] & ~$mask) | 215 (($code[$address] & $mask) + ($value << ($offset * 8)) & 218 printf STDERR "New code : %08x\n", $code[$address] if ($debug); 250 $tmp = ($address + $word) * 4 + $offset; 264 &patch ($address + $word, $offset, $length, $value); 277 $code[$address] |= 0x00_01_00_00; [all …]
|
/drivers/acpi/pmic/ |
D | intel_pmic_bxtwc.c | 29 .address = 0x0, 34 .address = 0x04, 39 .address = 0x08, 44 .address = 0x0c, 49 .address = 0x10, 54 .address = 0x14, 59 .address = 0x18, 64 .address = 0x1c, 69 .address = 0x20, 74 .address = 0x24, [all …]
|
D | intel_pmic_bytcrc.c | 26 .address = 0x04, 31 .address = 0x08, 36 .address = 0x0c, 41 .address = 0x10, 46 .address = 0x14, 51 .address = 0x18, 56 .address = 0x1c, 66 .address = 0x24, 76 .address = 0x2c, 81 .address = 0x30, [all …]
|
D | intel_pmic_chtwc.c | 75 .address = 0x0, 80 .address = 0x04, 85 .address = 0x08, 90 .address = 0x0c, 95 .address = 0x10, 100 .address = 0x14, 105 .address = 0x18, 110 .address = 0x1c, 115 .address = 0x20, 140 .address = 0x34, [all …]
|
D | tps68470_pmic.c | 19 u32 address; /* operation region address */ member 38 .address = 0x00, 44 .address = 0x04, 50 .address = 0x08, 56 .address = 0x0C, 62 .address = 0x10, 68 .address = 0x14, 78 .address = 0x00, 84 .address = 0x04, 90 .address = 0x08, [all …]
|
D | intel_pmic_chtdc_ti.c | 23 { .address = 0x00, .reg = 0x41 }, /* LDO1 */ 24 { .address = 0x04, .reg = 0x42 }, /* LDO2 */ 25 { .address = 0x08, .reg = 0x43 }, /* LDO3 */ 26 { .address = 0x0c, .reg = 0x45 }, /* LDO5 */ 27 { .address = 0x10, .reg = 0x46 }, /* LDO6 */ 28 { .address = 0x14, .reg = 0x47 }, /* LDO7 */ 29 { .address = 0x18, .reg = 0x48 }, /* LDO8 */ 30 { .address = 0x1c, .reg = 0x49 }, /* LDO9 */ 31 { .address = 0x20, .reg = 0x4a }, /* LD10 */ 32 { .address = 0x24, .reg = 0x4b }, /* LD11 */ [all …]
|
D | intel_pmic_xpower.c | 31 .address = 0x00, 36 .address = 0x04, 41 .address = 0x08, 46 .address = 0x0c, 51 .address = 0x10, 56 .address = 0x14, 61 .address = 0x18, 66 .address = 0x1c, 71 .address = 0x20, 76 .address = 0x24, [all …]
|
D | intel_pmic.c | 34 static int pmic_get_reg_bit(int address, struct pmic_table *table, in pmic_get_reg_bit() argument 40 if (table[i].address == address) { in pmic_get_reg_bit() 51 acpi_physical_address address, u32 bits, u64 *value64, in intel_pmic_power_handler() argument 65 result = pmic_get_reg_bit(address, d->power_table, in intel_pmic_power_handler() 153 static bool pmic_thermal_is_temp(int address) in pmic_thermal_is_temp() argument 155 return (address <= 0x3c) && !(address % 12); in pmic_thermal_is_temp() 158 static bool pmic_thermal_is_aux(int address) in pmic_thermal_is_aux() argument 160 return (address >= 4 && address <= 0x40 && !((address - 4) % 12)) || in pmic_thermal_is_aux() 161 (address >= 8 && address <= 0x44 && !((address - 8) % 12)); in pmic_thermal_is_aux() 164 static bool pmic_thermal_is_pen(int address) in pmic_thermal_is_pen() argument [all …]
|
/drivers/acpi/acpica/ |
D | rsaddr.c | 41 {ACPI_RSC_MOVE16, ACPI_RS_OFFSET(data.address16.address.granularity), 79 {ACPI_RSC_MOVE32, ACPI_RS_OFFSET(data.address32.address.granularity), 117 {ACPI_RSC_MOVE64, ACPI_RS_OFFSET(data.address64.address.granularity), 162 ACPI_RS_OFFSET(data.ext_address64.address.granularity), 174 {ACPI_RSC_FLAGINIT, 0, AML_OFFSET(address.flags), 179 {ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.address.resource_type), 180 AML_OFFSET(address.resource_type), 185 {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.address.producer_consumer), 186 AML_OFFSET(address.flags), 189 {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.address.decode), [all …]
|
D | hwvalid.c | 18 acpi_hw_validate_io_request(acpi_io_address address, u32 bit_width); 90 acpi_hw_validate_io_request(acpi_io_address address, u32 bit_width) in acpi_hw_validate_io_request() argument 109 last_address = address + byte_width - 1; in acpi_hw_validate_io_request() 113 ACPI_FORMAT_UINT64(address), in acpi_hw_validate_io_request() 121 ACPI_FORMAT_UINT64(address), byte_width)); in acpi_hw_validate_io_request() 127 if (address > acpi_protected_ports[ACPI_PORT_INFO_ENTRIES - 1].end) { in acpi_hw_validate_io_request() 143 if ((address <= port_info->end) in acpi_hw_validate_io_request() 152 ACPI_FORMAT_UINT64(address), in acpi_hw_validate_io_request() 187 acpi_status acpi_hw_read_port(acpi_io_address address, u32 *value, u32 width) in acpi_hw_read_port() argument 196 address &= ACPI_UINT16_MAX; in acpi_hw_read_port() [all …]
|
D | exregion.c | 36 acpi_physical_address address, in acpi_ex_system_memory_space_handler() argument 88 (void)acpi_ut_short_divide((u64) address, length, NULL, &remainder); in acpi_ex_system_memory_space_handler() 99 if (!mm || (address < mm->physical_address) || in acpi_ex_system_memory_space_handler() 100 ((u64) address + length > (u64) mm->physical_address + mm->length)) { in acpi_ex_system_memory_space_handler() 112 if (address < mm->physical_address) in acpi_ex_system_memory_space_handler() 115 if ((u64) address + length > in acpi_ex_system_memory_space_handler() 128 ACPI_FORMAT_UINT64(address), length)); in acpi_ex_system_memory_space_handler() 138 ((mem_info->address + mem_info->length) - address); in acpi_ex_system_memory_space_handler() 145 logical_addr_ptr = acpi_os_map_memory(address, map_length); in acpi_ex_system_memory_space_handler() 149 ACPI_FORMAT_UINT64(address), in acpi_ex_system_memory_space_handler() [all …]
|
D | tbinstal.c | 57 new_table_desc->address, in acpi_tb_install_table_with_override() 61 acpi_tb_print_table_header(new_table_desc->address, in acpi_tb_install_table_with_override() 99 acpi_tb_install_standard_table(acpi_physical_address address, in acpi_tb_install_standard_table() argument 113 acpi_tb_acquire_temp_table(&new_table_desc, address, flags, table); in acpi_tb_install_standard_table() 117 ACPI_FORMAT_UINT64(address))); in acpi_tb_install_standard_table() 130 ACPI_FORMAT_UINT64(address))); in acpi_tb_install_standard_table() 206 acpi_physical_address address; in acpi_tb_override_table() local 225 &address, &length); in acpi_tb_override_table() 226 if (ACPI_SUCCESS(status) && address && length) { in acpi_tb_override_table() 227 acpi_tb_acquire_temp_table(&new_table_desc, address, in acpi_tb_override_table() [all …]
|
D | hwregs.c | 19 acpi_hw_get_access_bit_width(u64 address, 50 acpi_hw_get_access_bit_width(u64 address, in acpi_hw_get_access_bit_width() argument 82 while (!ACPI_IS_ALIGNED(address, access_bit_width >> 3)) { in acpi_hw_get_access_bit_width() 123 u8 max_bit_width, u64 *address) in acpi_hw_validate_register() argument 139 ACPI_MOVE_64_TO_64(address, ®->address); in acpi_hw_validate_register() 140 if (!(*address)) { in acpi_hw_validate_register() 165 acpi_hw_get_access_bit_width(*address, reg, max_bit_width); in acpi_hw_validate_register() 197 u64 address; in acpi_hw_read() local 210 status = acpi_hw_validate_register(reg, 64, &address); in acpi_hw_read() 220 access_width = acpi_hw_get_access_bit_width(address, reg, 64); in acpi_hw_read() [all …]
|
D | rsdumpinfo.c | 87 {ACPI_RSD_UINT16, ACPI_RSD_OFFSET(fixed_io.address), "Address", NULL}, 140 {ACPI_RSD_UINT32, ACPI_RSD_OFFSET(fixed_memory32.address), "Address", 150 {ACPI_RSD_UINT16, ACPI_RSD_OFFSET(address16.address.granularity), 152 {ACPI_RSD_UINT16, ACPI_RSD_OFFSET(address16.address.minimum), 154 {ACPI_RSD_UINT16, ACPI_RSD_OFFSET(address16.address.maximum), 156 {ACPI_RSD_UINT16, ACPI_RSD_OFFSET(address16.address.translation_offset), 158 {ACPI_RSD_UINT16, ACPI_RSD_OFFSET(address16.address.address_length), 167 {ACPI_RSD_UINT32, ACPI_RSD_OFFSET(address32.address.granularity), 169 {ACPI_RSD_UINT32, ACPI_RSD_OFFSET(address32.address.minimum), 171 {ACPI_RSD_UINT32, ACPI_RSD_OFFSET(address32.address.maximum), [all …]
|
/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_hubp.c | 70 const struct dc_plane_address *address, in hubp3_program_surface_flip_and_addr() argument 82 VMID, address->vmid); in hubp3_program_surface_flip_and_addr() 84 if (address->type == PLN_ADDR_TYPE_GRPH_STEREO) { in hubp3_program_surface_flip_and_addr() 99 switch (address->type) { in hubp3_program_surface_flip_and_addr() 108 if (address->grph.addr.quad_part == 0) in hubp3_program_surface_flip_and_addr() 112 PRIMARY_SURFACE_TMZ, address->tmz_surface, in hubp3_program_surface_flip_and_addr() 113 PRIMARY_META_SURFACE_TMZ, address->tmz_surface); in hubp3_program_surface_flip_and_addr() 115 if (address->grph.meta_addr.quad_part != 0) { in hubp3_program_surface_flip_and_addr() 118 address->grph.meta_addr.high_part); in hubp3_program_surface_flip_and_addr() 122 address->grph.meta_addr.low_part); in hubp3_program_surface_flip_and_addr() [all …]
|
/drivers/platform/x86/ |
D | msi-ec.c | 50 .address = 0xef, 57 .address = 0x2e, 62 .address = 0xbf, 66 .address = 0x98, 70 .address = 0xf2, 79 .address = MSI_EC_ADDR_UNKNOWN, // 0xd5 needs testing 82 .address = 0xf4, 130 .address = 0xef, 137 .address = 0x2e, 142 .address = 0xbf, [all …]
|
/drivers/staging/media/atomisp/pci/runtime/isp_param/src/ |
D | isp_param.c | 28 char *address, size_t size) in ia_css_isp_param_set_mem_init() argument 30 mem_init->params[pclass][mem].address = address; in ia_css_isp_param_set_mem_init() 39 ia_css_ptr address, size_t size) in ia_css_isp_param_set_css_mem_init() argument 41 mem_init->params[pclass][mem].address = address; in ia_css_isp_param_set_css_mem_init() 50 u32 address, size_t size) in ia_css_isp_param_set_isp_mem_init() argument 52 mem_init->params[pclass][mem].address = address; in ia_css_isp_param_set_isp_mem_init() 95 if (!mem_params->params[pclass][mem].address) in ia_css_init_memory_interface() 99 isp_mem_if->params[pclass][mem].address = in ia_css_init_memory_interface() 100 css_params->params[pclass][mem].address; in ia_css_init_memory_interface() 122 mem_params->params[pclass][mem].address = NULL; in ia_css_isp_param_allocate_isp_parameters() [all …]
|
/drivers/net/ethernet/netronome/nfp/nfpcore/ |
D | nfp_mutex.c | 18 unsigned long long address; member 51 nfp_cpp_mutex_validate(u16 interface, int *target, unsigned long long address) in nfp_cpp_mutex_validate() argument 59 if (address & 7) in nfp_cpp_mutex_validate() 87 int target, unsigned long long address, u32 key) in nfp_cpp_mutex_init() argument 93 err = nfp_cpp_mutex_validate(interface, &target, address); in nfp_cpp_mutex_init() 97 err = nfp_cpp_writel(cpp, muw, address + 4, key); in nfp_cpp_mutex_init() 101 err = nfp_cpp_writel(cpp, muw, address, nfp_mutex_locked(interface)); in nfp_cpp_mutex_init() 124 unsigned long long address, u32 key) in nfp_cpp_mutex_alloc() argument 132 err = nfp_cpp_mutex_validate(interface, &target, address); in nfp_cpp_mutex_alloc() 136 err = nfp_cpp_readl(cpp, mur, address + 4, &tmp); in nfp_cpp_mutex_alloc() [all …]
|
/drivers/scsi/aic7xxx/ |
D | aic79xx.reg | 95 * Controls which of the 5, 512byte, address spaces should be used 100 address 0x000 115 address 0x001 132 address 0x002 212 address 0x003 230 address 0x004 246 address 0x004 262 address 0x005 280 address 0x006 291 address 0x008 [all …]
|
D | aic7xxx.reg | 69 address 0x000 86 address 0x001 102 address 0x002 119 address 0x003 150 address 0x003 181 address 0x004 197 address 0x005 220 address 0x006 226 address 0x007 238 address 0x008 [all …]
|
/drivers/video/backlight/ |
D | vgg2432a4.c | 28 .address = ILI9320_POWER1, 31 .address = ILI9320_POWER2, 35 .address = ILI9320_POWER3, 38 .address = ILI9320_POWER4, 45 .address = ILI9320_POWER1, 49 .address = ILI9320_POWER2, 56 .address = ILI9320_GAMMA1, 59 .address = ILI9320_GAMMA2, 62 .address = ILI9320_GAMMA3, 65 .address = ILI9320_GAMMA4, [all …]
|
/drivers/misc/ |
D | gehc-achc.c | 194 static int ezport_section_erase(struct spi_device *spi, u32 address) in ezport_section_erase() argument 196 u8 query[] = {EZPORT_CMD_SE, (address >> 16) & 0xff, (address >> 8) & 0xff, address & 0xff}; in ezport_section_erase() 199 dev_dbg(&spi->dev, "Ezport section erase @ 0x%06x...\n", address); in ezport_section_erase() 201 if (address & EZPORT_SECTOR_MASK) in ezport_section_erase() 215 static int ezport_flash_transfer(struct spi_device *spi, u32 address, in ezport_flash_transfer() argument 222 dev_dbg(&spi->dev, "EzPort write %zu bytes @ 0x%06x...\n", payload_size, address); in ezport_flash_transfer() 233 command[1] = address >> 16; in ezport_flash_transfer() 234 command[2] = address >> 8; in ezport_flash_transfer() 235 command[3] = address >> 0; in ezport_flash_transfer() 251 static int ezport_flash_compare(struct spi_device *spi, u32 address, in ezport_flash_compare() argument [all …]
|
/drivers/gpu/drm/amd/display/dc/link/protocols/ |
D | link_dpcd.c | 46 uint32_t address, in internal_link_read_dpcd() argument 52 link, address, data, size)) { in internal_link_read_dpcd() 61 uint32_t address, in internal_link_write_dpcd() argument 67 link, address, data, size)) { in internal_link_write_dpcd() 111 static uint32_t dpcd_get_next_partition_size(const uint32_t address, const uint32_t size) in dpcd_get_next_partition_size() argument 113 const uint32_t end_address = END_ADDRESS(address, size); in dpcd_get_next_partition_size() 121 address, end_address)) in dpcd_get_next_partition_size() 125 return ADDRESS_RANGE_SIZE(address, mandatory_dpcd_partitions[partition_iterator].end); in dpcd_get_next_partition_size() 198 uint32_t address, in core_link_read_dpcd() argument 213 dpcd_extend_address_range(address, data, size, &extended_address, &extended_data, &extended_size); in core_link_read_dpcd() [all …]
|
/drivers/net/wireless/ath/ath10k/ |
D | bmi.c | 154 u32 address, void *buffer, u32 length) in ath10k_bmi_read_memory() argument 163 address, length); in ath10k_bmi_read_memory() 174 cmd.read_mem.addr = __cpu_to_le32(address); in ath10k_bmi_read_memory() 186 address += rxlen; in ath10k_bmi_read_memory() 195 int ath10k_bmi_write_soc_reg(struct ath10k *ar, u32 address, u32 reg_val) in ath10k_bmi_write_soc_reg() argument 203 address, reg_val); in ath10k_bmi_write_soc_reg() 211 cmd.write_soc_reg.addr = __cpu_to_le32(address); in ath10k_bmi_write_soc_reg() 224 int ath10k_bmi_read_soc_reg(struct ath10k *ar, u32 address, u32 *reg_val) in ath10k_bmi_read_soc_reg() argument 233 address); in ath10k_bmi_read_soc_reg() 241 cmd.read_soc_reg.addr = __cpu_to_le32(address); in ath10k_bmi_read_soc_reg() [all …]
|
/drivers/net/wireless/microchip/wilc1000/ |
D | sdio.c | 38 u32 address: 17; member 47 u32 address: 17; member 74 sdio_writeb(func, cmd->data, cmd->address, &ret); in wilc_sdio_cmd52() 75 data = sdio_readb(func, cmd->address, &ret); in wilc_sdio_cmd52() 78 sdio_writeb(func, cmd->data, cmd->address, &ret); in wilc_sdio_cmd52() 81 data = sdio_readb(func, cmd->address, &ret); in wilc_sdio_cmd52() 119 ret = sdio_memcpy_toio(func, cmd->address, buf, size); in wilc_sdio_cmd53() 121 ret = sdio_memcpy_fromio(func, buf, cmd->address, size); in wilc_sdio_cmd53() 210 cmd.address = SDIO_CCCR_ABORT; in wilc_sdio_reset() 300 cmd.address = WILC_SDIO_FBR_CSA_REG; in wilc_sdio_set_func0_csa_address() [all …]
|