Home
last modified time | relevance | path

Searched refs:space_id (Results 1 – 25 of 44) sorted by relevance

12

/drivers/acpi/acpica/
Dutaddress.c75 acpi_ut_add_address_range(acpi_adr_space_type space_id, in acpi_ut_add_address_range() argument
84 if ((space_id != ACPI_ADR_SPACE_SYSTEM_MEMORY) && in acpi_ut_add_address_range()
85 (space_id != ACPI_ADR_SPACE_SYSTEM_IO)) { in acpi_ut_add_address_range()
106 range_info->next = acpi_gbl_address_range_list[space_id]; in acpi_ut_add_address_range()
107 acpi_gbl_address_range_list[space_id] = range_info; in acpi_ut_add_address_range()
137 acpi_ut_remove_address_range(acpi_adr_space_type space_id, in acpi_ut_remove_address_range() argument
145 if ((space_id != ACPI_ADR_SPACE_SYSTEM_MEMORY) && in acpi_ut_remove_address_range()
146 (space_id != ACPI_ADR_SPACE_SYSTEM_IO)) { in acpi_ut_remove_address_range()
152 range_info = prev = acpi_gbl_address_range_list[space_id]; in acpi_ut_remove_address_range()
156 acpi_gbl_address_range_list[space_id] = in acpi_ut_remove_address_range()
[all …]
Devhandler.c153 acpi_adr_space_type space_id) in acpi_ev_has_default_handler() argument
167 if (handler_obj->address_space.space_id == space_id) { in acpi_ev_has_default_handler()
255 if (next_handler_obj->address_space.space_id == in acpi_ev_install_handler()
256 handler_obj->address_space.space_id) { in acpi_ev_install_handler()
262 space_id), obj_desc, in acpi_ev_install_handler()
290 if (obj_desc->region.space_id != handler_obj->address_space.space_id) { in acpi_ev_install_handler()
329 acpi_adr_space_type space_id, in acpi_ev_install_space_handler() argument
355 switch (space_id) { in acpi_ev_install_space_handler()
421 if (handler_obj->address_space.space_id == space_id) { in acpi_ev_install_space_handler()
481 acpi_ut_get_region_name(space_id), space_id, in acpi_ev_install_space_handler()
[all …]
Devxfregn.c78 acpi_adr_space_type space_id, in acpi_install_address_space_handler() argument
109 acpi_ev_install_space_handler(node, space_id, handler, setup, in acpi_install_address_space_handler()
129 switch (space_id) { in acpi_install_address_space_handler()
149 status = acpi_ev_execute_reg_methods(node, space_id); in acpi_install_address_space_handler()
173 acpi_adr_space_type space_id, in ACPI_EXPORT_SYMBOL()
224 if (handler_obj->address_space.space_id == space_id) { in ACPI_EXPORT_SYMBOL()
239 acpi_ut_get_region_name(space_id), in ACPI_EXPORT_SYMBOL()
285 handler, acpi_ut_get_region_name(space_id), space_id, in ACPI_EXPORT_SYMBOL()
Devregion.c163 space_id))); in acpi_ev_address_space_dispatch()
187 space_id))); in acpi_ev_address_space_dispatch()
212 space_id))); in acpi_ev_address_space_dispatch()
251 if ((region_obj->region.space_id == ACPI_ADR_SPACE_GSBUS) && in acpi_ev_address_space_dispatch()
260 if ((region_obj->region.space_id == ACPI_ADR_SPACE_GPIO) && in acpi_ev_address_space_dispatch()
277 space_id))); in acpi_ev_address_space_dispatch()
297 space_id))); in acpi_ev_address_space_dispatch()
394 (region_obj->region.space_id))); in acpi_ev_detach_region()
432 space_id))); in acpi_ev_detach_region()
506 space_id))); in acpi_ev_attach_region()
[all …]
Dexfield.c163 (obj_desc->field.region_obj->region.space_id == in acpi_ex_read_data_from_field()
165 || obj_desc->field.region_obj->region.space_id == in acpi_ex_read_data_from_field()
167 || obj_desc->field.region_obj->region.space_id == in acpi_ex_read_data_from_field()
175 if (obj_desc->field.region_obj->region.space_id == in acpi_ex_read_data_from_field()
180 } else if (obj_desc->field.region_obj->region.space_id == in acpi_ex_read_data_from_field()
257 (obj_desc->field.region_obj->region.space_id == in acpi_ex_read_data_from_field()
362 (obj_desc->field.region_obj->region.space_id == in acpi_ex_write_data_to_field()
364 || obj_desc->field.region_obj->region.space_id == in acpi_ex_write_data_to_field()
366 || obj_desc->field.region_obj->region.space_id == in acpi_ex_write_data_to_field()
387 if (obj_desc->field.region_obj->region.space_id == in acpi_ex_write_data_to_field()
[all …]
Dutdecode.c117 char *acpi_ut_get_region_name(u8 space_id) in acpi_ut_get_region_name() argument
120 if (space_id >= ACPI_USER_REGION_BEGIN) { in acpi_ut_get_region_name()
122 } else if (space_id == ACPI_ADR_SPACE_DATA_TABLE) { in acpi_ut_get_region_name()
124 } else if (space_id == ACPI_ADR_SPACE_FIXED_HARDWARE) { in acpi_ut_get_region_name()
126 } else if (space_id >= ACPI_NUM_PREDEFINED_REGIONS) { in acpi_ut_get_region_name()
130 return (ACPI_CAST_PTR(char, acpi_gbl_region_types[space_id])); in acpi_ut_get_region_name()
Dexfldio.c88 u8 space_id; in acpi_ex_setup_region() local
104 space_id = rgn_desc->region.space_id; in acpi_ex_setup_region()
108 if (!acpi_is_valid_space_id(space_id)) { in acpi_ex_setup_region()
111 space_id)); in acpi_ex_setup_region()
130 if (space_id == ACPI_ADR_SPACE_SMBUS || in acpi_ex_setup_region()
131 space_id == ACPI_ADR_SPACE_GSBUS || in acpi_ex_setup_region()
132 space_id == ACPI_ADR_SPACE_IPMI) { in acpi_ex_setup_region()
268 space_id), in acpi_ex_access_region()
269 rgn_desc->region.space_id, in acpi_ex_access_region()
290 space_id), in acpi_ex_access_region()
[all …]
Dexutils.c393 u8 acpi_is_valid_space_id(u8 space_id) in acpi_is_valid_space_id() argument
396 if ((space_id >= ACPI_NUM_PREDEFINED_REGIONS) && in acpi_is_valid_space_id()
397 (space_id < ACPI_USER_REGION_BEGIN) && in acpi_is_valid_space_id()
398 (space_id != ACPI_ADR_SPACE_DATA_TABLE) && in acpi_is_valid_space_id()
399 (space_id != ACPI_ADR_SPACE_FIXED_HARDWARE)) { in acpi_is_valid_space_id()
Dexcreate.c278 u8 space_id, struct acpi_walk_state *walk_state) in acpi_ex_create_region() argument
303 if (!acpi_is_valid_space_id(space_id)) { in acpi_ex_create_region()
311 space_id)); in acpi_ex_create_region()
315 acpi_ut_get_region_name(space_id), space_id)); in acpi_ex_create_region()
341 obj_desc->region.space_id = space_id; in acpi_ex_create_region()
Dhwregs.c105 if ((reg->space_id != ACPI_ADR_SPACE_SYSTEM_MEMORY) && in acpi_hw_validate_register()
106 (reg->space_id != ACPI_ADR_SPACE_SYSTEM_IO)) { in acpi_hw_validate_register()
108 "Unsupported address space: 0x%X", reg->space_id)); in acpi_hw_validate_register()
178 if (reg->space_id == ACPI_ADR_SPACE_SYSTEM_MEMORY) { in acpi_hw_read()
192 acpi_ut_get_region_name(reg->space_id))); in acpi_hw_read()
230 if (reg->space_id == ACPI_ADR_SPACE_SYSTEM_MEMORY) { in acpi_hw_write()
243 acpi_ut_get_region_name(reg->space_id))); in acpi_hw_write()
Devrgnini.c507 acpi_adr_space_type space_id; in acpi_ev_initialize_region() local
530 space_id = region_obj->region.space_id; in acpi_ev_initialize_region()
609 if (handler_obj->address_space.space_id == in acpi_ev_initialize_region()
610 space_id) { in acpi_ev_initialize_region()
671 acpi_ut_get_region_name(space_id), space_id, in acpi_ev_initialize_region()
Devgpeblk.c264 this_register->status_address.space_id = gpe_block->space_id; in acpi_ev_create_gpe_info_blocks()
265 this_register->enable_address.space_id = gpe_block->space_id; in acpi_ev_create_gpe_info_blocks()
334 u8 space_id, in acpi_ev_create_gpe_block() argument
360 gpe_block->space_id = space_id; in acpi_ev_create_gpe_block()
Dacevents.h108 u8 space_id,
168 acpi_adr_space_type space_id);
174 acpi_adr_space_type space_id,
200 acpi_adr_space_type space_id);
Dhwxface.c82 if (reset_reg->space_id == ACPI_ADR_SPACE_SYSTEM_IO) { in acpi_reset()
152 if (reg->space_id == ACPI_ADR_SPACE_SYSTEM_MEMORY) { in ACPI_EXPORT_SYMBOL()
196 acpi_ut_get_region_name(reg->space_id))); in ACPI_EXPORT_SYMBOL()
234 if (reg->space_id == ACPI_ADR_SPACE_SYSTEM_MEMORY) { in ACPI_EXPORT_SYMBOL()
268 acpi_ut_get_region_name(reg->space_id))); in ACPI_EXPORT_SYMBOL()
Dtbfadt.c54 u8 space_id,
193 u8 space_id, in acpi_tb_init_generic_address() argument
229 generic_address->space_id = space_id; in acpi_tb_init_generic_address()
738 target, source64->space_id, in acpi_tb_setup_fadt_registers()
Devgpeinit.c137 space_id, register_count0, 0, in acpi_ev_gpe_initialize()
177 space_id, register_count1, in acpi_ev_gpe_initialize()
Dacobject.h166 ACPI_OBJECT_COMMON_HEADER u8 space_id; member
306 ACPI_OBJECT_COMMON_HEADER u8 space_id; member
Dacutils.h191 char *acpi_ut_get_region_name(u8 space_id);
711 acpi_ut_add_address_range(acpi_adr_space_type space_id,
716 acpi_ut_remove_address_range(acpi_adr_space_type space_id,
720 acpi_ut_check_address_range(acpi_adr_space_type space_id,
Ddsargs.c257 status = acpi_ut_add_address_range(obj_desc->region.space_id, in acpi_ds_get_bank_field_arguments()
401 status = acpi_ut_add_address_range(obj_desc->region.space_id, in acpi_ds_get_region_arguments()
/drivers/acpi/apei/
Dapei-base.c564 u32 bit_width, bit_offset, access_size_code, space_id; in apei_check_gar() local
569 space_id = reg->space_id; in apei_check_gar()
575 space_id); in apei_check_gar()
583 space_id); in apei_check_gar()
600 space_id); in apei_check_gar()
604 if (space_id != ACPI_ADR_SPACE_SYSTEM_MEMORY && in apei_check_gar()
605 space_id != ACPI_ADR_SPACE_SYSTEM_IO) { in apei_check_gar()
609 space_id); in apei_check_gar()
642 switch(reg->space_id) { in apei_read()
675 switch (reg->space_id) { in apei_write()
[all …]
/drivers/cpufreq/
Dpcc-cpufreq.c54 u8 space_id; member
64 u8 space_id; member
437 mem_resource->space_id, mem_resource->resource_usage, in pcc_cpufreq_probe()
443 if (mem_resource->space_id != ACPI_ADR_SPACE_SYSTEM_MEMORY) { in pcc_cpufreq_probe()
487 doorbell.space_id = reg_resource->space_id; in pcc_cpufreq_probe()
495 doorbell.space_id, doorbell.bit_width, doorbell.bit_offset, in pcc_cpufreq_probe()
Dia64-acpi-cpufreq.c245 if ((data->acpi_data.control_register.space_id != in acpi_cpufreq_cpu_init()
247 (data->acpi_data.status_register.space_id != in acpi_cpufreq_cpu_init()
250 (u32) (data->acpi_data.control_register.space_id), in acpi_cpufreq_cpu_init()
251 (u32) (data->acpi_data.status_register.space_id)); in acpi_cpufreq_cpu_init()
Dacpi-cpufreq.c721 if (perf->control_register.space_id != perf->status_register.space_id) { in acpi_cpufreq_cpu_init()
726 switch (perf->control_register.space_id) { in acpi_cpufreq_cpu_init()
751 (u32) (perf->control_register.space_id)); in acpi_cpufreq_cpu_init()
773 if (perf->control_register.space_id == ACPI_ADR_SPACE_FIXED_HARDWARE && in acpi_cpufreq_cpu_init()
801 switch (perf->control_register.space_id) { in acpi_cpufreq_cpu_init()
/drivers/xen/
Dxen-acpi-processor.c82 dst_cx->reg.space_id = ACPI_ADR_SPACE_SYSTEM_IO; in push_cxx_to_hypervisor()
88 dst_cx->reg.space_id = ACPI_ADR_SPACE_FIXED_HARDWARE; in push_cxx_to_hypervisor()
203 dst_pct->space_id = pct->space_id; in xen_copy_pct_data()
/drivers/acpi/
Dosl.c179 if (gas->space_id == ACPI_ADR_SPACE_SYSTEM_IO) in acpi_request_region()
181 else if (gas->space_id == ACPI_ADR_SPACE_SYSTEM_MEMORY) in acpi_request_region()
482 if (gas->space_id != ACPI_ADR_SPACE_SYSTEM_MEMORY) in acpi_os_map_generic_address()
503 if (gas->space_id != ACPI_ADR_SPACE_SYSTEM_MEMORY) in acpi_os_unmap_generic_address()
1627 acpi_adr_space_type space_id; in acpi_check_resource_conflict() local
1638 space_id = ACPI_ADR_SPACE_SYSTEM_IO; in acpi_check_resource_conflict()
1640 space_id = ACPI_ADR_SPACE_SYSTEM_MEMORY; in acpi_check_resource_conflict()
1645 clash = acpi_check_address_range(space_id, res->start, length, warn); in acpi_check_resource_conflict()

12