Home
last modified time | relevance | path

Searched refs:vpifparams (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/drivers/media/platform/davinci/
Dvpif.c318 static void config_vpif_params(struct vpif_params *vpifparams, in config_vpif_params() argument
321 const struct vpif_channel_config_params *config = &vpifparams->std_info; in config_vpif_params()
339 vpifparams->video_params.storage_mode); in config_vpif_params()
350 vpifparams->iface.fid_pol); in config_vpif_params()
352 vpifparams->iface.vd_pol); in config_vpif_params()
354 vpifparams->iface.hd_pol); in config_vpif_params()
360 value |= ((vpifparams->params.data_sz) << in config_vpif_params()
366 regw((vpifparams->video_params.hpitch), in config_vpif_params()
374 int vpif_set_video_params(struct vpif_params *vpifparams, u8 channel_id) in vpif_set_video_params() argument
376 const struct vpif_channel_config_params *config = &vpifparams->std_info; in vpif_set_video_params()
[all …]
Dvpif_display.c170 struct vpif_params *vpif = &ch->vpifparams; in vpif_start_streaming()
182 ret = vpif_config_data->set_clock(ch->vpifparams.std_info. in vpif_start_streaming()
183 ycmux_mode, ch->vpifparams.std_info.hd_sd); in vpif_start_streaming()
378 if (1 == ch->vpifparams.std_info.frm_fmt) { in vpif_channel_isr()
432 struct vpif_params *vpifparams = &ch->vpifparams; in vpif_update_std_info() local
433 struct vpif_channel_config_params *std_info = &vpifparams->std_info; in vpif_update_std_info()
461 struct vpif_params *vpifparams = &ch->vpifparams; in vpif_update_resolution() local
462 struct vpif_channel_config_params *std_info = &vpifparams->std_info; in vpif_update_resolution()
488 if (ch->vpifparams.std_info.frm_fmt) in vpif_update_resolution()
503 struct vpif_params *vpifparams = &ch->vpifparams; in vpif_calculate_offsets() local
[all …]
Dvpif_capture.c170 struct vpif_params *vpif = &ch->vpifparams; in vpif_start_streaming()
385 if (1 == ch->vpifparams.std_info.frm_fmt || in vpif_channel_isr()
462 struct vpif_params *vpifparams = &ch->vpifparams; in vpif_update_std_info() local
464 struct vpif_channel_config_params *std_info = &vpifparams->std_info; in vpif_update_std_info()
480 vpifparams->iface.if_type = VPIF_IF_BT656; in vpif_update_std_info()
483 vpifparams->iface.if_type = VPIF_IF_RAW_BAYER; in vpif_update_std_info()
486 vpifparams->params.data_sz = 1; /* 10 bits/pixel. */ in vpif_update_std_info()
492 if (vpifparams->iface.if_type == VPIF_IF_RAW_BAYER) { in vpif_update_std_info()
494 vpifparams->std_info.capture_format = 1; /* CCD/raw mode */ in vpif_update_std_info()
527 vpifparams->video_params.hpitch = std_info->width; in vpif_update_std_info()
[all …]
Dvpif_capture.h92 struct vpif_params vpifparams; member
Dvpif_display.h111 struct vpif_params vpifparams; member
Dvpif.h647 int vpif_set_video_params(struct vpif_params *vpifparams, u8 channel_id);