Home
last modified time | relevance | path

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

123

/drivers/acpi/acpica/
Dutaddress.c41 acpi_ut_add_address_range(acpi_adr_space_type space_id, in acpi_ut_add_address_range() argument
49 if ((space_id != ACPI_ADR_SPACE_SYSTEM_MEMORY) && in acpi_ut_add_address_range()
50 (space_id != ACPI_ADR_SPACE_SYSTEM_IO)) { in acpi_ut_add_address_range()
65 range_info->next = acpi_gbl_address_range_list[space_id]; in acpi_ut_add_address_range()
66 acpi_gbl_address_range_list[space_id] = range_info; in acpi_ut_add_address_range()
95 acpi_ut_remove_address_range(acpi_adr_space_type space_id, in acpi_ut_remove_address_range() argument
103 if ((space_id != ACPI_ADR_SPACE_SYSTEM_MEMORY) && in acpi_ut_remove_address_range()
104 (space_id != ACPI_ADR_SPACE_SYSTEM_IO)) { in acpi_ut_remove_address_range()
110 range_info = prev = acpi_gbl_address_range_list[space_id]; in acpi_ut_remove_address_range()
114 acpi_gbl_address_range_list[space_id] = in acpi_ut_remove_address_range()
[all …]
Devhandler.c119 acpi_adr_space_type space_id) in acpi_ev_has_default_handler() argument
133 if (handler_obj->address_space.space_id == space_id) { in acpi_ev_has_default_handler()
218 space_id, in acpi_ev_install_handler()
229 space_id), in acpi_ev_install_handler()
252 if (obj_desc->region.space_id != handler_obj->address_space.space_id) { in acpi_ev_install_handler()
287 space_id, in acpi_ev_find_region_handler() argument
298 if (handler_obj->address_space.space_id == space_id) { in acpi_ev_find_region_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()
413 handler_obj = acpi_ev_find_region_handler(space_id, in acpi_ev_install_space_handler()
[all …]
Devregion.c134 space_id))); in acpi_ev_address_space_dispatch()
160 space_id))); in acpi_ev_address_space_dispatch()
185 space_id))); in acpi_ev_address_space_dispatch()
215 space_id))); in acpi_ev_address_space_dispatch()
246 if ((region_obj->region.space_id == ACPI_ADR_SPACE_GSBUS) && in acpi_ev_address_space_dispatch()
263 if ((region_obj->region.space_id == ACPI_ADR_SPACE_GPIO) && in acpi_ev_address_space_dispatch()
295 space_id))); in acpi_ev_address_space_dispatch()
301 if ((region_obj->region.space_id == ACPI_ADR_SPACE_EC) && in acpi_ev_address_space_dispatch()
403 (region_obj->region.space_id))); in acpi_ev_detach_region()
441 space_id))); in acpi_ev_detach_region()
[all …]
Devxfregn.c44 acpi_adr_space_type space_id, in acpi_install_address_space_handler() argument
75 acpi_ev_install_space_handler(node, space_id, handler, setup, in acpi_install_address_space_handler()
83 acpi_ev_execute_reg_methods(node, space_id, ACPI_REG_CONNECT); in acpi_install_address_space_handler()
107 acpi_adr_space_type space_id, in ACPI_EXPORT_SYMBOL()
158 if (handler_obj->address_space.space_id == space_id) { in ACPI_EXPORT_SYMBOL()
173 acpi_ut_get_region_name(space_id), in ACPI_EXPORT_SYMBOL()
220 handler, acpi_ut_get_region_name(space_id), space_id, in ACPI_EXPORT_SYMBOL()
Dexfield.c137 (obj_desc->field.region_obj->region.space_id == in acpi_ex_read_data_from_field()
139 || obj_desc->field.region_obj->region.space_id == in acpi_ex_read_data_from_field()
141 || obj_desc->field.region_obj->region.space_id == in acpi_ex_read_data_from_field()
190 (obj_desc->field.region_obj->region.space_id == in acpi_ex_read_data_from_field()
198 (obj_desc->field.region_obj->region.space_id == in acpi_ex_read_data_from_field()
291 (obj_desc->field.region_obj->region.space_id == in acpi_ex_write_data_to_field()
299 (obj_desc->field.region_obj->region.space_id == in acpi_ex_write_data_to_field()
301 || obj_desc->field.region_obj->region.space_id == in acpi_ex_write_data_to_field()
303 || obj_desc->field.region_obj->region.space_id == in acpi_ex_write_data_to_field()
313 (obj_desc->field.region_obj->region.space_id == in acpi_ex_write_data_to_field()
Devgpeblk.c234 this_register->status_address.space_id = gpe_block->space_id; in acpi_ev_create_gpe_info_blocks()
235 this_register->enable_address.space_id = gpe_block->space_id; in acpi_ev_create_gpe_info_blocks()
298 u8 space_id, in acpi_ev_create_gpe_block() argument
316 if ((space_id != ACPI_ADR_SPACE_SYSTEM_MEMORY) && in acpi_ev_create_gpe_block()
317 (space_id != ACPI_ADR_SPACE_SYSTEM_IO)) { in acpi_ev_create_gpe_block()
319 "Unsupported address space: 0x%X", space_id)); in acpi_ev_create_gpe_block()
323 if (space_id == ACPI_ADR_SPACE_SYSTEM_IO) { in acpi_ev_create_gpe_block()
341 gpe_block->space_id = space_id; in acpi_ev_create_gpe_block()
Dutdecode.c85 const char *acpi_ut_get_region_name(u8 space_id) in acpi_ut_get_region_name() argument
88 if (space_id >= ACPI_USER_REGION_BEGIN) { in acpi_ut_get_region_name()
90 } else if (space_id == ACPI_ADR_SPACE_DATA_TABLE) { in acpi_ut_get_region_name()
92 } else if (space_id == ACPI_ADR_SPACE_FIXED_HARDWARE) { in acpi_ut_get_region_name()
94 } else if (space_id >= ACPI_NUM_PREDEFINED_REGIONS) { in acpi_ut_get_region_name()
98 return (acpi_gbl_region_types[space_id]); in acpi_ut_get_region_name()
Dexfldio.c54 u8 space_id; in acpi_ex_setup_region() local
70 space_id = rgn_desc->region.space_id; in acpi_ex_setup_region()
74 if (!acpi_is_valid_space_id(space_id)) { in acpi_ex_setup_region()
77 space_id)); in acpi_ex_setup_region()
96 if (space_id == ACPI_ADR_SPACE_SMBUS || in acpi_ex_setup_region()
97 space_id == ACPI_ADR_SPACE_GSBUS || in acpi_ex_setup_region()
98 space_id == ACPI_ADR_SPACE_IPMI) { in acpi_ex_setup_region()
236 space_id), in acpi_ex_access_region()
237 rgn_desc->region.space_id, in acpi_ex_access_region()
258 space_id), in acpi_ex_access_region()
[all …]
Dexcreate.c215 u8 space_id, struct acpi_walk_state *walk_state) in acpi_ex_create_region() argument
240 if (!acpi_is_valid_space_id(space_id)) { in acpi_ex_create_region()
248 space_id)); in acpi_ex_create_region()
252 acpi_ut_get_region_name(space_id), space_id)); in acpi_ex_create_region()
279 obj_desc->region.space_id = space_id; in acpi_ex_create_region()
Dexutils.c399 u8 acpi_is_valid_space_id(u8 space_id) in acpi_is_valid_space_id() argument
402 if ((space_id >= ACPI_NUM_PREDEFINED_REGIONS) && in acpi_is_valid_space_id()
403 (space_id < ACPI_USER_REGION_BEGIN) && in acpi_is_valid_space_id()
404 (space_id != ACPI_ADR_SPACE_DATA_TABLE) && in acpi_is_valid_space_id()
405 (space_id != ACPI_ADR_SPACE_FIXED_HARDWARE)) { in acpi_is_valid_space_id()
Dhwregs.c90 if (reg->space_id == ACPI_ADR_SPACE_SYSTEM_IO) { in acpi_hw_get_access_bit_width()
146 if ((reg->space_id != ACPI_ADR_SPACE_SYSTEM_MEMORY) && in acpi_hw_validate_register()
147 (reg->space_id != ACPI_ADR_SPACE_SYSTEM_IO)) { in acpi_hw_validate_register()
149 "Unsupported address space: 0x%X", reg->space_id)); in acpi_hw_validate_register()
234 if (reg->space_id == ACPI_ADR_SPACE_SYSTEM_MEMORY) { in acpi_hw_read()
271 acpi_ut_get_region_name(reg->space_id))); in acpi_hw_read()
331 if (reg->space_id == ACPI_ADR_SPACE_SYSTEM_MEMORY) { in acpi_hw_write()
364 acpi_ut_get_region_name(reg->space_id))); in acpi_hw_write()
Devrgnini.c480 acpi_adr_space_type space_id; in acpi_ev_initialize_region() local
496 space_id = region_obj->region.space_id; in acpi_ev_initialize_region()
528 acpi_ev_find_region_handler(space_id, handler_obj); in acpi_ev_initialize_region()
565 acpi_ut_get_region_name(space_id), space_id, in acpi_ev_initialize_region()
Dacevents.h97 u8 space_id,
154 space_id,
160 acpi_adr_space_type space_id);
166 acpi_adr_space_type space_id,
192 acpi_adr_space_type space_id, u32 function);
Ddbdisply.c934 acpi_adr_space_type space_id; in acpi_db_display_handlers() local
944 space_id = acpi_gbl_space_id_list[i]; in acpi_db_display_handlers()
947 acpi_ut_get_region_name((u8)space_id), in acpi_db_display_handlers()
948 space_id); in acpi_db_display_handlers()
951 acpi_ev_find_region_handler(space_id, in acpi_db_display_handlers()
977 if (handler_obj->address_space.space_id >= in acpi_db_display_handlers()
982 space_id); in acpi_db_display_handlers()
1081 address_space.space_id), in acpi_db_display_non_root_handlers()
1082 handler_obj->address_space.space_id); in acpi_db_display_non_root_handlers()
Dtbfadt.c20 u8 space_id,
159 u8 space_id, in acpi_tb_init_generic_address() argument
195 generic_address->space_id = space_id; in acpi_tb_init_generic_address()
713 target, source64->space_id, in acpi_tb_setup_fadt_registers()
Devgpeinit.c37 acpi_gbl_FADT.xgpe##N##_block.space_id == \
114 space_id, register_count0, 0, in acpi_ev_gpe_initialize()
154 space_id, register_count1, in acpi_ev_gpe_initialize()
Ddsopcode.c361 acpi_adr_space_type space_id; in acpi_ds_eval_region_operands() local
374 space_id = (acpi_adr_space_type)next_op->common.value.integer; in acpi_ds_eval_region_operands()
413 && (space_id < ACPI_NUM_PREDEFINED_REGIONS)) { in acpi_ds_eval_region_operands()
416 node->name.ascii, space_id)); in acpi_ds_eval_region_operands()
434 status = acpi_ut_add_address_range(obj_desc->region.space_id, in acpi_ds_eval_region_operands()
/drivers/acpi/apei/
Dapei-base.c574 u32 bit_width, bit_offset, access_size_code, space_id; in apei_check_gar() local
579 space_id = reg->space_id; in apei_check_gar()
585 space_id); in apei_check_gar()
593 space_id); in apei_check_gar()
610 space_id); in apei_check_gar()
614 if (space_id != ACPI_ADR_SPACE_SYSTEM_MEMORY && in apei_check_gar()
615 space_id != ACPI_ADR_SPACE_SYSTEM_IO) { in apei_check_gar()
619 space_id); in apei_check_gar()
637 if (reg->space_id == ACPI_ADR_SPACE_SYSTEM_IO) in apei_map_generic_address()
660 switch(reg->space_id) { in apei_read()
[all …]
/drivers/acpi/
Dacpi_lpit.c106 if (info->gaddr.space_id == ACPI_ADR_SPACE_SYSTEM_MEMORY) { in lpit_update_residency()
119 } else if (info->gaddr.space_id == ACPI_ADR_SPACE_FIXED_HARDWARE) { in lpit_update_residency()
136 if (lpit_native->residency_counter.space_id == ACPI_ADR_SPACE_SYSTEM_MEMORY && in lpit_process()
139 } else if (lpit_native->residency_counter.space_id == ACPI_ADR_SPACE_FIXED_HARDWARE && in lpit_process()
Dacpi_watchdog.c38 if (gas->space_id == ACPI_ADR_SPACE_SYSTEM_IO) { in acpi_watchdog_uses_rtc()
141 if (gas->space_id == ACPI_ADR_SPACE_SYSTEM_MEMORY) { in acpi_watchdog_init()
143 } else if (gas->space_id == ACPI_ADR_SPACE_SYSTEM_IO) { in acpi_watchdog_init()
147 gas->space_id); in acpi_watchdog_init()
Dcppc_acpi.c100 (cpc)->cpc_entry.reg.space_id == \
104 #define IS_NULL_REG(reg) ((reg)->space_id == ACPI_ADR_SPACE_SYSTEM_MEMORY && \
759 if (gas_t->space_id == ACPI_ADR_SPACE_PLATFORM_COMM) { in acpi_cppc_processor_probe()
768 } else if (gas_t->space_id == ACPI_ADR_SPACE_SYSTEM_MEMORY) { in acpi_cppc_processor_probe()
778 if (gas_t->space_id != ACPI_ADR_SPACE_FIXED_HARDWARE || !cpc_ffh_supported()) { in acpi_cppc_processor_probe()
780 pr_debug("Unsupported register type: %d\n", gas_t->space_id); in acpi_cppc_processor_probe()
952 if (reg->space_id == ACPI_ADR_SPACE_PLATFORM_COMM && pcc_ss_id >= 0) in cpc_read()
954 else if (reg->space_id == ACPI_ADR_SPACE_SYSTEM_MEMORY) in cpc_read()
956 else if (reg->space_id == ACPI_ADR_SPACE_FIXED_HARDWARE) in cpc_read()
991 if (reg->space_id == ACPI_ADR_SPACE_PLATFORM_COMM && pcc_ss_id >= 0) in cpc_write()
[all …]
Dosl.c101 if (gas->space_id == ACPI_ADR_SPACE_SYSTEM_IO) in acpi_request_region()
103 else if (gas->space_id == ACPI_ADR_SPACE_SYSTEM_MEMORY) in acpi_request_region()
454 if (gas->space_id != ACPI_ADR_SPACE_SYSTEM_MEMORY) in acpi_os_map_generic_address()
471 if (gas->space_id != ACPI_ADR_SPACE_SYSTEM_MEMORY) in acpi_os_unmap_generic_address()
1460 acpi_adr_space_type space_id; in acpi_check_resource_conflict() local
1471 space_id = ACPI_ADR_SPACE_SYSTEM_IO; in acpi_check_resource_conflict()
1473 space_id = ACPI_ADR_SPACE_SYSTEM_MEMORY; in acpi_check_resource_conflict()
1478 clash = acpi_check_address_range(space_id, res->start, length, warn); in acpi_check_resource_conflict()
1529 if (region_obj->region.space_id != ACPI_ADR_SPACE_SYSTEM_MEMORY) in acpi_deactivate_mem_region()
/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.c231 if ((data->acpi_data.control_register.space_id != in acpi_cpufreq_cpu_init()
233 (data->acpi_data.status_register.space_id != in acpi_cpufreq_cpu_init()
236 (u32) (data->acpi_data.control_register.space_id), in acpi_cpufreq_cpu_init()
237 (u32) (data->acpi_data.status_register.space_id)); in acpi_cpufreq_cpu_init()
Dacpi-cpufreq.c750 if (perf->control_register.space_id != perf->status_register.space_id) { in acpi_cpufreq_cpu_init()
755 switch (perf->control_register.space_id) { in acpi_cpufreq_cpu_init()
786 (u32) (perf->control_register.space_id)); in acpi_cpufreq_cpu_init()
808 if (perf->control_register.space_id == ACPI_ADR_SPACE_FIXED_HARDWARE && in acpi_cpufreq_cpu_init()
851 switch (perf->control_register.space_id) { in acpi_cpufreq_cpu_init()

123