Home
last modified time | relevance | path

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

12

/linux/drivers/acpi/acpica/
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A Dpsargs.c155 end += 1 + (2 * ACPI_NAMESEG_SIZE); in acpi_ps_get_next_namestring()
162 end += 2 + (*(end + 1) * ACPI_NAMESEG_SIZE); in acpi_ps_get_next_namestring()
169 end += ACPI_NAMESEG_SIZE; in acpi_ps_get_next_namestring()
527 parser_state->aml += ACPI_NAMESEG_SIZE; in acpi_ps_get_next_field()
H A 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()
H A Dutascii.c33 for (i = 0; i < ACPI_NAMESEG_SIZE; i++) { in acpi_ut_valid_nameseg()
H A Dutstring.c152 for (i = 0; i < ACPI_NAMESEG_SIZE; i++) { in acpi_ut_repair_name()
H A Dacdebug.h40 char name_seg[ACPI_NAMESEG_SIZE + 1];
H A Daclocal.h296 char name[ACPI_NAMESEG_SIZE];
373 char name[ACPI_NAMESEG_SIZE];
H A Ddbmethod.c580 info.name_seg[ACPI_NAMESEG_SIZE] = 0; in acpi_db_evaluate_all()
H A Dnsaccess.c717 path += ACPI_NAMESEG_SIZE; in acpi_ns_lookup()
H A Dnsdump.c73 pathname += ACPI_NAMESEG_SIZE; in acpi_ns_print_pathname()
H A Dnsrepair2.c28 char name[ACPI_NAMESEG_SIZE];
H A Ddbnames.c358 if (strlen(name_arg) > ACPI_NAMESEG_SIZE) { in acpi_db_find_name_in_namespace()
/linux/tools/power/acpi/os_specific/service_layers/
H A 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/tools/power/acpi/tools/acpidump/
H A 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()
H A 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/include/acpi/
H A 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)
H A Dactbl.h69 char signature[ACPI_NAMESEG_SIZE]; /* ASCII table signature */
76 char asl_compiler_id[ACPI_NAMESEG_SIZE]; /* ASCII ASL compiler vendor ID */
/linux/drivers/acpi/
H A 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()
H A 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()
H A Dprmt.c43 char signature[ACPI_NAMESEG_SIZE];
/linux/drivers/thermal/intel/int340x_thermal/
H A Dacpi_thermal_rel.c360 memcpy(name, buffer.pointer, ACPI_NAMESEG_SIZE); in get_single_name()

12