Home
last modified time | relevance | path

Searched refs:crc_calc (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/net/wireless/microchip/wilc1000/
Dspi.c407 u16 crc_calc; in spi_data_write() local
452 crc_calc = crc_itu_t(0xffff, &b[ix], nbytes); in spi_data_write()
453 crc[0] = crc_calc >> 8; in spi_data_write()
454 crc[1] = crc_calc; in spi_data_write()
489 u16 crc_calc, crc_recv; in wilc_spi_single_read() local
565 crc_calc = crc_itu_t(0xffff, r_data->data, 4); in wilc_spi_single_read()
566 if (crc_recv != crc_calc) { in wilc_spi_single_read()
569 crc_recv, crc_calc); in wilc_spi_single_read()
656 u16 crc_recv, crc_calc; in wilc_spi_dma_rw() local
764 crc_calc = crc_itu_t(0xffff, &b[ix], nbytes); in wilc_spi_dma_rw()
[all …]
/Linux-v6.6/drivers/iio/imu/
Dadis16480.c1105 u32 crc_calc; in adis16480_validate_crc() local
1112 crc_calc = crc32(~0, crc_buf, n_elem * 2); in adis16480_validate_crc()
1113 crc_calc ^= ~0; in adis16480_validate_crc()
1115 return (crc == crc_calc); in adis16480_validate_crc()