Searched refs:checksum_length (Results 1 – 2 of 2) sorted by relevance
284 const size_t checksum_length = sp->variant->checksum->length; in rave_sp_write() local290 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() local442 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()
282 int checksum_length; member376 checksum = crc16(0xffff, priv->buffer + priv->checksum_start, priv->checksum_length); in aqc_send_ctrl_data()978 priv->checksum_length = priv->buffer_size - 3; in aqc_probe()