Home
last modified time | relevance | path

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

/Linux-v6.1/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()
237 target = (char *)ACPI_ADD_PTR(void, resource, in acpi_rs_convert_aml_to_resource()
244 source = ACPI_ADD_PTR(void, aml, ACPI_GET16(source)); in acpi_rs_convert_aml_to_resource()
253 target = (char *)ACPI_ADD_PTR(void, resource, in acpi_rs_convert_aml_to_resource()
260 source = ACPI_ADD_PTR(void, aml, ACPI_GET16(source)); in acpi_rs_convert_aml_to_resource()
269 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()
415 ACPI_ADD_PTR(struct acpi_resource, resource, in acpi_rs_get_aml_length()
Dtbutils.c312 table_entry = ACPI_ADD_PTR(u8, table, sizeof(struct acpi_table_header)); in acpi_tb_parse_root_table()
Dutresrc.c467 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-v6.1/drivers/acpi/arm64/
Diort.c239 iort_node = ACPI_ADD_PTR(struct acpi_iort_node, iort, in iort_scan_node()
241 iort_end = ACPI_ADD_PTR(struct acpi_iort_node, iort_table, in iort_scan_node()
253 iort_node = ACPI_ADD_PTR(struct acpi_iort_node, iort_node, in iort_scan_node()
379 map = ACPI_ADD_PTR(struct acpi_iort_id_mapping, node, in iort_node_get_id()
389 parent = ACPI_ADD_PTR(struct acpi_iort_node, iort_table, in iort_node_get_id()
467 map = ACPI_ADD_PTR(struct acpi_iort_id_mapping, node, in iort_node_map_id()
500 node = ACPI_ADD_PTR(struct acpi_iort_node, iort_table, in iort_node_map_id()
711 map = ACPI_ADD_PTR(struct acpi_iort_id_mapping, node, in iort_set_device_domain()
722 msi_parent = ACPI_ADD_PTR(struct acpi_iort_node, iort_table, in iort_set_device_domain()
887 rmr_desc = ACPI_ADD_PTR(struct acpi_iort_rmr_desc, node, in iort_get_rmrs()
[all …]
/Linux-v6.1/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()
218 entry = ACPI_ADD_PTR(struct acpi_subtable_header, table_hdr, in acpi_pptt_leaf_node()
229 entry = ACPI_ADD_PTR(struct acpi_subtable_header, entry, in acpi_pptt_leaf_node()
259 entry = ACPI_ADD_PTR(struct acpi_subtable_header, table_hdr, in acpi_find_processor_node()
277 entry = ACPI_ADD_PTR(struct acpi_subtable_header, entry, in acpi_find_processor_node()
414 found_cache_v1 = ACPI_ADD_PTR(struct acpi_pptt_cache_v1, in update_cache_properties()
/Linux-v6.1/include/acpi/
Dacrestyp.h675 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
/Linux-v6.1/drivers/char/tpm/
Dtpm_crb.c694 crb_smc = ACPI_ADD_PTR(struct tpm2_crb_smc, buf, sizeof(*buf)); in crb_acpi_add()