Searched refs:BITS_PER_NIBBLE (Results 1 – 2 of 2) sorted by relevance
22 for (i = 0; i < sizeof(crc) * NIBBLES_PER_BYTE; ++i, crc >>= BITS_PER_NIBBLE) { in fpga_ice40_crc_to_str()23 nibble = crc & GENMASK(BITS_PER_NIBBLE, 0); in fpga_ice40_crc_to_str()
64 #define BITS_PER_NIBBLE (__CHAR_BIT__ / 2) macro67 #define NIBBLES_PER_BYTE (BITS_PER_BYTE / BITS_PER_NIBBLE)