Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/mfd/
Drave-sp.c445 u8 crc_calculated[RAVE_SP_CHECKSUM_SIZE]; in rave_sp_receive_frame() local
447 if (unlikely(checksum_length > sizeof(crc_calculated))) { in rave_sp_receive_frame()
461 crc_calculated); in rave_sp_receive_frame()
463 if (memcmp(crc_calculated, crc_reported, checksum_length)) { in rave_sp_receive_frame()
/Linux-v6.6/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-regmap.c250 u16 crc_received, crc_calculated; in mcp251xfd_regmap_crc_read_check_crc() local
253 crc_calculated = mcp251xfd_crc16_compute2(&buf_tx->cmd, in mcp251xfd_regmap_crc_read_check_crc()
257 if (crc_received != crc_calculated) in mcp251xfd_regmap_crc_read_check_crc()