Searched refs:crc_new (Results 1 – 1 of 1) sorted by relevance
1329 uint16_t crc_new; in phHal_Host_CalcCrc16() local1333 crc_new = (uint8_t)(crc >> 8) | (crc << 8); in phHal_Host_CalcCrc16()1334 crc_new ^= p[i]; in phHal_Host_CalcCrc16()1335 crc_new ^= (uint8_t)(crc_new & 0xff) >> 4; in phHal_Host_CalcCrc16()1336 crc_new ^= crc_new << 12; in phHal_Host_CalcCrc16()1337 crc_new ^= (crc_new & 0xff) << 5; in phHal_Host_CalcCrc16()1338 crc = crc_new; in phHal_Host_CalcCrc16()