crc_info
memcpy(crc_cpy, crtc_ctx->crc_info.crc, sizeof(struct crc_data) * MAX_CRC_WINDOW_NUM);
crtc_ctx->crc_info.crc[i].crc_ready = false;
crtc_ctx->crc_info.crc[i].crc_ready = false;
crtc_ctx->crc_info.crc[i].crc_ready = false;
crtc_ctx->crc_info.crc[i].crc_ready = true;
spin_lock_irqsave(&crtc_ctx->crc_info.lock, flags1);
crtc_ctx->crc_info.crc[i].crc_R = crc_r[i];
crtc_ctx->crc_info.crc[i].crc_G = crc_g[i];
crtc_ctx->crc_info.crc[i].crc_B = crc_b[i];
crtc_ctx->crc_info.crc[i].frame_count = 0;
if (!crtc_ctx->crc_info.crc[i].crc_ready)
if (reset_crc_frame_count[i] || crtc_ctx->crc_info.crc[i].frame_count == UINT_MAX)
crtc_ctx->crc_info.crc[i].frame_count = 0;
crtc_ctx->crc_info.crc[i].frame_count += 1;
spin_unlock_irqrestore(&crtc_ctx->crc_info.lock, flags1);
complete_all(&crtc_ctx->crc_info.completion);
spin_lock_init(&crtc_ctx[i].crc_info.lock);
struct crc_info crc_info;