Lines Matching refs:channel_id
191 ret = vpif_set_video_params(vpif, ch->channel_id + 2); in vpif_start_streaming()
215 channel_first_int[VPIF_VIDEO_INDEX][ch->channel_id] = 1; in vpif_start_streaming()
216 if (VPIF_CHANNEL2_VIDEO == ch->channel_id) { in vpif_start_streaming()
224 if (VPIF_CHANNEL3_VIDEO == ch->channel_id || ycmux_mode == 2) { in vpif_start_streaming()
260 if (VPIF_CHANNEL2_VIDEO == ch->channel_id) { in vpif_stop_streaming()
264 if (VPIF_CHANNEL3_VIDEO == ch->channel_id || ycmux_mode == 2) { in vpif_stop_streaming()
367 int channel_id; in vpif_channel_isr() local
369 channel_id = *(int *)(dev_id); in vpif_channel_isr()
370 if (!vpif_intr_status(channel_id + 2)) in vpif_channel_isr()
373 ch = dev->dev[channel_id]; in vpif_channel_isr()
387 if (!channel_first_int[i][channel_id]) { in vpif_channel_isr()
398 channel_first_int[i][channel_id] = 0; in vpif_channel_isr()
404 if (channel_first_int[i][channel_id]) { in vpif_channel_isr()
405 channel_first_int[i][channel_id] = 0; in vpif_channel_isr()
412 fid = vpif_channel_getfid(ch->channel_id + 2); in vpif_channel_isr()
565 if (VPIF_CHANNEL3_VIDEO == ch->channel_id) { in vpif_config_addr()
683 if (!config->chan_config[ch->channel_id].outputs) in vpif_s_std()
686 chan_cfg = &config->chan_config[ch->channel_id]; in vpif_s_std()
729 if (!config->chan_config[ch->channel_id].outputs) in vpif_g_std()
732 chan_cfg = &config->chan_config[ch->channel_id]; in vpif_g_std()
750 chan_cfg = &config->chan_config[ch->channel_id]; in vpif_enum_output()
808 &vpif_cfg->chan_config[ch->channel_id]; in vpif_set_output()
847 chan_cfg = &config->chan_config[ch->channel_id]; in vpif_s_output()
882 if (!config->chan_config[ch->channel_id].outputs) in vpif_enum_dv_timings()
885 chan_cfg = &config->chan_config[ch->channel_id]; in vpif_enum_dv_timings()
919 if (!config->chan_config[ch->channel_id].outputs) in vpif_s_dv_timings()
922 chan_cfg = &config->chan_config[ch->channel_id]; in vpif_s_dv_timings()
1013 if (!config->chan_config[ch->channel_id].outputs) in vpif_g_dv_timings()
1016 chan_cfg = &config->chan_config[ch->channel_id]; in vpif_g_dv_timings()
1145 ch->channel_id = j; in vpif_probe_complete()
1258 (void *)(&vpif_obj.dev[res_idx]->channel_id)); in vpif_probe()
1345 if (ch->channel_id == VPIF_CHANNEL2_VIDEO) { in vpif_suspend()
1349 if (ch->channel_id == VPIF_CHANNEL3_VIDEO || in vpif_suspend()
1377 if (ch->channel_id == VPIF_CHANNEL2_VIDEO) { in vpif_resume()
1381 if (ch->channel_id == VPIF_CHANNEL3_VIDEO || in vpif_resume()