Lines Matching refs:crc4
214 u8 crc4; in drm_dp_encode_sideband_msg_hdr() local
222 crc4 = drm_dp_msg_header_crc4(buf, (idx * 2) - 1); in drm_dp_encode_sideband_msg_hdr()
223 buf[idx - 1] |= (crc4 & 0xf); in drm_dp_encode_sideband_msg_hdr()
231 u8 crc4; in drm_dp_decode_sideband_msg_hdr() local
241 crc4 = drm_dp_msg_header_crc4(buf, (len * 2) - 1); in drm_dp_decode_sideband_msg_hdr()
243 if ((crc4 & 0xf) != (buf[len - 1] & 0xf)) { in drm_dp_decode_sideband_msg_hdr()
244 DRM_DEBUG_KMS("crc4 mismatch 0x%x 0x%x\n", crc4, buf[len - 1]); in drm_dp_decode_sideband_msg_hdr()
374 u8 crc4; in drm_dp_crc_sideband_chunk_req() local
375 crc4 = drm_dp_msg_data_crc4(msg, len); in drm_dp_crc_sideband_chunk_req()
376 msg[len] = crc4; in drm_dp_crc_sideband_chunk_req()
395 u8 crc4; in drm_dp_sideband_msg_build() local
438 crc4 = drm_dp_msg_data_crc4(msg->chunk, msg->curchunk_len - 1); in drm_dp_sideband_msg_build()