/linux-6.6.21/drivers/acpi/acpica/ |
D | utbuffer.c | 79 buffer[(acpi_size)i + j]); in acpi_ut_dump_buffer() 85 &buffer[(acpi_size)i + j]); in acpi_ut_dump_buffer() 92 &buffer[(acpi_size)i + j]); in acpi_ut_dump_buffer() 99 &buffer[(acpi_size)i + j]); in acpi_ut_dump_buffer() 103 &buffer[(acpi_size)i + j + in acpi_ut_dump_buffer() 132 buf_char = buffer[(acpi_size)i + j]; in acpi_ut_dump_buffer() 247 buffer[(acpi_size)i + j]); in acpi_ut_dump_buffer_to_file() 253 &buffer[(acpi_size)i + j]); in acpi_ut_dump_buffer_to_file() 260 &buffer[(acpi_size)i + j]); in acpi_ut_dump_buffer_to_file() 267 &buffer[(acpi_size)i + j]); in acpi_ut_dump_buffer_to_file() [all …]
|
D | utobject.c | 21 acpi_size *obj_length); 25 acpi_size *obj_length); 148 package_elements = ACPI_ALLOCATE_ZEROED(((acpi_size)count + in acpi_ut_create_package_object() 201 union acpi_operand_object *acpi_ut_create_buffer_object(acpi_size buffer_size) in acpi_ut_create_buffer_object() 256 union acpi_operand_object *acpi_ut_create_string_object(acpi_size string_size) in acpi_ut_create_string_object() 425 acpi_size *obj_length) in acpi_ut_get_simple_object_size() 427 acpi_size length; in acpi_ut_get_simple_object_size() 428 acpi_size size; in acpi_ut_get_simple_object_size() 471 length += (acpi_size)internal_object->string.length + 1; in acpi_ut_get_simple_object_size() 476 length += (acpi_size)internal_object->buffer.length; in acpi_ut_get_simple_object_size() [all …]
|
D | utnonansi.c | 128 u8 acpi_ut_safe_strcpy(char *dest, acpi_size dest_size, char *source) in acpi_ut_safe_strcpy() 139 u8 acpi_ut_safe_strcat(char *dest, acpi_size dest_size, char *source) in acpi_ut_safe_strcat() 152 acpi_size dest_size, in acpi_ut_safe_strncat() 153 char *source, acpi_size max_transfer_length) in acpi_ut_safe_strncat() 155 acpi_size actual_transfer_length; in acpi_ut_safe_strncat() 167 void acpi_ut_safe_strncpy(char *dest, char *source, acpi_size dest_size) in acpi_ut_safe_strncpy()
|
D | exconcat.c | 192 return_desc = acpi_ut_create_buffer_object((acpi_size) in acpi_ex_do_concatenate() 218 return_desc = acpi_ut_create_string_object(((acpi_size) in acpi_ex_do_concatenate() 240 return_desc = acpi_ut_create_buffer_object(((acpi_size) in acpi_ex_do_concatenate() 309 …return_desc = acpi_ut_create_string_object(((acpi_size)strlen(type_string) + 9)); /* 9 For "[ Obje… in acpi_ex_convert_to_object_type_string() 347 acpi_size length0; in acpi_ex_concat_template() 348 acpi_size length1; in acpi_ex_concat_template() 349 acpi_size new_length; in acpi_ex_concat_template()
|
D | utcopy.c | 22 u8 *data_space, acpi_size *buffer_space_used); 32 u8 *buffer, acpi_size *space_used); 80 u8 *data_space, acpi_size *buffer_space_used) in acpi_ut_copy_isimple_to_esimple() 113 *buffer_space_used = ACPI_ROUND_UP_TO_NATIVE_WORD((acpi_size) in acpi_ut_copy_isimple_to_esimple() 120 (acpi_size)internal_object->string.length + 1); in acpi_ut_copy_isimple_to_esimple() 219 acpi_size object_space; in acpi_ut_copy_ielement_to_eelement() 262 object_space = ACPI_ROUND_UP_TO_NATIVE_WORD((acpi_size) in acpi_ut_copy_ielement_to_eelement() 300 u8 *buffer, acpi_size *space_used) in acpi_ut_copy_ipackage_to_epackage() 331 info.length += (acpi_size)external_object->package.count * in acpi_ut_copy_ipackage_to_epackage() 464 ACPI_ALLOCATE_ZEROED((acpi_size) in acpi_ut_copy_esimple_to_isimple() [all …]
|
D | acutils.h | 136 acpi_size length; 457 union acpi_operand_object *acpi_ut_create_buffer_object(acpi_size buffer_size); 459 union acpi_operand_object *acpi_ut_create_string_object(acpi_size string_size); 462 acpi_ut_get_object_size(union acpi_operand_object *obj, acpi_size *obj_length); 596 acpi_size aml_length, 627 u8 acpi_ut_safe_strcpy(char *dest, acpi_size dest_size, char *source); 629 void acpi_ut_safe_strncpy(char *dest, char *source, acpi_size dest_size); 631 u8 acpi_ut_safe_strcat(char *dest, acpi_size dest_size, char *source); 635 acpi_size dest_size, 636 char *source, acpi_size max_transfer_length); [all …]
|
D | exoparg3.c | 132 acpi_size length; in acpi_ex_opcode_3A_1T_1R() 153 length = (acpi_size)operand[2]->integer.value; in acpi_ex_opcode_3A_1T_1R() 167 (acpi_size)operand[0]->string.length - in acpi_ex_opcode_3A_1T_1R() 168 (acpi_size)index; in acpi_ex_opcode_3A_1T_1R() 178 buffer = ACPI_ALLOCATE_ZEROED((acpi_size)length + 1); in acpi_ex_opcode_3A_1T_1R()
|
D | nsnames.c | 52 acpi_size acpi_ns_get_pathname_length(struct acpi_namespace_node *node) in acpi_ns_get_pathname_length() 54 acpi_size size; in acpi_ns_get_pathname_length() 136 acpi_size required_size; in acpi_ns_handle_to_pathname() 293 acpi_size size; in acpi_ns_get_normalized_pathname() 345 acpi_size prefix_path_length = 0; in acpi_ns_build_prefixed_pathname()
|
D | acresrc.h | 198 u32 aml_buffer_length, acpi_size *size_needed); 202 acpi_size resource_list_size, acpi_size *size_needed); 206 acpi_size *buffer_size_needed); 215 acpi_size aml_size_needed, u8 * output_buffer);
|
D | rscalc.c | 155 acpi_size resource_list_size, acpi_size *size_needed) in acpi_rs_get_aml_length() 157 acpi_size aml_size_needed = 0; in acpi_rs_get_aml_length() 452 u32 aml_buffer_length, acpi_size *size_needed) in acpi_rs_get_list_length() 747 acpi_size *buffer_size_needed) in acpi_rs_get_pci_routing_table_length() 750 acpi_size temp_size_needed = 0; in acpi_rs_get_pci_routing_table_length() 825 temp_size_needed += ((acpi_size) in acpi_rs_get_pci_routing_table_length()
|
D | utprint.c | 24 static acpi_size 25 acpi_ut_bound_string_length(const char *string, acpi_size count); 49 static acpi_size 50 acpi_ut_bound_string_length(const char *string, acpi_size count) in acpi_ut_bound_string_length() 318 int vsnprintf(char *string, acpi_size size, const char *format, va_list args) in vsnprintf() 571 int snprintf(char *string, acpi_size size, const char *format, ...) in snprintf()
|
D | utalloc.c | 31 void *acpi_os_allocate_zeroed(acpi_size size) in acpi_os_allocate_zeroed() 291 acpi_ut_initialize_buffer(struct acpi_buffer *buffer, acpi_size required_length) in acpi_ut_initialize_buffer() 293 acpi_size input_buffer_length; in acpi_ut_initialize_buffer()
|
D | acmacros.h | 201 #define ACPI_ROUND_DOWN(value, boundary) (((acpi_size)(value)) & \ 202 (~(((acpi_size) boundary)-1))) 204 #define ACPI_ROUND_UP(value, boundary) ((((acpi_size)(value)) + \ 205 (((acpi_size) boundary)-1)) & \ 206 (~(((acpi_size) boundary)-1))) 212 #define ACPI_ROUND_DOWN_TO_NATIVE_WORD(a) ACPI_ROUND_DOWN(a, sizeof(acpi_size)) 216 #define ACPI_ROUND_UP_TO_NATIVE_WORD(a) ACPI_ROUND_UP(a, sizeof(acpi_size)) 227 #define ACPI_IS_MISALIGNED(value) (((acpi_size) value) & (sizeof(acpi_size)-1))
|
D | utids.c | 64 (acpi_size)length); in acpi_ut_execute_HID() 142 (acpi_size)length); in acpi_ut_execute_UID() 277 ((acpi_size)count * sizeof(struct acpi_pnp_device_id)); in acpi_ut_execute_CID() 379 (acpi_size)length); in acpi_ut_execute_CLS()
|
D | exregion.c | 46 acpi_size map_length; in acpi_ex_system_memory_space_handler() 47 acpi_size page_boundary_map_length; in acpi_ex_system_memory_space_handler() 138 map_length = (acpi_size) in acpi_ex_system_memory_space_handler() 152 page_boundary_map_length = (acpi_size) in acpi_ex_system_memory_space_handler()
|
D | rscreate.c | 35 acpi_size list_size_needed; in acpi_buffer_to_resource() 109 acpi_size list_size_needed = 0; in ACPI_EXPORT_SYMBOL() 186 acpi_size buffer_size_needed = 0; in acpi_rs_create_pci_routing_table() 408 acpi_size aml_size_needed = 0; in acpi_rs_create_aml_resources()
|
D | tbprint.c | 19 static void acpi_tb_fix_string(char *string, acpi_size length); 39 static void acpi_tb_fix_string(char *string, acpi_size length) in acpi_tb_fix_string()
|
D | uttrack.c | 36 acpi_size size, 91 void *acpi_ut_allocate_and_track(acpi_size size, in acpi_ut_allocate_and_track() 153 void *acpi_ut_allocate_zeroed_and_track(acpi_size size, in acpi_ut_allocate_zeroed_and_track() 332 acpi_size size, in acpi_ut_track_allocation()
|
/linux-6.6.21/tools/power/acpi/os_specific/service_layers/ |
D | osunixmap.c | 40 static acpi_size acpi_os_get_page_size(void) in acpi_os_get_page_size() 63 void *acpi_os_map_memory(acpi_physical_address where, acpi_size length) in acpi_os_map_memory() 67 acpi_size page_size; in acpi_os_map_memory() 109 void acpi_os_unmap_memory(void *where, acpi_size length) in acpi_os_unmap_memory() 112 acpi_size page_size; in acpi_os_unmap_memory()
|
D | osunixxf.c | 491 void *acpi_os_map_memory(acpi_physical_address where, acpi_size length) in acpi_os_map_memory() 494 return (ACPI_TO_POINTER((acpi_size)where)); in acpi_os_map_memory() 511 void acpi_os_unmap_memory(void *where, acpi_size length) in acpi_os_unmap_memory() 530 void *acpi_os_allocate(acpi_size size) in acpi_os_allocate() 551 void *acpi_os_allocate_zeroed(acpi_size size) in acpi_os_allocate_zeroed() 1173 u8 acpi_os_readable(void *pointer, acpi_size length) in acpi_os_readable() 1192 u8 acpi_os_writable(void *pointer, acpi_size length) in acpi_os_writable()
|
/linux-6.6.21/include/acpi/ |
D | actypes.h | 127 typedef u64 acpi_size; typedef 168 typedef u32 acpi_size; typedef 214 #define acpi_cpu_flags acpi_size 339 #define ACPI_ALLOCATE(a) acpi_ut_allocate_and_track ((acpi_size) (a), ACPI_MEM_PARAM… 340 #define ACPI_ALLOCATE_ZEROED(a) acpi_ut_allocate_zeroed_and_track ((acpi_size) (a), ACPI_ME… 348 #define ACPI_ALLOCATE(a) acpi_os_allocate ((acpi_size) (a)) 349 #define ACPI_ALLOCATE_ZEROED(a) acpi_os_allocate_zeroed ((acpi_size) (a)) 503 #define ACPI_ADD_PTR(t, a, b) ACPI_CAST_PTR (t, (ACPI_CAST_PTR (u8, (a)) + (acpi_size)(b)… 504 #define ACPI_SUB_PTR(t, a, b) ACPI_CAST_PTR (t, (ACPI_CAST_PTR (u8, (a)) - (acpi_size)(b)… 505 #define ACPI_PTR_DIFF(a, b) ((acpi_size) (ACPI_CAST_PTR (u8, (a)) - ACPI_CAST_PTR (u8, … [all …]
|
D | acpi_io.h | 11 acpi_size size) in acpi_os_ioremap() 20 *acpi_os_map_iomem(acpi_physical_address phys, acpi_size size); 21 void __ref acpi_os_unmap_iomem(void __iomem *virt, acpi_size size);
|
D | acpiosxf.h | 171 void *acpi_os_allocate(acpi_size size); 175 void *acpi_os_allocate_zeroed(acpi_size size); 183 void *acpi_os_map_memory(acpi_physical_address where, acpi_size length); 187 void acpi_os_unmap_memory(void *logical_address, acpi_size size); 310 u8 acpi_os_readable(void *pointer, acpi_size length); 314 u8 acpi_os_writable(void *pointer, acpi_size length);
|
/linux-6.6.21/include/acpi/platform/ |
D | aclinuxex.h | 50 static inline void *acpi_os_allocate(acpi_size size) in acpi_os_allocate() 55 static inline void *acpi_os_allocate_zeroed(acpi_size size) in acpi_os_allocate_zeroed() 123 static inline u8 acpi_os_readable(void *pointer, acpi_size length) in acpi_os_readable()
|
/linux-6.6.21/drivers/platform/x86/ |
D | mxm-wmi.c | 37 struct acpi_buffer input = { (acpi_size)sizeof(args), &args }; in mxm_wmi_call_mxds() 60 struct acpi_buffer input = { (acpi_size)sizeof(args), &args }; in mxm_wmi_call_mxmx()
|