Searched refs:ACPI_PTR_DIFF (Results 1 – 12 of 12) sorted by relevance
/linux-6.6.21/drivers/acpi/acpica/ |
D | tbxfroot.c | 180 (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()
|
D | exconcat.c | 366 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()
|
D | utprint.c | 255 i = (s32)ACPI_PTR_DIFF(pos, reversed_string); in acpi_ut_format_number() 554 return ((int)ACPI_PTR_DIFF(pos, string)); in vsnprintf()
|
D | dbxface.c | 225 aml_offset = (u32)ACPI_PTR_DIFF(op->common.aml, in acpi_db_single_step()
|
D | dbstats.c | 487 (u32)ACPI_PTR_DIFF(acpi_gbl_entry_stack_pointer, in acpi_db_display_statistics()
|
D | dbmethod.c | 57 aml_offset = (u32)ACPI_PTR_DIFF(op->common.aml, in acpi_db_set_method_breakpoint()
|
D | nsxfname.c | 519 aml_length = (u32)ACPI_PTR_DIFF(parser_state.pkg_end, aml_start); in ACPI_EXPORT_SYMBOL()
|
D | dsmethod.c | 203 aml_offset = (u32)ACPI_PTR_DIFF(walk_state->aml, in acpi_ds_method_error()
|
D | psargs.c | 786 ACPI_PTR_DIFF(parser_state->pkg_end, in acpi_ps_get_next_arg()
|
D | psobject.c | 69 (u32)ACPI_PTR_DIFF(walk_state->aml, in acpi_ps_get_aml_opcode()
|
/linux-6.6.21/drivers/acpi/ |
D | pptt.c | 229 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/ |
D | actypes.h | 505 #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)
|