drivers/acpi/acpica/acmacros.h
18
#define ACPI_CAST8(ptr) ACPI_CAST_PTR (u8, (ptr))
drivers/acpi/acpica/acmacros.h
19
#define ACPI_CAST16(ptr) ACPI_CAST_PTR (u16, (ptr))
drivers/acpi/acpica/acmacros.h
20
#define ACPI_CAST32(ptr) ACPI_CAST_PTR (u32, (ptr))
drivers/acpi/acpica/acmacros.h
21
#define ACPI_CAST64(ptr) ACPI_CAST_PTR (u64, (ptr))
drivers/acpi/acpica/dbcmds.c
347
status = acpi_unload_parent_table(ACPI_CAST_PTR(acpi_handle, node));
drivers/acpi/acpica/dbcmds.c
533
acpi_rs_dump_resource_list(ACPI_CAST_PTR(struct acpi_resource,
drivers/acpi/acpica/dbcmds.c
764
node = ACPI_CAST_PTR(struct acpi_namespace_node, obj_handle);
drivers/acpi/acpica/dbcmds.c
773
ACPI_CAST_PTR(acpi_handle, &prt_node));
drivers/acpi/acpica/dbcmds.c
775
ACPI_CAST_PTR(acpi_handle, &crs_node));
drivers/acpi/acpica/dbcmds.c
777
ACPI_CAST_PTR(acpi_handle, &prs_node));
drivers/acpi/acpica/dbcmds.c
779
ACPI_CAST_PTR(acpi_handle, &aei_node));
drivers/acpi/acpica/dbcmds.c
815
acpi_rs_dump_irq_list(ACPI_CAST_PTR(u8, acpi_gbl_db_buffer));
drivers/acpi/acpica/dbcmds.c
870
acpi_rs_dump_resource_list(ACPI_CAST_PTR(struct acpi_resource,
drivers/acpi/acpica/dbcmds.c
923
acpi_rs_dump_resource_list(ACPI_CAST_PTR
drivers/acpi/acpica/dbcmds.c
955
acpi_rs_dump_resource_list(ACPI_CAST_PTR
drivers/acpi/acpica/dbconvert.c
334
return (ACPI_CAST_PTR(u8, buffer));
drivers/acpi/acpica/dbdisply.c
1060
ACPI_CAST_PTR(struct acpi_namespace_node, obj_handle);
drivers/acpi/acpica/dbexec.c
478
((ACPI_CAST_PTR
drivers/acpi/acpica/dbinput.c
669
(ACPI_CAST_PTR(char, acpi_gbl_db_commands[i].name),
drivers/acpi/acpica/dbnames.c
952
ACPI_CAST_PTR(acpi_handle, &temp_node));
drivers/acpi/acpica/dbtest.c
250
node = ACPI_CAST_PTR(struct acpi_namespace_node, obj_handle);
drivers/acpi/acpica/dbtest.c
820
params[0].reference.handle = ACPI_CAST_PTR(acpi_handle, node);
drivers/acpi/acpica/dbtest.c
901
params[0].reference.handle = ACPI_CAST_PTR(acpi_handle, node);
drivers/acpi/acpica/dbutils.c
140
acpi_ut_debug_dump_buffer(ACPI_CAST_PTR
drivers/acpi/acpica/dbutils.c
47
if (strstr(ACPI_CAST_PTR(char, arguments[i].name),
drivers/acpi/acpica/dbutils.c
48
ACPI_CAST_PTR(char,
drivers/acpi/acpica/dsfield.c
434
ACPI_CAST_PTR(char,
drivers/acpi/acpica/dsobject.c
234
op->common.node = ACPI_CAST_PTR(struct acpi_namespace_node, obj_desc);
drivers/acpi/acpica/dsobject.c
347
ACPI_CAST_PTR(struct acpi_namespace_node,
drivers/acpi/acpica/dsobject.c
362
ACPI_CAST_PTR(struct acpi_namespace_node,
drivers/acpi/acpica/dspkginit.c
197
ACPI_CAST_PTR(union acpi_operand_object,
drivers/acpi/acpica/dspkginit.c
270
acpi_ut_remove_reference(ACPI_CAST_PTR
drivers/acpi/acpica/dspkginit.c
307
op->common.node = ACPI_CAST_PTR(struct acpi_namespace_node, obj_desc);
drivers/acpi/acpica/dspkginit.c
467
resolved_node = ACPI_CAST_PTR(struct acpi_namespace_node,
drivers/acpi/acpica/dsutils.c
470
ACPI_CAST_PTR(union acpi_operand_object,
drivers/acpi/acpica/dsutils.c
524
ACPI_CAST_PTR(union
drivers/acpi/acpica/dswload.c
557
ACPI_CAST_PTR(void, op->named.node);
drivers/acpi/acpica/dswload2.c
659
ACPI_CAST_PTR(void, op->named.node);
drivers/acpi/acpica/dswload2.c
89
buffer_ptr = ACPI_CAST_PTR(char, &op->named.name);
drivers/acpi/acpica/evgpeinit.c
296
ACPI_CAST_PTR(struct acpi_namespace_node, obj_handle);
drivers/acpi/acpica/evgpeinit.c
298
ACPI_CAST_PTR(struct acpi_gpe_walk_info, context);
drivers/acpi/acpica/evregion.c
563
ACPI_CAST_PTR(acpi_name, METHOD_NAME__REG);
drivers/acpi/acpica/evregion.c
763
info = ACPI_CAST_PTR(struct acpi_reg_walk_info, context);
drivers/acpi/acpica/evxface.c
215
ACPI_CAST_PTR(struct acpi_namespace_node, device);
drivers/acpi/acpica/evxface.c
62
ACPI_CAST_PTR(struct acpi_namespace_node, device);
drivers/acpi/acpica/evxfgpe.c
1044
*gpe_device = ACPI_CAST_PTR(acpi_handle, info.gpe_device);
drivers/acpi/acpica/evxfgpe.c
380
ACPI_CAST_PTR(struct acpi_namespace_node, wake_device);
drivers/acpi/acpica/exconfig.c
194
ACPI_CAST_PTR(union acpi_operand_object,
drivers/acpi/acpica/exconfig.c
293
acpi_ns_get_attached_object(ACPI_CAST_PTR
drivers/acpi/acpica/exconfig.c
340
ACPI_CAST_PTR(u8, table_header));
drivers/acpi/acpica/exconfig.c
380
ACPI_CAST_PTR(u8, table));
drivers/acpi/acpica/exconfig.c
402
ACPI_CAST_PTR(struct acpi_table_header,
drivers/acpi/acpica/exconvrt.c
103
acpi_ut_explicit_strtoul64(ACPI_CAST_PTR
drivers/acpi/acpica/exconvrt.c
99
acpi_ut_implicit_strtoul64(ACPI_CAST_PTR
drivers/acpi/acpica/excreate.c
51
ACPI_CAST_PTR(struct acpi_namespace_node,
drivers/acpi/acpica/excreate.c
81
ACPI_CAST_PTR(union acpi_operand_object, target_node);
drivers/acpi/acpica/excreate.c
88
ACPI_CAST_PTR(union acpi_operand_object, target_node);
drivers/acpi/acpica/exdebug.c
246
acpi_ex_do_debug_object(ACPI_CAST_PTR
drivers/acpi/acpica/exdump.c
1075
acpi_ut_debug_dump_buffer(ACPI_CAST_PTR
drivers/acpi/acpica/exdump.c
399
*ACPI_CAST_PTR(void *, target));
drivers/acpi/acpica/exdump.c
439
start = *ACPI_CAST_PTR(void *, target);
drivers/acpi/acpica/exdump.c
475
start = *ACPI_CAST_PTR(void *, target);
drivers/acpi/acpica/exdump.c
511
start = *ACPI_CAST_PTR(void *, target);
drivers/acpi/acpica/exdump.c
546
*ACPI_CAST_PTR(struct acpi_namespace_node *,
drivers/acpi/acpica/exdump.c
953
acpi_ex_dump_object(ACPI_CAST_PTR(union acpi_operand_object, node),
drivers/acpi/acpica/exnames.c
185
*in_aml_address = ACPI_CAST_PTR(u8, aml_address);
drivers/acpi/acpica/exprep.c
515
ACPI_CAST_PTR(union acpi_parse_object,
drivers/acpi/acpica/exprep.c
518
ACPI_CAST_PTR(union acpi_parse_object,
drivers/acpi/acpica/exregion.c
499
pointer = ACPI_CAST_PTR(char, mapping->pointer) +
drivers/acpi/acpica/exregion.c
509
memcpy(ACPI_CAST_PTR(char, value), pointer,
drivers/acpi/acpica/exregion.c
515
memcpy(pointer, ACPI_CAST_PTR(char, value),
drivers/acpi/acpica/exresnte.c
73
node = ACPI_CAST_PTR(struct acpi_namespace_node, node->object);
drivers/acpi/acpica/exresolv.c
307
union acpi_operand_object *obj_desc = ACPI_CAST_PTR(void, operand);
drivers/acpi/acpica/exresolv.c
309
ACPI_CAST_PTR(struct acpi_namespace_node, operand);
drivers/acpi/acpica/exserial.c
228
ACPI_CAST_PTR(u64,
drivers/acpi/acpica/exstorob.c
143
buffer = ACPI_CAST_PTR(u8, source_desc->string.pointer);
drivers/acpi/acpica/exstorob.c
46
buffer = ACPI_CAST_PTR(u8, source_desc->buffer.pointer);
drivers/acpi/acpica/nsaccess.c
102
acpi_ns_create_node(*ACPI_CAST_PTR(u32, init_val->name));
drivers/acpi/acpica/nsaccess.c
698
ACPI_CAST_PTR(char, &simple_name),
drivers/acpi/acpica/nsconvert.c
253
dword_buffer = ACPI_CAST_PTR(u32, new_object->buffer.pointer);
drivers/acpi/acpica/nsconvert.c
325
unicode_buffer = ACPI_CAST_PTR(u16, new_object->buffer.pointer);
drivers/acpi/acpica/nsconvert.c
405
buffer = ACPI_CAST_PTR(u8, new_object->buffer.pointer);
drivers/acpi/acpica/nsconvert.c
455
ACPI_CAST_PTR(struct acpi_namespace_node, scope);
drivers/acpi/acpica/nseval.c
235
ACPI_CAST_PTR(union acpi_operand_object, info->node);
drivers/acpi/acpica/nseval.c
75
ACPI_CAST_PTR(struct acpi_namespace_node,
drivers/acpi/acpica/nsinit.c
454
ACPI_CAST_PTR(struct acpi_device_walk_info, context);
drivers/acpi/acpica/nsinit.c
460
node = ACPI_CAST_PTR(struct acpi_namespace_node, obj_handle);
drivers/acpi/acpica/nsinit.c
519
ACPI_CAST_PTR(struct acpi_device_walk_info, context);
drivers/acpi/acpica/nsinit.c
529
device_node = ACPI_CAST_PTR(struct acpi_namespace_node, obj_handle);
drivers/acpi/acpica/nsrepair2.c
294
dword_buffer = ACPI_CAST_PTR(u32,
drivers/acpi/acpica/nssearch.c
101
ACPI_CAST_PTR(struct acpi_namespace_node,
drivers/acpi/acpica/nssearch.c
109
ACPI_CAST_PTR(char, &target_name),
drivers/acpi/acpica/nssearch.c
129
ACPI_CAST_PTR(char, &target_name),
drivers/acpi/acpica/nssearch.c
181
ACPI_CAST_PTR(char, &target_name)));
drivers/acpi/acpica/nssearch.c
188
ACPI_CAST_PTR(char, &target_name),
drivers/acpi/acpica/nssearch.c
198
ACPI_CAST_PTR(char, &target_name)));
drivers/acpi/acpica/nssearch.c
281
acpi_ut_repair_name(ACPI_CAST_PTR(char, &target_name));
drivers/acpi/acpica/nssearch.c
304
ACPI_CAST_PTR(char,
drivers/acpi/acpica/nssearch.c
366
ACPI_CAST_PTR(char, &target_name), node));
drivers/acpi/acpica/nssearch.c
77
ACPI_CAST_PTR(char, &target_name),
drivers/acpi/acpica/nsutils.c
545
return (ACPI_CAST_PTR(struct acpi_namespace_node, handle));
drivers/acpi/acpica/nsutils.c
644
ACPI_CAST_PTR(char, pathname));
drivers/acpi/acpica/nsutils.c
719
ACPI_FUNCTION_TRACE_PTR(ns_get_node, ACPI_CAST_PTR(char, pathname));
drivers/acpi/acpica/nsxfname.c
100
*ret_handle = ACPI_CAST_PTR(acpi_handle, node);
drivers/acpi/acpica/nsxfname.c
379
next_id_string = ACPI_CAST_PTR(char, info->compatible_id_list.ids);
drivers/acpi/acpica/nsxfname.c
478
ACPI_CAST_PTR(struct acpi_table_header, buffer);
drivers/acpi/acpica/nsxfname.c
85
ACPI_CAST_PTR(acpi_handle, acpi_gbl_root_node);
drivers/acpi/acpica/nsxfobj.c
115
*ret_handle = ACPI_CAST_PTR(acpi_handle, parent_node);
drivers/acpi/acpica/nsxfobj.c
200
*ret_handle = ACPI_CAST_PTR(acpi_handle, node);
drivers/acpi/acpica/psargs.c
415
arg->common.value.string = ACPI_CAST_PTR(char, aml);
drivers/acpi/acpica/psparse.c
683
acpi_ut_delete_generic_state(ACPI_CAST_PTR
drivers/acpi/acpica/rscreate.c
225
user_prt = ACPI_CAST_PTR(struct acpi_pci_routing_table, buffer);
drivers/acpi/acpica/rscreate.c
236
user_prt = ACPI_CAST_PTR(struct acpi_pci_routing_table, buffer);
drivers/acpi/acpica/rsdump.c
151
prt_element = ACPI_CAST_PTR(struct acpi_pci_routing_table, route_table);
drivers/acpi/acpica/rsdump.c
211
ACPI_CAST_PTR(char, table->pointer));
drivers/acpi/acpica/rsdump.c
216
acpi_rs_out_string(name, ACPI_CAST_PTR(char, target));
drivers/acpi/acpica/rsdump.c
316
ACPI_CAST_PTR(u32,
drivers/acpi/acpica/rsdump.c
337
acpi_rs_dump_address_common(ACPI_CAST_PTR
drivers/acpi/acpica/rsdump.c
346
acpi_rs_dump_resource_source(ACPI_CAST_PTR
drivers/acpi/acpica/rsdump.c
357
ACPI_CAST_PTR(struct
drivers/acpi/acpica/rsdump.c
367
ACPI_CAST_PTR(struct
drivers/acpi/acpica/rslist.c
185
ACPI_CAST_PTR(union
drivers/acpi/acpica/rslist.c
200
ACPI_CAST_PTR(union aml_resource,
drivers/acpi/acpica/rslist.c
55
aml_resource = ACPI_CAST_PTR(union aml_resource, aml);
drivers/acpi/acpica/rsmisc.c
242
*(u16 **)destination = ACPI_CAST_PTR(u16, target);
drivers/acpi/acpica/rsmisc.c
258
*(u8 **)destination = ACPI_CAST_PTR(u8, target);
drivers/acpi/acpica/rsmisc.c
274
*(u8 **)destination = ACPI_CAST_PTR(u8, target);
drivers/acpi/acpica/rsmisc.c
290
*(u8 **)destination = ACPI_CAST_PTR(u8, target);
drivers/acpi/acpica/rsutils.c
126
ACPI_MOVE_16_TO_16(&ACPI_CAST_PTR(u16, destination)[i],
drivers/acpi/acpica/rsutils.c
127
&ACPI_CAST_PTR(u16, source)[i]);
drivers/acpi/acpica/rsutils.c
132
ACPI_MOVE_32_TO_32(&ACPI_CAST_PTR(u32, destination)[i],
drivers/acpi/acpica/rsutils.c
133
&ACPI_CAST_PTR(u32, source)[i]);
drivers/acpi/acpica/rsutils.c
138
ACPI_MOVE_64_TO_64(&ACPI_CAST_PTR(u64, destination)[i],
drivers/acpi/acpica/rsutils.c
139
&ACPI_CAST_PTR(u64, source)[i]);
drivers/acpi/acpica/rsutils.c
330
(u32)strlen(ACPI_CAST_PTR(char, &aml_resource_source[1])) +
drivers/acpi/acpica/rsutils.c
341
ACPI_CAST_PTR(char,
drivers/acpi/acpica/rsutils.c
398
strcpy(ACPI_CAST_PTR(char, &aml_resource_source[1]),
drivers/acpi/acpica/rsutils.c
650
acpi_ut_evaluate_object(ACPI_CAST_PTR
drivers/acpi/acpica/rsxface.c
348
ACPI_CAST_PTR(struct acpi_resource_address16,
drivers/acpi/acpica/rsxface.c
356
ACPI_CAST_PTR(struct acpi_resource_address32,
drivers/acpi/acpica/rsxface.c
524
resource = ACPI_CAST_PTR(struct acpi_resource, buffer->pointer);
drivers/acpi/acpica/tbprint.c
110
} else if (ACPI_VALIDATE_RSDP_SIG(ACPI_CAST_PTR(struct acpi_table_rsdp,
drivers/acpi/acpica/tbprint.c
116
ACPI_CAST_PTR(struct acpi_table_rsdp, header)->oem_id,
drivers/acpi/acpica/tbprint.c
122
(ACPI_CAST_PTR(struct acpi_table_rsdp, header)->
drivers/acpi/acpica/tbprint.c
124
0) ? ACPI_CAST_PTR(struct acpi_table_rsdp,
drivers/acpi/acpica/tbprint.c
126
ACPI_CAST_PTR(struct acpi_table_rsdp,
drivers/acpi/acpica/tbprint.c
135
ACPI_CAST_PTR(struct acpi_table_cdat,
drivers/acpi/acpica/tbutils.c
239
ACPI_CAST_PTR(struct acpi_table_header,
drivers/acpi/acpica/tbxfload.c
360
ACPI_CAST_PTR(struct acpi_namespace_node, object);
drivers/acpi/acpica/tbxfroot.c
258
acpi_tb_validate_rsdp(ACPI_CAST_PTR
drivers/acpi/acpica/utcksum.c
52
acpi_ut_generate_checksum(ACPI_CAST_PTR(u8, table), length,
drivers/acpi/acpica/utcksum.c
93
checksum = acpi_ut_generate_checksum(ACPI_CAST_PTR(u8, cdat_table),
drivers/acpi/acpica/utcopy.c
251
ACPI_CAST_PTR(union acpi_object, info->free_space);
drivers/acpi/acpica/utcopy.c
311
external_object = ACPI_CAST_PTR(union acpi_object, buffer);
drivers/acpi/acpica/utcopy.c
325
ACPI_CAST_PTR(union acpi_object, info.free_space);
drivers/acpi/acpica/utcopy.c
379
ACPI_CAST_PTR(union
drivers/acpi/acpica/utcopy.c
662
memcpy(ACPI_CAST_PTR(char, dest_desc),
drivers/acpi/acpica/utcopy.c
663
ACPI_CAST_PTR(char, source_desc), copy_size);
drivers/acpi/acpica/utdebug.c
104
if (*(ACPI_CAST_PTR(u32, function_name)) == ACPI_PREFIX_LOWER) {
drivers/acpi/acpica/utdebug.c
97
if (*(ACPI_CAST_PTR(u32, function_name)) == ACPI_PREFIX_MIXED) {
drivers/acpi/acpica/uterror.c
251
ACPI_CAST_PTR(u32, internal_name));
drivers/acpi/acpica/uteval.c
289
ACPI_CAST_PTR(char,
drivers/acpi/acpica/uteval.c
309
ACPI_CAST_PTR(char, method_names[i]),
drivers/acpi/acpica/utglobal.c
83
{"_REV", ACPI_TYPE_INTEGER, ACPI_CAST_PTR(char, 2)},
drivers/acpi/acpica/utglobal.c
85
{"_GL_", ACPI_TYPE_MUTEX, ACPI_CAST_PTR(char, 1)},
drivers/acpi/acpica/utglobal.c
86
{"_OSI", ACPI_TYPE_METHOD, ACPI_CAST_PTR(char, 1)},
drivers/acpi/acpica/utids.c
276
next_id_string = ACPI_CAST_PTR(char, cid_list->ids) +
drivers/acpi/acpica/utinit.c
199
acpi_gbl_lowest_stack_pointer = ACPI_CAST_PTR(acpi_size, ACPI_SIZE_MAX);
drivers/acpi/acpica/utobject.c
457
ACPI_CAST_PTR(struct acpi_namespace_node,
drivers/acpi/acpica/utresrc.c
361
aml_resource = ACPI_CAST_PTR(union aml_resource, aml);
drivers/acpi/acpica/uttrack.c
231
debug_block = ACPI_CAST_PTR(struct acpi_debug_mem_block,
drivers/acpi/acpica/uttrack.c
570
ACPI_CAST_PTR(union acpi_descriptor,
drivers/acpi/acpica/utxface.c
455
u32 *buffer = ACPI_CAST_PTR(u32, in_buffer);
drivers/acpi/acpica/utxfmutex.c
58
ACPI_CAST_PTR(acpi_handle, &mutex_node));
drivers/acpi/prmt.c
308
struct prm_buffer *buffer = ACPI_CAST_PTR(struct prm_buffer, value);
include/acpi/actypes.h
503
#define ACPI_ADD_PTR(t, a, b) ACPI_CAST_PTR (t, (ACPI_CAST_PTR (u8, (a)) + (acpi_size)(b)))
include/acpi/actypes.h
504
#define ACPI_SUB_PTR(t, a, b) ACPI_CAST_PTR (t, (ACPI_CAST_PTR (u8, (a)) - (acpi_size)(b)))
include/acpi/actypes.h
505
#define ACPI_PTR_DIFF(a, b) ((acpi_size) (ACPI_CAST_PTR (u8, (a)) - ACPI_CAST_PTR (u8, (b))))
include/acpi/actypes.h
509
#define ACPI_TO_POINTER(i) ACPI_CAST_PTR (void, (acpi_size) (i))
include/acpi/actypes.h
521
#define ACPI_COMPARE_NAMESEG(a,b) (*ACPI_CAST_PTR (u32, (a)) == *ACPI_CAST_PTR (u32, (b)))
include/acpi/actypes.h
522
#define ACPI_COPY_NAMESEG(dest,src) (*ACPI_CAST_PTR (u32, (dest)) = *ACPI_CAST_PTR (u32, (src)))
include/acpi/actypes.h
524
#define ACPI_COMPARE_NAMESEG(a,b) (!strncmp (ACPI_CAST_PTR (char, (a)), ACPI_CAST_PTR (char, (b)), ACPI_NAMESEG_SIZE))
include/acpi/actypes.h
525
#define ACPI_COPY_NAMESEG(dest,src) (memcpy (ACPI_CAST_PTR (char, (dest)), ACPI_CAST_PTR (char, (src)), ACPI_NAMESEG_SIZE))
include/acpi/actypes.h
530
#define ACPI_VALIDATE_RSDP_SIG(a) (!strncmp (ACPI_CAST_PTR (char, (a)), ACPI_SIG_RSDP, (sizeof(a) < 8) ? ACPI_NAMESEG_SIZE : 8))
include/acpi/actypes.h
531
#define ACPI_MAKE_RSDP_SIG(dest) (memcpy (ACPI_CAST_PTR (char, (dest)), ACPI_SIG_RSDP, 8))
include/acpi/actypes.h
534
#define ACPI_IS_OEM_SIG(a) (!strncmp (ACPI_CAST_PTR (char, (a)), ACPI_OEM_NAME, 3) &&\
tools/power/acpi/os_specific/service_layers/oslinuxtbl.c
489
mapped_table = ACPI_CAST_PTR(struct acpi_table_header,
tools/power/acpi/os_specific/service_layers/oslinuxtbl.c
570
ACPI_CAST_PTR(struct
tools/power/acpi/os_specific/service_layers/oslinuxtbl.c
588
ACPI_CAST_PTR(struct
tools/power/acpi/os_specific/service_layers/oslinuxtbl.c
605
ACPI_CAST_PTR(struct
tools/power/acpi/tools/acpidump/apdump.c
118
rsdp = ACPI_CAST_PTR(struct acpi_table_rsdp, table);
tools/power/acpi/tools/acpidump/apdump.c
172
ACPI_CAST_PTR(u8, table), table_length,
tools/power/acpi/tools/acpidump/apdump.c
78
rsdp = ACPI_CAST_PTR(struct acpi_table_rsdp, table);