Lines Matching refs:crc4
277 u8 crc4; in drm_dp_encode_sideband_msg_hdr() local
286 crc4 = drm_dp_msg_header_crc4(buf, (idx * 2) - 1); in drm_dp_encode_sideband_msg_hdr()
287 buf[idx - 1] |= (crc4 & 0xf); in drm_dp_encode_sideband_msg_hdr()
296 u8 crc4; in drm_dp_decode_sideband_msg_hdr() local
307 crc4 = drm_dp_msg_header_crc4(buf, (len * 2) - 1); in drm_dp_decode_sideband_msg_hdr()
309 if ((crc4 & 0xf) != (buf[len - 1] & 0xf)) { in drm_dp_decode_sideband_msg_hdr()
310 drm_dbg_kms(mgr->dev, "crc4 mismatch 0x%x 0x%x\n", crc4, buf[len - 1]); in drm_dp_decode_sideband_msg_hdr()
725 u8 crc4; in drm_dp_crc_sideband_chunk_req() local
727 crc4 = drm_dp_msg_data_crc4(msg, len); in drm_dp_crc_sideband_chunk_req()
728 msg[len] = crc4; in drm_dp_crc_sideband_chunk_req()
777 u8 crc4; in drm_dp_sideband_append_payload() local
784 crc4 = drm_dp_msg_data_crc4(msg->chunk, msg->curchunk_len - 1); in drm_dp_sideband_append_payload()
785 if (crc4 != msg->chunk[msg->curchunk_len - 1]) in drm_dp_sideband_append_payload()