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