Lines Matching refs:venc_write_reg

259 static inline void venc_write_reg(int idx, u32 val)  in venc_write_reg()  function
274 venc_write_reg(VENC_LLEN, config->llen); in venc_write_config()
275 venc_write_reg(VENC_FLENS, config->flens); in venc_write_config()
276 venc_write_reg(VENC_CC_CARR_WSS_CARR, config->cc_carr_wss_carr); in venc_write_config()
277 venc_write_reg(VENC_C_PHASE, config->c_phase); in venc_write_config()
278 venc_write_reg(VENC_GAIN_U, config->gain_u); in venc_write_config()
279 venc_write_reg(VENC_GAIN_V, config->gain_v); in venc_write_config()
280 venc_write_reg(VENC_GAIN_Y, config->gain_y); in venc_write_config()
281 venc_write_reg(VENC_BLACK_LEVEL, config->black_level); in venc_write_config()
282 venc_write_reg(VENC_BLANK_LEVEL, config->blank_level); in venc_write_config()
283 venc_write_reg(VENC_M_CONTROL, config->m_control); in venc_write_config()
284 venc_write_reg(VENC_BSTAMP_WSS_DATA, config->bstamp_wss_data | in venc_write_config()
286 venc_write_reg(VENC_S_CARR, config->s_carr); in venc_write_config()
287 venc_write_reg(VENC_L21__WC_CTL, config->l21__wc_ctl); in venc_write_config()
288 venc_write_reg(VENC_SAVID__EAVID, config->savid__eavid); in venc_write_config()
289 venc_write_reg(VENC_FLEN__FAL, config->flen__fal); in venc_write_config()
290 venc_write_reg(VENC_LAL__PHASE_RESET, config->lal__phase_reset); in venc_write_config()
291 venc_write_reg(VENC_HS_INT_START_STOP_X, config->hs_int_start_stop_x); in venc_write_config()
292 venc_write_reg(VENC_HS_EXT_START_STOP_X, config->hs_ext_start_stop_x); in venc_write_config()
293 venc_write_reg(VENC_VS_INT_START_X, config->vs_int_start_x); in venc_write_config()
294 venc_write_reg(VENC_VS_INT_STOP_X__VS_INT_START_Y, in venc_write_config()
296 venc_write_reg(VENC_VS_INT_STOP_Y__VS_EXT_START_X, in venc_write_config()
298 venc_write_reg(VENC_VS_EXT_STOP_X__VS_EXT_START_Y, in venc_write_config()
300 venc_write_reg(VENC_VS_EXT_STOP_Y, config->vs_ext_stop_y); in venc_write_config()
301 venc_write_reg(VENC_AVID_START_STOP_X, config->avid_start_stop_x); in venc_write_config()
302 venc_write_reg(VENC_AVID_START_STOP_Y, config->avid_start_stop_y); in venc_write_config()
303 venc_write_reg(VENC_FID_INT_START_X__FID_INT_START_Y, in venc_write_config()
305 venc_write_reg(VENC_FID_INT_OFFSET_Y__FID_EXT_START_X, in venc_write_config()
307 venc_write_reg(VENC_FID_EXT_START_Y__FID_EXT_OFFSET_Y, in venc_write_config()
310 venc_write_reg(VENC_DAC_B__DAC_C, venc_read_reg(VENC_DAC_B__DAC_C)); in venc_write_config()
311 venc_write_reg(VENC_VIDOUT_CTRL, config->vidout_ctrl); in venc_write_config()
312 venc_write_reg(VENC_HFLTR_CTRL, config->hfltr_ctrl); in venc_write_config()
313 venc_write_reg(VENC_X_COLOR, config->x_color); in venc_write_config()
314 venc_write_reg(VENC_LINE21, config->line21); in venc_write_config()
315 venc_write_reg(VENC_LN_SEL, config->ln_sel); in venc_write_config()
316 venc_write_reg(VENC_HTRIGGER_VTRIGGER, config->htrigger_vtrigger); in venc_write_config()
317 venc_write_reg(VENC_TVDETGP_INT_START_STOP_X, in venc_write_config()
319 venc_write_reg(VENC_TVDETGP_INT_START_STOP_Y, in venc_write_config()
321 venc_write_reg(VENC_GEN_CTRL, config->gen_ctrl); in venc_write_config()
322 venc_write_reg(VENC_F_CONTROL, config->f_control); in venc_write_config()
323 venc_write_reg(VENC_SYNC_CTRL, config->sync_ctrl); in venc_write_config()
330 venc_write_reg(VENC_F_CONTROL, 1<<8); in venc_reset()
406 venc_write_reg(VENC_OUTPUT_CONTROL, l); in venc_power_on()
423 venc_write_reg(VENC_OUTPUT_CONTROL, 0); in venc_power_on()
435 venc_write_reg(VENC_OUTPUT_CONTROL, 0); in venc_power_off()
551 venc_write_reg(VENC_BSTAMP_WSS_DATA, config->bstamp_wss_data | in venc_set_wss()