Home
last modified time | relevance | path

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

/openbmc/u-boot/tools/
H 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()
/openbmc/qemu/libdecnumber/dpd/
H A Ddecimal64.c753 uInt nibble; /* work */ in decDigitsFromDPD() local
797 nibble=bcd & 0x00f; in decDigitsFromDPD()
798 if (nibble) out=(Unit)(out+nibble*DECPOWERS[cut]); in decDigitsFromDPD()
809 nibble=bcd & 0x00f; in decDigitsFromDPD()
810 if (nibble) out=(Unit)(out+nibble*DECPOWERS[cut]); in decDigitsFromDPD()
815 nibble=bcd & 0x00f; in decDigitsFromDPD()
816 if (nibble) out=(Unit)(out+nibble*DECPOWERS[cut]); in decDigitsFromDPD()
/openbmc/u-boot/arch/x86/include/asm/acpi/
H A Ddebug.asl64 /* DBGN - Send a single hex nibble */
/openbmc/qemu/qapi/
H A Dcxl.json119 # @nibble-mask: Identifies one or more nibbles that the error affects
131 # @correction-mask: Bits within each nibble. Used in order of bits
132 # set in the nibble-mask. Up to 4 nibbles may be covered.
140 '*channel': 'uint8', '*rank': 'uint8', '*nibble-mask': 'uint32',
/openbmc/qemu/target/ppc/translate/
H A Dfp-impl.c.inc465 int nibble;
473 nibble = 7 - bfa;
474 shift = 4 * nibble;
484 tmask = tcg_constant_i32(1 << nibble);
H A Dfixedpoint-impl.c.inc1270 * the next nibble. Shift the double-word down one nibble,
/openbmc/qemu/target/arm/tcg/
H A Dt16.decode235 # The canonical nop has the second nibble as 0000, but the whole of the
/openbmc/u-boot/drivers/usb/gadget/
H A Dether.c1972 static u8 nibble(unsigned char c) in nibble() function
1992 num = nibble(*str++) << 4; in get_ether_addr()
1993 num |= (nibble(*str++)); in get_ether_addr()