Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mfd/
H A Drave-sp.c284 const size_t checksum_length = sp->variant->checksum->length; in rave_sp_write() local
290 if (WARN_ON(checksum_length > sizeof(crc))) in rave_sp_write()
300 dest = stuff(dest, crc, checksum_length); in rave_sp_write()
441 const size_t checksum_length = sp->variant->checksum->length; in rave_sp_receive_frame() local
442 const size_t payload_length = length - checksum_length; in rave_sp_receive_frame()
447 if (unlikely(checksum_length > sizeof(crc_calculated))) { in rave_sp_receive_frame()
455 if (unlikely(length <= checksum_length)) { in rave_sp_receive_frame()
463 if (memcmp(crc_calculated, crc_reported, checksum_length)) { in rave_sp_receive_frame()
/openbmc/linux/drivers/hwmon/
H A Daquacomputer_d5next.c540 int checksum_length; member
665 priv->checksum_length); in aqc_send_ctrl_data()
1793 priv->checksum_length = priv->buffer_size - 3; in aqc_probe()