Searched refs:crc7 (Results 1 – 1 of 1) sorted by relevance
175 static uint8 crc7(uint8 crc, const uint8 *buffer, uint32 len) in crc7() function292 bc[len-1] = (crc7(0x7f, (const uint8 *)&bc[0], len-1)) << 1; in spi_cmd()472 wb[len-1] = (crc7(0x7f, (const uint8_t *)&wb[0], len-1)) << 1; in spi_cmd_complete()