/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
D | utaddress.c | 41 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 …]
|
D | evhandler.c | 119 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 …]
|
D | evregion.c | 134 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 …]
|
D | evxfregn.c | 44 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()
|
D | exfield.c | 137 (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()
|
D | evgpeblk.c | 234 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()
|
D | utdecode.c | 85 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()
|
D | exfldio.c | 54 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 …]
|
D | excreate.c | 215 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()
|
D | exutils.c | 399 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()
|
D | hwregs.c | 90 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()
|
D | evrgnini.c | 480 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()
|
D | acevents.h | 97 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);
|
D | dbdisply.c | 934 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()
|
D | tbfadt.c | 20 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()
|
D | evgpeinit.c | 37 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()
|
D | dsopcode.c | 361 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()
|
/kernel/linux/linux-5.10/drivers/acpi/apei/ |
D | apei-base.c | 574 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 …]
|
/kernel/linux/linux-5.10/drivers/acpi/ |
D | acpi_watchdog.c | 38 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()
|
D | acpi_lpit.c | 106 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()
|
D | cppc_acpi.c | 100 (cpc)->cpc_entry.reg.space_id == \ 104 #define IS_NULL_REG(reg) ((reg)->space_id == ACPI_ADR_SPACE_SYSTEM_MEMORY && \ 760 if (gas_t->space_id == ACPI_ADR_SPACE_PLATFORM_COMM) { in acpi_cppc_processor_probe() 769 } else if (gas_t->space_id == ACPI_ADR_SPACE_SYSTEM_MEMORY) { in acpi_cppc_processor_probe() 779 if (gas_t->space_id != ACPI_ADR_SPACE_FIXED_HARDWARE || !cpc_ffh_supported()) { in acpi_cppc_processor_probe() 781 pr_debug("Unsupported register type: %d\n", gas_t->space_id); in acpi_cppc_processor_probe() 953 if (reg->space_id == ACPI_ADR_SPACE_PLATFORM_COMM && pcc_ss_id >= 0) in cpc_read() 955 else if (reg->space_id == ACPI_ADR_SPACE_SYSTEM_MEMORY) in cpc_read() 957 else if (reg->space_id == ACPI_ADR_SPACE_FIXED_HARDWARE) in cpc_read() 992 if (reg->space_id == ACPI_ADR_SPACE_PLATFORM_COMM && pcc_ss_id >= 0) in cpc_write() [all …]
|
/kernel/linux/linux-5.10/drivers/cpufreq/ |
D | pcc-cpufreq.c | 54 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()
|
D | ia64-acpi-cpufreq.c | 231 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()
|
/kernel/linux/linux-5.10/include/acpi/ |
D | processor.h | 56 u8 space_id; member 109 u8 space_id; member 150 u8 space_id; member
|
/kernel/linux/linux-5.10/arch/parisc/mm/ |
D | init.c | 722 static unsigned long space_id[SID_ARRAY_SIZE] = { 1 }; /* disallow space 0 */ variable 747 index = find_next_zero_bit(space_id, NR_SPACE_IDS, space_id_index); in alloc_sid() 748 space_id[BIT_WORD(index)] |= BIT_MASK(index); in alloc_sid() 802 space_id[i] ^= dirty_array[i]; in recycle_sids() 820 space_id[i] ^= dirty_space_id[i]; in recycle_sids()
|