Home
last modified time | relevance | path

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

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