Lines Matching refs:venc_write_reg

268 static inline void venc_write_reg(struct venc_device *venc, int idx, u32 val)
284 venc_write_reg(venc, VENC_LLEN, config->llen);
285 venc_write_reg(venc, VENC_FLENS, config->flens);
286 venc_write_reg(venc, VENC_CC_CARR_WSS_CARR, config->cc_carr_wss_carr);
287 venc_write_reg(venc, VENC_C_PHASE, config->c_phase);
288 venc_write_reg(venc, VENC_GAIN_U, config->gain_u);
289 venc_write_reg(venc, VENC_GAIN_V, config->gain_v);
290 venc_write_reg(venc, VENC_GAIN_Y, config->gain_y);
291 venc_write_reg(venc, VENC_BLACK_LEVEL, config->black_level);
292 venc_write_reg(venc, VENC_BLANK_LEVEL, config->blank_level);
293 venc_write_reg(venc, VENC_M_CONTROL, config->m_control);
294 venc_write_reg(venc, VENC_BSTAMP_WSS_DATA, config->bstamp_wss_data);
295 venc_write_reg(venc, VENC_S_CARR, config->s_carr);
296 venc_write_reg(venc, VENC_L21__WC_CTL, config->l21__wc_ctl);
297 venc_write_reg(venc, VENC_SAVID__EAVID, config->savid__eavid);
298 venc_write_reg(venc, VENC_FLEN__FAL, config->flen__fal);
299 venc_write_reg(venc, VENC_LAL__PHASE_RESET, config->lal__phase_reset);
300 venc_write_reg(venc, VENC_HS_INT_START_STOP_X,
302 venc_write_reg(venc, VENC_HS_EXT_START_STOP_X,
304 venc_write_reg(venc, VENC_VS_INT_START_X, config->vs_int_start_x);
305 venc_write_reg(venc, VENC_VS_INT_STOP_X__VS_INT_START_Y,
307 venc_write_reg(venc, VENC_VS_INT_STOP_Y__VS_EXT_START_X,
309 venc_write_reg(venc, VENC_VS_EXT_STOP_X__VS_EXT_START_Y,
311 venc_write_reg(venc, VENC_VS_EXT_STOP_Y, config->vs_ext_stop_y);
312 venc_write_reg(venc, VENC_AVID_START_STOP_X, config->avid_start_stop_x);
313 venc_write_reg(venc, VENC_AVID_START_STOP_Y, config->avid_start_stop_y);
314 venc_write_reg(venc, VENC_FID_INT_START_X__FID_INT_START_Y,
316 venc_write_reg(venc, VENC_FID_INT_OFFSET_Y__FID_EXT_START_X,
318 venc_write_reg(venc, VENC_FID_EXT_START_Y__FID_EXT_OFFSET_Y,
321 venc_write_reg(venc, VENC_DAC_B__DAC_C,
323 venc_write_reg(venc, VENC_VIDOUT_CTRL, config->vidout_ctrl);
324 venc_write_reg(venc, VENC_HFLTR_CTRL, config->hfltr_ctrl);
325 venc_write_reg(venc, VENC_X_COLOR, config->x_color);
326 venc_write_reg(venc, VENC_LINE21, config->line21);
327 venc_write_reg(venc, VENC_LN_SEL, config->ln_sel);
328 venc_write_reg(venc, VENC_HTRIGGER_VTRIGGER, config->htrigger_vtrigger);
329 venc_write_reg(venc, VENC_TVDETGP_INT_START_STOP_X,
331 venc_write_reg(venc, VENC_TVDETGP_INT_START_STOP_Y,
333 venc_write_reg(venc, VENC_GEN_CTRL, config->gen_ctrl);
334 venc_write_reg(venc, VENC_F_CONTROL, config->f_control);
335 venc_write_reg(venc, VENC_SYNC_CTRL, config->sync_ctrl);
342 venc_write_reg(venc, VENC_F_CONTROL, 1<<8);
406 venc_write_reg(venc, VENC_OUTPUT_CONTROL, l);
421 venc_write_reg(venc, VENC_OUTPUT_CONTROL, 0);
431 venc_write_reg(venc, VENC_OUTPUT_CONTROL, 0);