Lines Matching refs:crc4
147 u8 crc4; in drm_dp_encode_sideband_msg_hdr() local
155 crc4 = drm_dp_msg_header_crc4(buf, (idx * 2) - 1); in drm_dp_encode_sideband_msg_hdr()
156 buf[idx - 1] |= (crc4 & 0xf); in drm_dp_encode_sideband_msg_hdr()
164 u8 crc4; in drm_dp_decode_sideband_msg_hdr() local
174 crc4 = drm_dp_msg_header_crc4(buf, (len * 2) - 1); in drm_dp_decode_sideband_msg_hdr()
176 if ((crc4 & 0xf) != (buf[len - 1] & 0xf)) { in drm_dp_decode_sideband_msg_hdr()
177 DRM_DEBUG_KMS("crc4 mismatch 0x%x 0x%x\n", crc4, buf[len - 1]); in drm_dp_decode_sideband_msg_hdr()
301 u8 crc4; in drm_dp_crc_sideband_chunk_req() local
302 crc4 = drm_dp_msg_data_crc4(msg, len); in drm_dp_crc_sideband_chunk_req()
303 msg[len] = crc4; in drm_dp_crc_sideband_chunk_req()
322 u8 crc4; in drm_dp_sideband_msg_build() local
365 crc4 = drm_dp_msg_data_crc4(msg->chunk, msg->curchunk_len - 1); in drm_dp_sideband_msg_build()