Searched refs:nibble (Results 1 – 8 of 8) sorted by relevance
| /openbmc/u-boot/tools/ |
| H A D | gen_ethaddr_crc.c | 19 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 D | decimal64.c | 753 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 D | debug.asl | 64 /* DBGN - Send a single hex nibble */
|
| /openbmc/qemu/qapi/ |
| H A D | cxl.json | 119 # @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 D | fp-impl.c.inc | 465 int nibble; 473 nibble = 7 - bfa; 474 shift = 4 * nibble; 484 tmask = tcg_constant_i32(1 << nibble);
|
| H A D | fixedpoint-impl.c.inc | 1270 * the next nibble. Shift the double-word down one nibble,
|
| /openbmc/qemu/target/arm/tcg/ |
| H A D | t16.decode | 235 # The canonical nop has the second nibble as 0000, but the whole of the
|
| /openbmc/u-boot/drivers/usb/gadget/ |
| H A D | ether.c | 1972 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()
|