Searched refs:bitrev16 (Results 1 – 8 of 8) sorted by relevance
141 address = bitrev16((data->bits >> 29) & 0x1fff) >> 3; in ir_sanyo_decode()196 raw = ((u64)(bitrev16(scancode >> 8) & 0xfff8) << (8 + 8 + 13 - 3)) | in ir_sanyo_encode()197 ((u64)(bitrev16(~scancode >> 8) & 0xfff8) << (8 + 8 + 0 - 3)) | in ir_sanyo_encode()
42 addr = bitrev16(addr) >> 1; in slic_write()57 addr = bitrev16(addr) >> 1; in slic_read()
82 #define bitrev16(x) \ macro
261 bcsp_txmsg_crc = bitrev16(bcsp_txmsg_crc); in bcsp_prepare_pkt()629 if (bitrev16(bcsp->message_crc) != bscp_get_crc(bcsp)) { in bcsp_recv()631 bitrev16(bcsp->message_crc), in bcsp_recv()
51 *__crc16 = cpu_to_le16(bitrev16(crc16(0, data, len))); in atmel_i2c_checksum()
1216 u32 crc = bitrev16(crc16(0xFFFF, buffer, len)); in smsc_crc()
1521 return bitrev16(crc16(0xFFFF, buffer, len)); in smsc_crc()
2923 return bitrev16(crc16(0xFFFF, buf, len)); in lan743x_pm_wakeframe_crc16()