Lines Matching refs:xlate
555 struct soc_camera_format_xlate *xlate) in sh_mobile_ceu_get_formats() argument
572 for (k = 0; xlate && k < n; k++) { in sh_mobile_ceu_get_formats()
573 xlate->host_fmt = &sh_mobile_ceu_formats[k]; in sh_mobile_ceu_get_formats()
574 xlate->cam_fmt = icd->formats + idx; in sh_mobile_ceu_get_formats()
575 xlate->buswidth = icd->formats[idx].depth; in sh_mobile_ceu_get_formats()
576 xlate++; in sh_mobile_ceu_get_formats()
584 if (xlate) { in sh_mobile_ceu_get_formats()
585 xlate->host_fmt = icd->formats + idx; in sh_mobile_ceu_get_formats()
586 xlate->cam_fmt = icd->formats + idx; in sh_mobile_ceu_get_formats()
587 xlate->buswidth = icd->formats[idx].depth; in sh_mobile_ceu_get_formats()
588 xlate++; in sh_mobile_ceu_get_formats()
603 const struct soc_camera_format_xlate *xlate; in sh_mobile_ceu_set_fmt() local
609 xlate = soc_camera_xlate_by_fourcc(icd, pixfmt); in sh_mobile_ceu_set_fmt()
610 if (!xlate) { in sh_mobile_ceu_set_fmt()
615 ret = icd->ops->set_fmt(icd, xlate->cam_fmt->fourcc, rect); in sh_mobile_ceu_set_fmt()
618 icd->buswidth = xlate->buswidth; in sh_mobile_ceu_set_fmt()
619 icd->current_fmt = xlate->host_fmt; in sh_mobile_ceu_set_fmt()
620 pcdev->camera_fmt = xlate->cam_fmt; in sh_mobile_ceu_set_fmt()
631 const struct soc_camera_format_xlate *xlate; in sh_mobile_ceu_try_fmt() local
635 xlate = soc_camera_xlate_by_fourcc(icd, pixfmt); in sh_mobile_ceu_try_fmt()
636 if (!xlate) { in sh_mobile_ceu_try_fmt()
655 DIV_ROUND_UP(xlate->host_fmt->depth, 8); in sh_mobile_ceu_try_fmt()