Home
last modified time | relevance | path

Searched refs:ACPI_NAMESEG_SIZE (Results 1 – 25 of 28) sorted by relevance

12

/linux-6.6.21/drivers/acpi/acpica/
Dnsutils.c181 info->length = (ACPI_NAMESEG_SIZE * info->num_segments) + in acpi_ns_get_internal_name_length()
252 for (i = 0; i < ACPI_NAMESEG_SIZE; i++) { in acpi_ns_build_internal_name()
277 result += ACPI_NAMESEG_SIZE; in acpi_ns_build_internal_name()
496 j += ACPI_NAMESEG_SIZE; in acpi_ns_externalize_name()
497 names_index += ACPI_NAMESEG_SIZE; in acpi_ns_externalize_name()
Dexnames.c56 size_needed = 1 + (ACPI_NAMESEG_SIZE * num_name_segs) + 2 + 1; in acpi_ex_allocate_name_string()
59 prefix_count + (ACPI_NAMESEG_SIZE * num_name_segs) + 2 + 1; in acpi_ex_allocate_name_string()
144 (index < ACPI_NAMESEG_SIZE) in acpi_ex_name_segment()
Dtbfind.c68 header.signature, ACPI_NAMESEG_SIZE)) { in acpi_tb_find_table()
97 header.signature, ACPI_NAMESEG_SIZE) && (!oem_id[0] in acpi_tb_find_table()
Dtbprint.c73 acpi_tb_fix_string(out_header->signature, ACPI_NAMESEG_SIZE); in acpi_tb_cleanup_table_header()
76 acpi_tb_fix_string(out_header->asl_compiler_id, ACPI_NAMESEG_SIZE); in acpi_tb_cleanup_table_header()
Dnsnames.c108 ((char *)buffer->pointer)[ACPI_NAMESEG_SIZE] = 0; in acpi_ns_handle_to_name()
197 char name[ACPI_NAMESEG_SIZE]; in acpi_ns_build_normalized_path()
445 for (i = 0; (i < ACPI_NAMESEG_SIZE) && *input_path; i++) { in acpi_ns_normalize_pathname()
Dpsargs.c153 end += 1 + (2 * ACPI_NAMESEG_SIZE); in acpi_ps_get_next_namestring()
160 end += 2 + (*(end + 1) * ACPI_NAMESEG_SIZE); in acpi_ps_get_next_namestring()
167 end += ACPI_NAMESEG_SIZE; in acpi_ps_get_next_namestring()
525 parser_state->aml += ACPI_NAMESEG_SIZE; in acpi_ps_get_next_field()
Devgpeinit.c303 char name[ACPI_NAMESEG_SIZE + 1]; in acpi_ev_match_gpe_method()
321 name[ACPI_NAMESEG_SIZE] = 0; in acpi_ev_match_gpe_method()
Dutascii.c33 for (i = 0; i < ACPI_NAMESEG_SIZE; i++) { in acpi_ut_valid_nameseg()
Dutstring.c152 for (i = 0; i < ACPI_NAMESEG_SIZE; i++) { in acpi_ut_repair_name()
Dacdebug.h40 char name_seg[ACPI_NAMESEG_SIZE + 1];
Daclocal.h296 char name[ACPI_NAMESEG_SIZE];
373 char name[ACPI_NAMESEG_SIZE];
Ddbmethod.c580 info.name_seg[ACPI_NAMESEG_SIZE] = 0; in acpi_db_evaluate_all()
Dnsaccess.c717 path += ACPI_NAMESEG_SIZE; in acpi_ns_lookup()
Dnsdump.c73 pathname += ACPI_NAMESEG_SIZE; in acpi_ns_print_pathname()
Dnsrepair2.c28 char name[ACPI_NAMESEG_SIZE];
Ddbnames.c358 if (strlen(name_arg) > ACPI_NAMESEG_SIZE) { in acpi_db_find_name_in_namespace()
/linux-6.6.21/tools/power/acpi/tools/acpidump/
Dapfiles.c106 char filename[ACPI_NAMESEG_SIZE + 16]; in ap_write_to_binary_file()
128 filename[ACPI_NAMESEG_SIZE] = 0; in ap_write_to_binary_file()
Dapdump.c294 char local_signature[ACPI_NAMESEG_SIZE + 1]; in ap_dump_table_by_name()
301 if (strlen(signature) != ACPI_NAMESEG_SIZE) { in ap_dump_table_by_name()
/linux-6.6.21/tools/power/acpi/os_specific/service_layers/
Doslinuxtbl.c22 char signature[ACPI_NAMESEG_SIZE];
998 char temp_name[ACPI_NAMESEG_SIZE]; in osl_list_customized_tables()
1161 if (strlen(filename) < ACPI_NAMESEG_SIZE) { in osl_table_name_from_file()
1167 if (isdigit((int)filename[ACPI_NAMESEG_SIZE])) { in osl_table_name_from_file()
1168 sscanf(&filename[ACPI_NAMESEG_SIZE], "%u", instance); in osl_table_name_from_file()
1169 } else if (strlen(filename) != ACPI_NAMESEG_SIZE) { in osl_table_name_from_file()
1315 char temp_name[ACPI_NAMESEG_SIZE]; in osl_get_customized_table()
/linux-6.6.21/include/acpi/
Dactypes.h378 #define ACPI_NAMESEG_SIZE 4 /* Fixed by ACPI spec */ macro
524 …SEG(a,b) (!strncmp (ACPI_CAST_PTR (char, (a)), ACPI_CAST_PTR (char, (b)), ACPI_NAMESEG_SIZE))
525 …t,src) (strncpy (ACPI_CAST_PTR (char, (dest)), ACPI_CAST_PTR (char, (src)), ACPI_NAMESEG_SIZE))
535 strnlen (a, ACPI_NAMESEG_SIZE) == ACPI_NAMESEG_SIZE)
Dactbl.h69 char signature[ACPI_NAMESEG_SIZE]; /* ASCII table signature */
76 char asl_compiler_id[ACPI_NAMESEG_SIZE]; /* ASCII ASL compiler vendor ID */
/linux-6.6.21/drivers/acpi/
Dacpi_configfs.c106 return sysfs_emit(str, "%.*s\n", ACPI_NAMESEG_SIZE, h->signature); in acpi_table_signature_show()
167 return sysfs_emit(str, "%.*s\n", ACPI_NAMESEG_SIZE, h->asl_compiler_id); in acpi_table_asl_compiler_id_show()
Dsysfs.c310 char name[ACPI_NAMESEG_SIZE];
312 char filename[ACPI_NAMESEG_SIZE+ACPI_INST_SIZE];
365 table_attr->filename[ACPI_NAMESEG_SIZE] = '\0'; in acpi_table_attr_init()
Dprmt.c43 char signature[ACPI_NAMESEG_SIZE];
/linux-6.6.21/drivers/thermal/intel/int340x_thermal/
Dacpi_thermal_rel.c360 memcpy(name, buffer.pointer, ACPI_NAMESEG_SIZE); in get_single_name()

12