Lines Matching refs:next
156 INLINE OI_CHAR crc_iterate(uint8_t oldcrc, uint8_t next) { in crc_iterate() argument
159 idx = oldcrc ^ next; in crc_iterate()
170 INLINE OI_CHAR crc_iterate_top4(uint8_t oldcrc, uint8_t next) { in crc_iterate_top4() argument
173 idx = (oldcrc ^ next) >> 4; in crc_iterate_top4()
186 INLINE uint8_t crc_iterate_top4(uint8_t oldcrc, uint8_t next) { in crc_iterate_top4() argument
187 return (oldcrc << 4) ^ crc8_narrow[(oldcrc ^ next) >> 4]; in crc_iterate_top4()
191 INLINE uint8_t crc_iterate(uint8_t crc, uint8_t next) { in crc_iterate() argument
192 crc = (crc << 4) ^ crc8_narrow[(crc ^ next) >> 4]; in crc_iterate()
193 crc = (crc << 4) ^ crc8_narrow[((crc >> 4) ^ next) & 0xf]; in crc_iterate()
199 INLINE uint8_t crc_iterate(uint8_t crc, uint8_t next) { in crc_iterate() argument
200 return crc8_narrow[crc ^ next]; in crc_iterate()