Home
last modified time | relevance | path

Searched refs:ACPI_ADD_PTR (Results 1 – 19 of 19) sorted by relevance

/linux-6.6.21/drivers/acpi/acpica/
Drsmisc.c79 source = ACPI_ADD_PTR(void, aml, info->aml_offset); in acpi_rs_convert_aml_to_resource()
81 ACPI_ADD_PTR(void, resource, info->resource_offset); in acpi_rs_convert_aml_to_resource()
153 target = ACPI_ADD_PTR(void, aml, info->value); in acpi_rs_convert_aml_to_resource()
175 target = ACPI_ADD_PTR(void, aml, (info->value + 2)); in acpi_rs_convert_aml_to_resource()
180 target = ACPI_ADD_PTR(void, aml, info->value); in acpi_rs_convert_aml_to_resource()
239 target = (char *)ACPI_ADD_PTR(void, resource, in acpi_rs_convert_aml_to_resource()
246 source = ACPI_ADD_PTR(void, aml, ACPI_GET16(source)); in acpi_rs_convert_aml_to_resource()
255 target = (char *)ACPI_ADD_PTR(void, resource, in acpi_rs_convert_aml_to_resource()
262 source = ACPI_ADD_PTR(void, aml, ACPI_GET16(source)); in acpi_rs_convert_aml_to_resource()
271 target = (char *)ACPI_ADD_PTR(void, resource, in acpi_rs_convert_aml_to_resource()
[all …]
Dtbfadt.c494 address32 = *ACPI_ADD_PTR(u32, in acpi_tb_convert_fadt()
498 address64 = ACPI_ADD_PTR(struct acpi_generic_address, in acpi_tb_convert_fadt()
502 length = *ACPI_ADD_PTR(u8, in acpi_tb_convert_fadt()
657 ACPI_ADD_PTR(struct acpi_generic_address, in acpi_tb_setup_fadt_registers()
708 ACPI_ADD_PTR(struct acpi_generic_address, &acpi_gbl_FADT, in acpi_tb_setup_fadt_registers()
Dutids.c73 ACPI_ADD_PTR(char, hid, sizeof(struct acpi_pnp_device_id)); in acpi_ut_execute_HID()
151 ACPI_ADD_PTR(char, uid, sizeof(struct acpi_pnp_device_id)); in acpi_ut_execute_UID()
388 ACPI_ADD_PTR(char, cls, sizeof(struct acpi_pnp_device_id)); in acpi_ut_execute_CLS()
Drsutils.c296 aml_resource_source = ACPI_ADD_PTR(u8, aml, minimum_length); in acpi_rs_get_resource_source()
318 ACPI_ADD_PTR(char, resource_source, in acpi_rs_get_resource_source()
390 aml_resource_source = ACPI_ADD_PTR(u8, aml, minimum_length); in acpi_rs_set_resource_source()
Drsdump.c159 prt_element = ACPI_ADD_PTR(struct acpi_pci_routing_table, in acpi_rs_dump_irq_list()
191 target = ACPI_ADD_PTR(u8, resource, table->offset); in acpi_rs_dump_descriptor()
Drscalc.c166 ACPI_ADD_PTR(struct acpi_resource, resource, resource_list_size); in acpi_rs_get_aml_length()
425 ACPI_ADD_PTR(struct acpi_resource, resource, in acpi_rs_get_aml_length()
Dtbutils.c313 table_entry = ACPI_ADD_PTR(u8, table, sizeof(struct acpi_table_header)); in acpi_tb_parse_root_table()
Dutresrc.c474 ACPI_MOVE_16_TO_16(&resource_length, ACPI_ADD_PTR(u8, aml, 1)); in acpi_ut_get_resource_length()
Drsxface.c526 ACPI_ADD_PTR(struct acpi_resource, buffer->pointer, buffer->length); in acpi_walk_resource_buffer()
Dutcopy.c383 ACPI_ADD_PTR(u8, in acpi_ut_copy_iobject_to_eobject()
Dexdump.c357 target = ACPI_ADD_PTR(u8, obj_desc, info->offset); in acpi_ex_dump_object()
/linux-6.6.21/drivers/acpi/riscv/
Drhct.c58 end = ACPI_ADD_PTR(struct acpi_rhct_node_header, rhct, rhct->header.length); in acpi_get_riscv_isa()
60 for (node = ACPI_ADD_PTR(struct acpi_rhct_node_header, rhct, rhct->node_offset); in acpi_get_riscv_isa()
62 node = ACPI_ADD_PTR(struct acpi_rhct_node_header, node, node->length)) { in acpi_get_riscv_isa()
64 hart_info = ACPI_ADD_PTR(struct acpi_rhct_hart_info, node, size_hdr); in acpi_get_riscv_isa()
65 hart_info_node_offset = ACPI_ADD_PTR(u32, hart_info, size_hartinfo); in acpi_get_riscv_isa()
70 ref_node = ACPI_ADD_PTR(struct acpi_rhct_node_header, in acpi_get_riscv_isa()
73 isa_node = ACPI_ADD_PTR(struct acpi_rhct_isa_string, in acpi_get_riscv_isa()
/linux-6.6.21/drivers/acpi/arm64/
Diort.c240 iort_node = ACPI_ADD_PTR(struct acpi_iort_node, iort, in iort_scan_node()
242 iort_end = ACPI_ADD_PTR(struct acpi_iort_node, iort_table, in iort_scan_node()
254 iort_node = ACPI_ADD_PTR(struct acpi_iort_node, iort_node, in iort_scan_node()
380 map = ACPI_ADD_PTR(struct acpi_iort_id_mapping, node, in iort_node_get_id()
390 parent = ACPI_ADD_PTR(struct acpi_iort_node, iort_table, in iort_node_get_id()
476 map = ACPI_ADD_PTR(struct acpi_iort_id_mapping, node, in iort_node_map_id()
509 node = ACPI_ADD_PTR(struct acpi_iort_node, iort_table, in iort_node_map_id()
720 map = ACPI_ADD_PTR(struct acpi_iort_id_mapping, node, in iort_set_device_domain()
731 msi_parent = ACPI_ADD_PTR(struct acpi_iort_node, iort_table, in iort_set_device_domain()
896 rmr_desc = ACPI_ADD_PTR(struct acpi_iort_rmr_desc, node, in iort_get_rmrs()
[all …]
Dapmt.c134 apmt_node = ACPI_ADD_PTR(struct acpi_apmt_node, apmt, in apmt_init_platform_devices()
/linux-6.6.21/drivers/acpi/
Dviot.c61 start = ACPI_ADD_PTR(struct acpi_viot_header, viot, in viot_check_bounds()
63 end = ACPI_ADD_PTR(struct acpi_viot_header, viot, viot->header.length); in viot_check_bounds()
64 hdr_end = ACPI_ADD_PTR(struct acpi_viot_header, hdr, sizeof(*hdr)); in viot_check_bounds()
131 struct acpi_viot_header *hdr = ACPI_ADD_PTR(struct acpi_viot_header, in viot_get_iommu()
295 node = ACPI_ADD_PTR(struct acpi_viot_header, viot, viot->node_offset); in acpi_viot_init()
300 node = ACPI_ADD_PTR(struct acpi_viot_header, node, in acpi_viot_init()
Dpptt.c36 entry = ACPI_ADD_PTR(struct acpi_subtable_header, table_hdr, pptt_ref); in fetch_pptt_subtable()
68 ref = ACPI_ADD_PTR(u32, node, sizeof(struct acpi_pptt_processor)); in acpi_get_pptt_resource()
230 entry = ACPI_ADD_PTR(struct acpi_subtable_header, table_hdr, in acpi_pptt_leaf_node()
241 entry = ACPI_ADD_PTR(struct acpi_subtable_header, entry, in acpi_pptt_leaf_node()
271 entry = ACPI_ADD_PTR(struct acpi_subtable_header, table_hdr, in acpi_find_processor_node()
289 entry = ACPI_ADD_PTR(struct acpi_subtable_header, entry, in acpi_find_processor_node()
413 found_cache_v1 = ACPI_ADD_PTR(struct acpi_pptt_cache_v1, in update_cache_properties()
/linux-6.6.21/drivers/char/tpm/
Dtpm_crb.c768 crb_smc = ACPI_ADD_PTR(struct tpm2_crb_smc, buf, sizeof(*buf)); in crb_acpi_add()
781 crb_pluton = ACPI_ADD_PTR(struct tpm2_crb_pluton, buf, sizeof(*buf)); in crb_acpi_add()
/linux-6.6.21/include/acpi/
Dacrestyp.h695 ACPI_ADD_PTR (struct acpi_resource, (res), (res)->length)
Dactypes.h503 #define ACPI_ADD_PTR(t, a, b) ACPI_CAST_PTR (t, (ACPI_CAST_PTR (u8, (a)) + (acpi_size)(b)… macro