Lines Matching refs:value
294 u32 value; in vpif_set_mode_info() local
296 value = (config->eav2sav & vpifregs[config_channel_id].width_mask); in vpif_set_mode_info()
297 value <<= VPIF_CH_LEN_SHIFT; in vpif_set_mode_info()
298 value |= (config->sav2eav & vpifregs[config_channel_id].width_mask); in vpif_set_mode_info()
299 regw(value, vpifregs[channel_id].h_cfg); in vpif_set_mode_info()
301 value = (config->l1 & vpifregs[config_channel_id].len_mask); in vpif_set_mode_info()
302 value <<= VPIF_CH_LEN_SHIFT; in vpif_set_mode_info()
303 value |= (config->l3 & vpifregs[config_channel_id].len_mask); in vpif_set_mode_info()
304 regw(value, vpifregs[channel_id].v_cfg_00); in vpif_set_mode_info()
306 value = (config->l5 & vpifregs[config_channel_id].len_mask); in vpif_set_mode_info()
307 value <<= VPIF_CH_LEN_SHIFT; in vpif_set_mode_info()
308 value |= (config->l7 & vpifregs[config_channel_id].len_mask); in vpif_set_mode_info()
309 regw(value, vpifregs[channel_id].v_cfg_01); in vpif_set_mode_info()
311 value = (config->l9 & vpifregs[config_channel_id].len_mask); in vpif_set_mode_info()
312 value <<= VPIF_CH_LEN_SHIFT; in vpif_set_mode_info()
313 value |= (config->l11 & vpifregs[config_channel_id].len_mask); in vpif_set_mode_info()
314 regw(value, vpifregs[channel_id].v_cfg_02); in vpif_set_mode_info()
316 value = (config->vsize & vpifregs[config_channel_id].len_mask); in vpif_set_mode_info()
317 regw(value, vpifregs[channel_id].v_cfg); in vpif_set_mode_info()
329 u32 value, ch_nip, reg; in config_vpif_params() local
363 value = regr(reg); in config_vpif_params()
365 value &= ~(0x3u << in config_vpif_params()
367 value |= ((vpifparams->params.data_sz) << in config_vpif_params()
369 regw(value, reg); in config_vpif_params()
405 u32 value; in vpif_set_vbi_display_params() local
407 value = 0x3F8 & (vbiparams->hstart0); in vpif_set_vbi_display_params()
408 value |= 0x3FFFFFF & ((vbiparams->vstart0) << 16); in vpif_set_vbi_display_params()
409 regw(value, vpifregs[channel_id].vanc0_strt); in vpif_set_vbi_display_params()
411 value = 0x3F8 & (vbiparams->hstart1); in vpif_set_vbi_display_params()
412 value |= 0x3FFFFFF & ((vbiparams->vstart1) << 16); in vpif_set_vbi_display_params()
413 regw(value, vpifregs[channel_id].vanc1_strt); in vpif_set_vbi_display_params()
415 value = 0x3F8 & (vbiparams->hsize0); in vpif_set_vbi_display_params()
416 value |= 0x3FFFFFF & ((vbiparams->vsize0) << 16); in vpif_set_vbi_display_params()
417 regw(value, vpifregs[channel_id].vanc0_size); in vpif_set_vbi_display_params()
419 value = 0x3F8 & (vbiparams->hsize1); in vpif_set_vbi_display_params()
420 value |= 0x3FFFFFF & ((vbiparams->vsize1) << 16); in vpif_set_vbi_display_params()
421 regw(value, vpifregs[channel_id].vanc1_size); in vpif_set_vbi_display_params()