Home
last modified time | relevance | path

Searched refs:ACPI_PTR_DIFF (Results 1 – 12 of 12) sorted by relevance

/linux-6.6.21/drivers/acpi/acpica/
Dtbxfroot.c180 (u32) ACPI_PTR_DIFF(mem_rover, table_ptr); in acpi_find_root_pointer()
214 ACPI_PTR_DIFF(mem_rover, table_ptr)); in acpi_find_root_pointer()
Dexconcat.c366 length0 = ACPI_PTR_DIFF(end_tag, operand0->buffer.pointer); in acpi_ex_concat_template()
375 length1 = ACPI_PTR_DIFF(end_tag, operand1->buffer.pointer); in acpi_ex_concat_template()
Dutprint.c255 i = (s32)ACPI_PTR_DIFF(pos, reversed_string); in acpi_ut_format_number()
554 return ((int)ACPI_PTR_DIFF(pos, string)); in vsnprintf()
Ddbxface.c225 aml_offset = (u32)ACPI_PTR_DIFF(op->common.aml, in acpi_db_single_step()
Ddbstats.c487 (u32)ACPI_PTR_DIFF(acpi_gbl_entry_stack_pointer, in acpi_db_display_statistics()
Ddbmethod.c57 aml_offset = (u32)ACPI_PTR_DIFF(op->common.aml, in acpi_db_set_method_breakpoint()
Dnsxfname.c519 aml_length = (u32)ACPI_PTR_DIFF(parser_state.pkg_end, aml_start); in ACPI_EXPORT_SYMBOL()
Ddsmethod.c203 aml_offset = (u32)ACPI_PTR_DIFF(walk_state->aml, in acpi_ds_method_error()
Dpsargs.c786 ACPI_PTR_DIFF(parser_state->pkg_end, in acpi_ps_get_next_arg()
Dpsobject.c69 (u32)ACPI_PTR_DIFF(walk_state->aml, in acpi_ps_get_aml_opcode()
/linux-6.6.21/drivers/acpi/
Dpptt.c229 node_entry = ACPI_PTR_DIFF(node, table_hdr); in acpi_pptt_leaf_node()
439 ACPI_TO_POINTER(ACPI_PTR_DIFF(cpu_node, table)), in cache_setup_acpi_cpu()
528 return ACPI_PTR_DIFF(cpu_node, table); in topology_get_acpi_cpu_tag()
785 retval = ACPI_PTR_DIFF(cluster_node, table); in find_acpi_cpu_topology_cluster()
/linux-6.6.21/include/acpi/
Dactypes.h505 #define ACPI_PTR_DIFF(a, b) ((acpi_size) (ACPI_CAST_PTR (u8, (a)) - ACPI_CAST_PTR (u8, … macro
511 #define ACPI_TO_INTEGER(p) ACPI_PTR_DIFF (p, (void *) 0)
514 #define ACPI_OFFSET(d, f) ACPI_PTR_DIFF (&(((d *) 0)->f), (void *) 0)