Home
last modified time | relevance | path

Searched refs:address (Results 1 – 25 of 1211) sorted by relevance

12345678910>>...49

/drivers/scsi/
Dscript_asm.pl191 $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/
Dintel_pmic_bxtwc.c29 .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 …]
Dintel_pmic_bytcrc.c26 .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 …]
Dintel_pmic_chtwc.c75 .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 …]
Dtps68470_pmic.c19 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 …]
Dintel_pmic_xpower.c31 .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 …]
Dintel_pmic_chtdc_ti.c23 { .address = 0x00, .reg = 0x41 },
24 { .address = 0x04, .reg = 0x42 },
25 { .address = 0x08, .reg = 0x43 },
26 { .address = 0x0c, .reg = 0x45 },
27 { .address = 0x10, .reg = 0x46 },
28 { .address = 0x14, .reg = 0x47 },
29 { .address = 0x18, .reg = 0x48 },
30 { .address = 0x1c, .reg = 0x49 },
31 { .address = 0x20, .reg = 0x4a },
32 { .address = 0x24, .reg = 0x4b },
[all …]
Dintel_pmic.c34 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/
Drsaddr.c41 {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 …]
Dhwvalid.c18 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 …]
Dexregion.c36 acpi_physical_address address, in acpi_ex_system_memory_space_handler() argument
89 (void)acpi_ut_short_divide((u64) address, length, NULL, &remainder); in acpi_ex_system_memory_space_handler()
100 if (!mm || (address < mm->physical_address) || in acpi_ex_system_memory_space_handler()
101 ((u64) address + length > (u64) mm->physical_address + mm->length)) { in acpi_ex_system_memory_space_handler()
113 if (address < mm->physical_address) in acpi_ex_system_memory_space_handler()
116 if ((u64) address + length > in acpi_ex_system_memory_space_handler()
129 ACPI_FORMAT_UINT64(address), length)); in acpi_ex_system_memory_space_handler()
139 ((mem_info->address + mem_info->length) - address); in acpi_ex_system_memory_space_handler()
153 (ACPI_ROUND_UP(address, ACPI_DEFAULT_PAGE_SIZE) - address); in acpi_ex_system_memory_space_handler()
164 logical_addr_ptr = acpi_os_map_memory(address, map_length); in acpi_ex_system_memory_space_handler()
[all …]
Dtbinstal.c57 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()
97 acpi_tb_install_standard_table(acpi_physical_address address, in acpi_tb_install_standard_table() argument
109 status = acpi_tb_acquire_temp_table(&new_table_desc, address, flags); in acpi_tb_install_standard_table()
113 ACPI_FORMAT_UINT64(address))); in acpi_tb_install_standard_table()
126 ACPI_FORMAT_UINT64(address))); in acpi_tb_install_standard_table()
202 acpi_physical_address address; in acpi_tb_override_table() local
220 &address, &length); in acpi_tb_override_table()
221 if (ACPI_SUCCESS(status) && address && length) { in acpi_tb_override_table()
222 acpi_tb_acquire_temp_table(&new_table_desc, address, in acpi_tb_override_table()
[all …]
Dhwregs.c19 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, &reg->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 …]
Drsdumpinfo.c87 {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/
Ddcn30_hubp.c74 const struct dc_plane_address *address, in hubp3_program_surface_flip_and_addr() argument
86 VMID, address->vmid); in hubp3_program_surface_flip_and_addr()
88 if (address->type == PLN_ADDR_TYPE_GRPH_STEREO) { in hubp3_program_surface_flip_and_addr()
103 switch (address->type) { in hubp3_program_surface_flip_and_addr()
112 if (address->grph.addr.quad_part == 0) in hubp3_program_surface_flip_and_addr()
116 PRIMARY_SURFACE_TMZ, address->tmz_surface, in hubp3_program_surface_flip_and_addr()
117 PRIMARY_META_SURFACE_TMZ, address->tmz_surface); in hubp3_program_surface_flip_and_addr()
119 if (address->grph.meta_addr.quad_part != 0) { in hubp3_program_surface_flip_and_addr()
122 address->grph.meta_addr.high_part); in hubp3_program_surface_flip_and_addr()
126 address->grph.meta_addr.low_part); in hubp3_program_surface_flip_and_addr()
[all …]
/drivers/staging/media/atomisp/pci/runtime/isp_param/src/
Disp_param.c28 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/
Dnfp_mutex.c18 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/
Daic79xx.reg95 * 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 …]
Daic7xxx.reg69 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/
Dvgg2432a4.c28 .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/
Dgehc-achc.c194 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/core/
Ddc_link_dpcd.c43 uint32_t address, in internal_link_read_dpcd() argument
49 link, address, data, size)) { in internal_link_read_dpcd()
58 uint32_t address, in internal_link_write_dpcd() argument
64 link, address, data, size)) { in internal_link_write_dpcd()
108 static uint32_t dpcd_get_next_partition_size(const uint32_t address, const uint32_t size) in dpcd_get_next_partition_size() argument
110 const uint32_t end_address = END_ADDRESS(address, size); in dpcd_get_next_partition_size()
118 address, end_address)) in dpcd_get_next_partition_size()
122 return ADDRESS_RANGE_SIZE(address, mandatory_dpcd_partitions[partition_iterator].end); in dpcd_get_next_partition_size()
192 uint32_t address, in core_link_read_dpcd() argument
207 dpcd_extend_address_range(address, data, size, &extended_address, &extended_data, &extended_size); in core_link_read_dpcd()
[all …]
/drivers/net/wireless/microchip/wilc1000/
Dsdio.c38 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()
293 cmd.address = WILC_SDIO_FBR_CSA_REG; in wilc_sdio_set_func0_csa_address()
[all …]
/drivers/net/wireless/ath/ath10k/
Dbmi.c154 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/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hubp.c351 const struct dc_plane_address *address, in hubp1_program_surface_flip_and_addr() argument
362 if (address->type == PLN_ADDR_TYPE_GRPH_STEREO) { in hubp1_program_surface_flip_and_addr()
379 switch (address->type) { in hubp1_program_surface_flip_and_addr()
388 if (address->grph.addr.quad_part == 0) in hubp1_program_surface_flip_and_addr()
392 PRIMARY_SURFACE_TMZ, address->tmz_surface, in hubp1_program_surface_flip_and_addr()
393 PRIMARY_META_SURFACE_TMZ, address->tmz_surface); in hubp1_program_surface_flip_and_addr()
395 if (address->grph.meta_addr.quad_part != 0) { in hubp1_program_surface_flip_and_addr()
398 address->grph.meta_addr.high_part); in hubp1_program_surface_flip_and_addr()
402 address->grph.meta_addr.low_part); in hubp1_program_surface_flip_and_addr()
407 address->grph.addr.high_part); in hubp1_program_surface_flip_and_addr()
[all …]

12345678910>>...49