Home
last modified time | relevance | path

Searched refs:nibble (Results 1 – 3 of 3) sorted by relevance

/u-boot/tools/
A Dgen_ethaddr_crc.c19 uint8_t nibble_to_hex(const char *nibble, bool lo) in nibble_to_hex() argument
21 return (strtol(nibble, NULL, 16) << (lo ? 0 : 4)) & (lo ? 0x0f : 0xf0); in nibble_to_hex()
30 char nibble[2] = { 0x00, '\n' }; /* for strtol */ in process_mac() local
32 nibble[0] = *mac_address++; in process_mac()
33 if (isxdigit(nibble[0])) { in process_mac()
34 if (isupper(nibble[0])) in process_mac()
35 nibble[0] = tolower(nibble[0]); in process_mac()
36 ethaddr[i >> 1] |= nibble_to_hex(nibble, (i % 2) != 0); in process_mac()
/u-boot/arch/x86/include/asm/acpi/
A Ddebug.asl64 /* DBGN - Send a single hex nibble */
/u-boot/drivers/usb/gadget/
A Dether.c1981 static u8 nibble(unsigned char c) in nibble() function
2001 num = nibble(*str++) << 4; in get_ether_addr()
2002 num |= (nibble(*str++)); in get_ether_addr()

Completed in 9 milliseconds