Lines Matching refs:crc8
11 #include <linux/crc8.h>
95 * PM1: upper two bytes, crc8, lower two bytes, crc8
96 * PM2P5: upper two bytes, crc8, lower two bytes, crc8
97 * PM4: upper two bytes, crc8, lower two bytes, crc8
98 * PM10: upper two bytes, crc8, lower two bytes, crc8
110 buf[4] = crc8(sps30_crc8_table, &buf[2], 2, CRC8_INIT_VALUE);
132 buf[4] = crc8(sps30_crc8_table, &buf[2], 2, CRC8_INIT_VALUE);
135 buf[7] = crc8(sps30_crc8_table, &buf[5], 2, CRC8_INIT_VALUE);
145 u8 crc = crc8(sps30_crc8_table, &buf[i], 2, CRC8_INIT_VALUE);