Home
last modified time | relevance | path

Searched refs:hex_char (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/drivers/acpi/acpica/
Duthex.c88 u8 acpi_ut_ascii_char_to_hex(int hex_char) in acpi_ut_ascii_char_to_hex() argument
93 if (hex_char <= '9') { in acpi_ut_ascii_char_to_hex()
94 return ((u8)(hex_char - '0')); in acpi_ut_ascii_char_to_hex()
99 if (hex_char <= 'F') { in acpi_ut_ascii_char_to_hex()
100 return ((u8)(hex_char - 0x37)); in acpi_ut_ascii_char_to_hex()
105 return ((u8)(hex_char - 0x57)); in acpi_ut_ascii_char_to_hex()
Ddbconvert.c28 acpi_status acpi_db_hex_char_to_value(int hex_char, u8 *return_value) in acpi_db_hex_char_to_value() argument
34 if (!isxdigit(hex_char)) { in acpi_db_hex_char_to_value()
38 if (hex_char <= 0x39) { in acpi_db_hex_char_to_value()
39 value = (u8)(hex_char - 0x30); in acpi_db_hex_char_to_value()
41 value = (u8)(toupper(hex_char) - 0x37); in acpi_db_hex_char_to_value()
Dacdebug.h99 acpi_status acpi_db_hex_char_to_value(int hex_char, u8 *return_value);
Dacutils.h229 u8 acpi_ut_ascii_char_to_hex(int hex_char);
/Linux-v5.10/tools/perf/util/
Dcpumap.c531 static char hex_char(unsigned char val) in hex_char() function
569 *ptr++ = hex_char(bits); in cpu_map__snprint_mask()