Lines Matching refs:venc_write_reg

344 static inline void venc_write_reg(struct venc_device *venc, int idx, u32 val)  in venc_write_reg()  function
360 venc_write_reg(venc, VENC_LLEN, config->llen); in venc_write_config()
361 venc_write_reg(venc, VENC_FLENS, config->flens); in venc_write_config()
362 venc_write_reg(venc, VENC_CC_CARR_WSS_CARR, config->cc_carr_wss_carr); in venc_write_config()
363 venc_write_reg(venc, VENC_C_PHASE, config->c_phase); in venc_write_config()
364 venc_write_reg(venc, VENC_GAIN_U, config->gain_u); in venc_write_config()
365 venc_write_reg(venc, VENC_GAIN_V, config->gain_v); in venc_write_config()
366 venc_write_reg(venc, VENC_GAIN_Y, config->gain_y); in venc_write_config()
367 venc_write_reg(venc, VENC_BLACK_LEVEL, config->black_level); in venc_write_config()
368 venc_write_reg(venc, VENC_BLANK_LEVEL, config->blank_level); in venc_write_config()
369 venc_write_reg(venc, VENC_M_CONTROL, config->m_control); in venc_write_config()
370 venc_write_reg(venc, VENC_BSTAMP_WSS_DATA, config->bstamp_wss_data | in venc_write_config()
372 venc_write_reg(venc, VENC_S_CARR, config->s_carr); in venc_write_config()
373 venc_write_reg(venc, VENC_L21__WC_CTL, config->l21__wc_ctl); in venc_write_config()
374 venc_write_reg(venc, VENC_SAVID__EAVID, config->savid__eavid); in venc_write_config()
375 venc_write_reg(venc, VENC_FLEN__FAL, config->flen__fal); in venc_write_config()
376 venc_write_reg(venc, VENC_LAL__PHASE_RESET, config->lal__phase_reset); in venc_write_config()
377 venc_write_reg(venc, VENC_HS_INT_START_STOP_X, in venc_write_config()
379 venc_write_reg(venc, VENC_HS_EXT_START_STOP_X, in venc_write_config()
381 venc_write_reg(venc, VENC_VS_INT_START_X, config->vs_int_start_x); in venc_write_config()
382 venc_write_reg(venc, VENC_VS_INT_STOP_X__VS_INT_START_Y, in venc_write_config()
384 venc_write_reg(venc, VENC_VS_INT_STOP_Y__VS_EXT_START_X, in venc_write_config()
386 venc_write_reg(venc, VENC_VS_EXT_STOP_X__VS_EXT_START_Y, in venc_write_config()
388 venc_write_reg(venc, VENC_VS_EXT_STOP_Y, config->vs_ext_stop_y); in venc_write_config()
389 venc_write_reg(venc, VENC_AVID_START_STOP_X, config->avid_start_stop_x); in venc_write_config()
390 venc_write_reg(venc, VENC_AVID_START_STOP_Y, config->avid_start_stop_y); in venc_write_config()
391 venc_write_reg(venc, VENC_FID_INT_START_X__FID_INT_START_Y, in venc_write_config()
393 venc_write_reg(venc, VENC_FID_INT_OFFSET_Y__FID_EXT_START_X, in venc_write_config()
395 venc_write_reg(venc, VENC_FID_EXT_START_Y__FID_EXT_OFFSET_Y, in venc_write_config()
398 venc_write_reg(venc, VENC_DAC_B__DAC_C, in venc_write_config()
400 venc_write_reg(venc, VENC_VIDOUT_CTRL, config->vidout_ctrl); in venc_write_config()
401 venc_write_reg(venc, VENC_HFLTR_CTRL, config->hfltr_ctrl); in venc_write_config()
402 venc_write_reg(venc, VENC_X_COLOR, config->x_color); in venc_write_config()
403 venc_write_reg(venc, VENC_LINE21, config->line21); in venc_write_config()
404 venc_write_reg(venc, VENC_LN_SEL, config->ln_sel); in venc_write_config()
405 venc_write_reg(venc, VENC_HTRIGGER_VTRIGGER, config->htrigger_vtrigger); in venc_write_config()
406 venc_write_reg(venc, VENC_TVDETGP_INT_START_STOP_X, in venc_write_config()
408 venc_write_reg(venc, VENC_TVDETGP_INT_START_STOP_Y, in venc_write_config()
410 venc_write_reg(venc, VENC_GEN_CTRL, config->gen_ctrl); in venc_write_config()
411 venc_write_reg(venc, VENC_F_CONTROL, config->f_control); in venc_write_config()
412 venc_write_reg(venc, VENC_SYNC_CTRL, config->sync_ctrl); in venc_write_config()
419 venc_write_reg(venc, VENC_F_CONTROL, 1<<8); in venc_reset()
492 venc_write_reg(venc, VENC_OUTPUT_CONTROL, l); in venc_power_on()
509 venc_write_reg(venc, VENC_OUTPUT_CONTROL, 0); in venc_power_on()
519 venc_write_reg(venc, VENC_OUTPUT_CONTROL, 0); in venc_power_off()
656 venc_write_reg(venc, VENC_BSTAMP_WSS_DATA, config->bstamp_wss_data | in venc_set_wss()