Searched refs:currByte (Results 1 – 3 of 3) sorted by relevance
96 uint8_t currByte = *src; in swizzle_bit_to_grayscale() local98 dst[0] = ((currByte >> (7-bitIndex)) & 1) ? GRAYSCALE_WHITE : GRAYSCALE_BLACK; in swizzle_bit_to_grayscale()103 currByte = *(src += bitOffset / 8); in swizzle_bit_to_grayscale()104 dst[x] = ((currByte >> (7-bitIndex)) & 1) ? GRAYSCALE_WHITE : GRAYSCALE_BLACK; in swizzle_bit_to_grayscale()120 uint8_t currByte = *src; in swizzle_bit_to_n32() local122 dst[0] = ((currByte >> (7 - bitIndex)) & 1) ? SK_ColorWHITE : SK_ColorBLACK; in swizzle_bit_to_n32()127 currByte = *(src += bitOffset / 8); in swizzle_bit_to_n32()128 dst[x] = ((currByte >> (7 - bitIndex)) & 1) ? SK_ColorWHITE : SK_ColorBLACK; in swizzle_bit_to_n32()143 uint8_t currByte = *src; in swizzle_bit_to_565() local145 dst[0] = ((currByte >> (7 - bitIndex)) & 1) ? RGB565_WHITE : RGB565_BLACK; in swizzle_bit_to_565()[all …]
311 u8 currByte; /* byte for which to compute the CRC */ in fec_set_hwaddr() local317 currByte = mac[byte]; in fec_set_hwaddr()319 if ((currByte & 0x01) ^ (crc & 0x01)) { in fec_set_hwaddr()325 currByte >>= 1; in fec_set_hwaddr()