Home
last modified time | relevance | path

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

1234

/linux-6.6.21/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 …]
Devregion.c25 acpi_adr_space_type space_id);
135 space_id))); in acpi_ev_address_space_dispatch()
161 space_id))); in acpi_ev_address_space_dispatch()
165 if (region_obj->region.space_id == ACPI_ADR_SPACE_PLATFORM_COMM) { in acpi_ev_address_space_dispatch()
175 if (region_obj->region.space_id == in acpi_ev_address_space_dispatch()
205 space_id))); in acpi_ev_address_space_dispatch()
235 space_id))); in acpi_ev_address_space_dispatch()
266 if ((region_obj->region.space_id == ACPI_ADR_SPACE_GSBUS || in acpi_ev_address_space_dispatch()
267 region_obj->region.space_id == ACPI_ADR_SPACE_GPIO) && in acpi_ev_address_space_dispatch()
284 if (region_obj->region.space_id == ACPI_ADR_SPACE_GPIO) { in acpi_ev_address_space_dispatch()
[all …]
Devxfregn.c47 acpi_adr_space_type space_id, in acpi_install_address_space_handler_internal() argument
79 acpi_ev_install_space_handler(node, space_id, handler, setup, in acpi_install_address_space_handler_internal()
88 acpi_ev_execute_reg_methods(node, space_id, ACPI_REG_CONNECT); in acpi_install_address_space_handler_internal()
98 acpi_adr_space_type space_id, in acpi_install_address_space_handler() argument
102 return acpi_install_address_space_handler_internal(device, space_id, in acpi_install_address_space_handler()
110 acpi_adr_space_type space_id, in ACPI_EXPORT_SYMBOL()
115 return acpi_install_address_space_handler_internal(device, space_id, in ACPI_EXPORT_SYMBOL()
137 acpi_adr_space_type space_id, in ACPI_EXPORT_SYMBOL()
188 if (handler_obj->address_space.space_id == space_id) { in ACPI_EXPORT_SYMBOL()
203 acpi_ut_get_region_name(space_id), in ACPI_EXPORT_SYMBOL()
[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 …]
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()
143 || obj_desc->field.region_obj->region.space_id == in acpi_ex_read_data_from_field()
145 || obj_desc->field.region_obj->region.space_id == in acpi_ex_read_data_from_field()
194 (obj_desc->field.region_obj->region.space_id == in acpi_ex_read_data_from_field()
202 (obj_desc->field.region_obj->region.space_id == in acpi_ex_read_data_from_field()
295 (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()
305 || obj_desc->field.region_obj->region.space_id == in acpi_ex_write_data_to_field()
[all …]
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()
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);
Devrgnini.c532 acpi_adr_space_type space_id; in acpi_ev_initialize_region() local
548 space_id = region_obj->region.space_id; in acpi_ev_initialize_region()
580 acpi_ev_find_region_handler(space_id, handler_obj); in acpi_ev_initialize_region()
617 acpi_ut_get_region_name(space_id), space_id, in acpi_ev_initialize_region()
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()
/linux-6.6.21/arch/parisc/include/asm/
Dmmu_context.h23 mm->context.space_id = alloc_sid(); in init_new_context()
31 free_sid(mm->context.space_id); in destroy_context()
32 mm->context.space_id = 0; in destroy_context()
38 return context.space_id << 1; in __space_to_prot()
40 return context.space_id >> (SPACEID_SHIFT - 1); in __space_to_prot()
46 mtsp(context.space_id, SR_USER); in load_context()
92 if (next->context.space_id == 0) in activate_mm()
93 next->context.space_id = alloc_sid(); in activate_mm()
Dmmu.h6 unsigned long space_id; member
/linux-6.6.21/drivers/acpi/apei/
Dapei-base.c571 u32 bit_width, bit_offset, access_size_code, space_id; in apei_check_gar() local
576 space_id = reg->space_id; in apei_check_gar()
582 space_id); in apei_check_gar()
590 space_id); in apei_check_gar()
607 space_id); in apei_check_gar()
611 if (space_id != ACPI_ADR_SPACE_SYSTEM_MEMORY && in apei_check_gar()
612 space_id != ACPI_ADR_SPACE_SYSTEM_IO) { in apei_check_gar()
616 space_id); in apei_check_gar()
634 if (reg->space_id == ACPI_ADR_SPACE_SYSTEM_IO) in apei_map_generic_address()
657 switch(reg->space_id) { in apei_read()
[all …]
/linux-6.6.21/drivers/acpi/
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()
Dacpi_lpit.c113 if (info->gaddr.space_id == ACPI_ADR_SPACE_SYSTEM_MEMORY) { in lpit_update_residency()
122 } else if (info->gaddr.space_id == ACPI_ADR_SPACE_FIXED_HARDWARE) { in lpit_update_residency()
137 if (lpit_native->residency_counter.space_id == ACPI_ADR_SPACE_SYSTEM_MEMORY && in lpit_process()
140 } else if (lpit_native->residency_counter.space_id == ACPI_ADR_SPACE_FIXED_HARDWARE && in lpit_process()
Dcppc_acpi.c100 (cpc)->cpc_entry.reg.space_id == \
105 (cpc)->cpc_entry.reg.space_id == \
110 (cpc)->cpc_entry.reg.space_id == \
114 #define IS_NULL_REG(reg) ((reg)->space_id == ACPI_ADR_SPACE_SYSTEM_MEMORY && \
767 if (gas_t->space_id == ACPI_ADR_SPACE_PLATFORM_COMM) { in acpi_cppc_processor_probe()
777 } else if (gas_t->space_id == ACPI_ADR_SPACE_SYSTEM_MEMORY) { in acpi_cppc_processor_probe()
792 } else if (gas_t->space_id == ACPI_ADR_SPACE_SYSTEM_IO) { in acpi_cppc_processor_probe()
815 if (gas_t->space_id != ACPI_ADR_SPACE_FIXED_HARDWARE || !cpc_ffh_supported()) { in acpi_cppc_processor_probe()
818 gas_t->space_id); in acpi_cppc_processor_probe()
993 if (reg->space_id == ACPI_ADR_SPACE_SYSTEM_IO) { in cpc_read()
[all …]
/linux-6.6.21/drivers/cpufreq/
Dpcc-cpufreq.c55 u8 space_id; member
65 u8 space_id; member
438 mem_resource->space_id, mem_resource->resource_usage, in pcc_cpufreq_evaluate()
444 if (mem_resource->space_id != ACPI_ADR_SPACE_SYSTEM_MEMORY) { in pcc_cpufreq_evaluate()
488 doorbell.space_id = reg_resource->space_id; in pcc_cpufreq_evaluate()
496 doorbell.space_id, doorbell.bit_width, doorbell.bit_offset, in pcc_cpufreq_evaluate()
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()

1234