Lines Matching refs:xlate
731 struct soc_camera_format_xlate *xlate)) in pxa_mbus_build_fmts_xlate() argument
1692 struct soc_camera_format_xlate *xlate) in pxa_camera_get_formats() argument
1722 if (xlate) { in pxa_camera_get_formats()
1723 xlate->host_fmt = &pxa_camera_formats[0]; in pxa_camera_get_formats()
1724 xlate->code = code.code; in pxa_camera_get_formats()
1725 xlate++; in pxa_camera_get_formats()
1736 if (xlate) in pxa_camera_get_formats()
1744 if (xlate) in pxa_camera_get_formats()
1753 if (xlate) { in pxa_camera_get_formats()
1754 xlate->host_fmt = fmt; in pxa_camera_get_formats()
1755 xlate->code = code.code; in pxa_camera_get_formats()
1756 xlate++; in pxa_camera_get_formats()
1764 struct soc_camera_format_xlate *xlate; in pxa_camera_build_formats() local
1766 xlate = pxa_mbus_build_fmts_xlate(&pcdev->v4l2_dev, pcdev->sensor, in pxa_camera_build_formats()
1768 if (IS_ERR(xlate)) in pxa_camera_build_formats()
1769 return PTR_ERR(xlate); in pxa_camera_build_formats()
1771 pcdev->user_formats = xlate; in pxa_camera_build_formats()
1853 const struct soc_camera_format_xlate *xlate; in pxac_vidioc_try_fmt_vid_cap() local
1863 xlate = pxa_mbus_xlate_by_fourcc(pcdev->user_formats, pixfmt); in pxac_vidioc_try_fmt_vid_cap()
1864 if (!xlate) { in pxac_vidioc_try_fmt_vid_cap()
1879 v4l2_fill_mbus_format(mf, pix, xlate->code); in pxac_vidioc_try_fmt_vid_cap()
1899 ret = pxa_mbus_bytes_per_line(pix->width, xlate->host_fmt); in pxac_vidioc_try_fmt_vid_cap()
1904 ret = pxa_mbus_image_size(xlate->host_fmt, pix->bytesperline, in pxac_vidioc_try_fmt_vid_cap()
1917 const struct soc_camera_format_xlate *xlate; in pxac_vidioc_s_fmt_vid_cap() local
1940 xlate = pxa_mbus_xlate_by_fourcc(pcdev->user_formats, in pxac_vidioc_s_fmt_vid_cap()
1942 v4l2_fill_mbus_format(&format.format, pix, xlate->code); in pxac_vidioc_s_fmt_vid_cap()
1955 pcdev->current_fmt = xlate; in pxac_vidioc_s_fmt_vid_cap()