Home
last modified time | relevance | path

Searched refs:current_fmt (Results 1 – 5 of 5) sorted by relevance

/drivers/media/platform/atmel/
Datmel-isc.c133 const struct isc_format *current_fmt; member
476 const struct isc_format *current_fmt = isc->current_fmt; in isc_configure() local
481 val = current_fmt->reg_bps | subdev->pfe_cfg0 | in isc_configure()
490 current_fmt->reg_rlp_mode); in isc_configure()
493 current_fmt->reg_dcfg_imode); in isc_configure()
554 isc_start_dma(regmap, isc->cur_frm, isc->current_fmt->reg_dctrl_dview); in isc_start_streaming()
688 struct isc_format **current_fmt) in isc_try_fmt() argument
726 if (current_fmt) in isc_try_fmt()
727 *current_fmt = isc_fmt; in isc_try_fmt()
737 struct isc_format *current_fmt; in isc_set_fmt() local
[all …]
/drivers/media/platform/
Dpxa_camera.c667 const struct soc_camera_format_xlate *current_fmt; member
1247 switch (pcdev->current_fmt->host_fmt->bits_per_sample) { in pxa_camera_setup_cicr()
1437 WARN_ON(!pcdev->current_fmt); in pxac_vb2_prepare()
1575 u32 pixfmt = pcdev->current_fmt->host_fmt->fourcc; in pxa_camera_set_bus_param()
1580 pcdev->current_fmt->host_fmt->bits_per_sample, in pxa_camera_set_bus_param()
1842 pix->pixelformat = pcdev->current_fmt->host_fmt->fourcc; in pxac_vidioc_g_fmt_vid_cap()
1845 pcdev->current_fmt->host_fmt->fourcc); in pxac_vidioc_g_fmt_vid_cap()
1955 pcdev->current_fmt = xlate; in pxac_vidioc_s_fmt_vid_cap()
2116 pcdev->current_fmt = pcdev->user_formats; in pxa_camera_sensor_bound()
2122 pcdev->current_fmt->host_fmt); in pxa_camera_sensor_bound()
[all …]
/drivers/media/platform/soc_camera/
Dsh_mobile_ceu_camera.c309 switch (icd->current_fmt->host_fmt->fourcc) { in sh_mobile_ceu_capture()
624 switch (icd->current_fmt->host_fmt->packing) { in sh_mobile_ceu_set_rect()
752 if (icd->current_fmt->host_fmt->bits_per_sample > 8) in sh_mobile_ceu_set_bus_param()
763 switch (icd->current_fmt->host_fmt->fourcc) { in sh_mobile_ceu_set_bus_param()
789 if (icd->current_fmt->host_fmt->fourcc == V4L2_PIX_FMT_NV21 || in sh_mobile_ceu_set_bus_param()
790 icd->current_fmt->host_fmt->fourcc == V4L2_PIX_FMT_NV61) in sh_mobile_ceu_set_bus_param()
927 switch (icd->current_fmt->host_fmt->fourcc) { in sh_mobile_ceu_s_ctrl()
1379 icd->current_fmt = xlate; in sh_mobile_ceu_set_fmt()
1415 xlate = icd->current_fmt; in sh_mobile_ceu_try_fmt()
1530 .pixelformat = icd->current_fmt->host_fmt->fourcc, in sh_mobile_ceu_set_liveselection()
Dsoc_camera.c551 icd->current_fmt = &icd->user_formats[0]; in soc_camera_init_user_formats()
567 icd->current_fmt = NULL; in soc_camera_free_user_formats()
592 } else if (!icd->current_fmt || in soc_camera_set_fmt()
593 icd->current_fmt->host_fmt->fourcc != pix->pixelformat) { in soc_camera_set_fmt()
714 icd->current_fmt->host_fmt->fourcc, in soc_camera_open()
951 pix->pixelformat = icd->current_fmt->host_fmt->fourcc; in soc_camera_g_fmt_vid_cap()
954 icd->current_fmt->host_fmt->fourcc); in soc_camera_g_fmt_vid_cap()
Datmel-isi.c483 icd->current_fmt); in start_streaming()
615 icd->current_fmt = xlate; in isi_camera_set_fmt()