Lines Matching refs:xlate
191 const struct soc_camera_format_xlate *xlate; in rcar_vin_videobuf_setup() local
195 xlate = soc_camera_xlate_by_fourcc(icd, in rcar_vin_videobuf_setup()
197 if (!xlate) in rcar_vin_videobuf_setup()
200 xlate->host_fmt); in rcar_vin_videobuf_setup()
206 ret = soc_mbus_image_size(xlate->host_fmt, bytes_per_line, in rcar_vin_videobuf_setup()
917 struct soc_camera_format_xlate *xlate) in rcar_vin_get_formats() argument
1024 for (k = 0; xlate && k < n; k++, xlate++) { in rcar_vin_get_formats()
1025 xlate->host_fmt = &rcar_vin_formats[k]; in rcar_vin_get_formats()
1026 xlate->code = code; in rcar_vin_get_formats()
1042 if (xlate) { in rcar_vin_get_formats()
1043 xlate->host_fmt = fmt; in rcar_vin_get_formats()
1044 xlate->code = code; in rcar_vin_get_formats()
1045 xlate++; in rcar_vin_get_formats()
1157 const struct soc_camera_format_xlate *xlate; in rcar_vin_set_fmt() local
1189 xlate = soc_camera_xlate_by_fourcc(icd, pixfmt); in rcar_vin_set_fmt()
1190 if (!xlate) { in rcar_vin_set_fmt()
1199 mf.code = xlate->code; in rcar_vin_set_fmt()
1231 if (mf.code != xlate->code) in rcar_vin_set_fmt()
1262 icd->current_fmt = xlate; in rcar_vin_set_fmt()
1272 const struct soc_camera_format_xlate *xlate; in rcar_vin_try_fmt() local
1280 xlate = soc_camera_xlate_by_fourcc(icd, pixfmt); in rcar_vin_try_fmt()
1281 if (!xlate) { in rcar_vin_try_fmt()
1282 xlate = icd->current_fmt; in rcar_vin_try_fmt()
1284 pixfmt, xlate->host_fmt->fourcc); in rcar_vin_try_fmt()
1285 pixfmt = xlate->host_fmt->fourcc; in rcar_vin_try_fmt()
1305 mf.code = xlate->code; in rcar_vin_try_fmt()