Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/media/platform/soc_camera/
Dsh_mobile_ceu_camera.c342 switch (icd->current_fmt->host_fmt->fourcc) { in sh_mobile_ceu_capture()
714 switch (icd->current_fmt->host_fmt->packing) { in sh_mobile_ceu_set_rect()
855 if (icd->current_fmt->host_fmt->bits_per_sample > 8) in sh_mobile_ceu_set_bus_param()
866 switch (icd->current_fmt->host_fmt->fourcc) { in sh_mobile_ceu_set_bus_param()
892 if (icd->current_fmt->host_fmt->fourcc == V4L2_PIX_FMT_NV21 || in sh_mobile_ceu_set_bus_param()
893 icd->current_fmt->host_fmt->fourcc == V4L2_PIX_FMT_NV61) in sh_mobile_ceu_set_bus_param()
1034 switch (icd->current_fmt->host_fmt->fourcc) { in sh_mobile_ceu_s_ctrl()
1491 icd->current_fmt = xlate; in sh_mobile_ceu_set_fmt()
1527 xlate = icd->current_fmt; in sh_mobile_ceu_try_fmt()
1642 .pixelformat = icd->current_fmt->host_fmt->fourcc, in sh_mobile_ceu_set_livecrop()
Dmx3_camera.c270 const struct soc_mbus_pixelfmt *host_fmt = icd->current_fmt->host_fmt; in mx3_videobuf_queue()
829 if (mf->code != icd->current_fmt->code) in mx3_camera_set_crop()
842 icd->current_fmt->host_fmt); in mx3_camera_set_crop()
909 icd->current_fmt = xlate; in mx3_camera_set_fmt()
1002 u32 pixfmt = icd->current_fmt->host_fmt->fourcc; in mx3_camera_set_bus_param()
1011 fmt = soc_mbus_get_fmtdesc(icd->current_fmt->code); in mx3_camera_set_bus_param()
Dpxa_camera.c449 BUG_ON(NULL == icd->current_fmt); in pxa_videobuf_prepare()
457 if (buf->code != icd->current_fmt->code || in pxa_videobuf_prepare()
461 buf->code = icd->current_fmt->code; in pxa_videobuf_prepare()
1045 switch (icd->current_fmt->host_fmt->bits_per_sample) { in pxa_camera_setup_cicr()
1130 u32 pixfmt = icd->current_fmt->host_fmt->fourcc; in pxa_camera_set_bus_param()
1135 ret = test_platform_param(pcdev, icd->current_fmt->host_fmt->bits_per_sample, in pxa_camera_set_bus_param()
1357 u32 fourcc = icd->current_fmt->host_fmt->fourcc; in pxa_camera_set_crop()
1483 icd->current_fmt = xlate; in pxa_camera_set_fmt()
Drcar_vin.c627 switch (icd->current_fmt->code) { in rcar_vin_setup()
653 switch (icd->current_fmt->host_fmt->fourcc) { in rcar_vin_setup()
682 icd->current_fmt->host_fmt->fourcc); in rcar_vin_setup()
1070 if (icd->current_fmt->host_fmt->fourcc == V4L2_PIX_FMT_RGB32 && in rcar_vin_set_rect()
1697 icd->current_fmt = xlate; in rcar_vin_set_fmt()
1721 xlate = icd->current_fmt; in rcar_vin_try_fmt()
Domap1_camera.c260 BUG_ON(NULL == icd->current_fmt); in omap1_videobuf_prepare()
264 if (buf->code != icd->current_fmt->code || vb->field != field || in omap1_videobuf_prepare()
267 buf->code = icd->current_fmt->code; in omap1_videobuf_prepare()
1223 const struct soc_camera_format_xlate *xlate = icd->current_fmt; in omap1_cam_set_crop()
1318 icd->current_fmt = xlate; in omap1_cam_set_fmt()
1456 u32 pixfmt = icd->current_fmt->host_fmt->fourcc; in omap1_cam_set_bus_param()
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()
Dmx2_camera.c685 icd->current_fmt->host_fmt); in mx2_start_streaming()
898 icd->current_fmt->host_fmt); in mx2_camera_set_bus_param()
1181 icd->current_fmt = xlate; in mx2_camera_set_fmt()
Datmel-isi.c414 icd->current_fmt->code); in start_streaming()
543 icd->current_fmt = xlate; in isi_camera_set_fmt()
/linux-4.4.14/include/media/
Dsoc_camera.h46 const struct soc_camera_format_xlate *current_fmt; member