Home
last modified time | relevance | path

Searched refs:xlate (Results 1 – 25 of 76) sorted by relevance

1234

/drivers/media/platform/soc_camera/
Dmx3_camera.c201 const struct soc_camera_format_xlate *xlate = soc_camera_xlate_by_fourcc(icd, in mx3_videobuf_setup() local
206 if (!xlate) in mx3_videobuf_setup()
210 xlate->host_fmt); in mx3_videobuf_setup()
216 ret = soc_mbus_image_size(xlate->host_fmt, bytes_per_line, in mx3_videobuf_setup()
661 struct soc_camera_format_xlate *xlate) in mx3_camera_get_formats() argument
692 if (xlate) { in mx3_camera_get_formats()
693 xlate->host_fmt = &mx3_camera_formats[0]; in mx3_camera_get_formats()
694 xlate->code = code.code; in mx3_camera_get_formats()
695 xlate++; in mx3_camera_get_formats()
702 if (xlate) { in mx3_camera_get_formats()
[all …]
Domap1_camera.c1066 unsigned int idx, struct soc_camera_format_xlate *xlate) in omap1_cam_get_formats() argument
1103 if (xlate) { in omap1_cam_get_formats()
1104 xlate->host_fmt = soc_mbus_find_fmtdesc(code.code, in omap1_cam_get_formats()
1107 xlate->code = code.code; in omap1_cam_get_formats()
1108 xlate++; in omap1_cam_get_formats()
1111 __func__, xlate->host_fmt->name, code.code); in omap1_cam_get_formats()
1114 if (xlate) in omap1_cam_get_formats()
1120 if (xlate) { in omap1_cam_get_formats()
1121 xlate->host_fmt = fmt; in omap1_cam_get_formats()
1122 xlate->code = code.code; in omap1_cam_get_formats()
[all …]
Dmx2_camera.c946 struct soc_camera_format_xlate *xlate) in mx2_camera_get_formats() argument
971 if (xlate) { in mx2_camera_get_formats()
976 xlate->host_fmt = in mx2_camera_get_formats()
978 xlate->code = code.code; in mx2_camera_get_formats()
980 xlate->host_fmt->name, code.code); in mx2_camera_get_formats()
981 xlate++; in mx2_camera_get_formats()
987 if (xlate) { in mx2_camera_get_formats()
988 xlate->host_fmt = in mx2_camera_get_formats()
990 xlate->code = code.code; in mx2_camera_get_formats()
992 xlate->host_fmt->name, code.code); in mx2_camera_get_formats()
[all …]
Datmel-isi.c504 const struct soc_camera_format_xlate *xlate; in isi_camera_set_fmt() local
516 xlate = soc_camera_xlate_by_fourcc(icd, pix->pixelformat); in isi_camera_set_fmt()
517 if (!xlate) { in isi_camera_set_fmt()
530 mf->code = xlate->code; in isi_camera_set_fmt()
536 if (mf->code != xlate->code) in isi_camera_set_fmt()
543 icd->current_fmt = xlate; in isi_camera_set_fmt()
555 const struct soc_camera_format_xlate *xlate; in isi_camera_try_fmt() local
569 xlate = soc_camera_xlate_by_fourcc(icd, pixfmt); in isi_camera_try_fmt()
570 if (pixfmt && !xlate) { in isi_camera_try_fmt()
586 mf->code = xlate->code; in isi_camera_try_fmt()
[all …]
Drcar_vin.c541 const struct soc_camera_format_xlate *xlate; in rcar_vin_videobuf_setup() local
548 xlate = soc_camera_xlate_by_fourcc(icd, in rcar_vin_videobuf_setup()
550 if (!xlate) in rcar_vin_videobuf_setup()
553 xlate->host_fmt); in rcar_vin_videobuf_setup()
559 ret = soc_mbus_image_size(xlate->host_fmt, bytes_per_line, in rcar_vin_videobuf_setup()
1333 struct soc_camera_format_xlate *xlate) in rcar_vin_get_formats() argument
1449 for (k = 0; xlate && k < n; k++, xlate++) { in rcar_vin_get_formats()
1450 xlate->host_fmt = &rcar_vin_formats[k]; in rcar_vin_get_formats()
1451 xlate->code = code.code; in rcar_vin_get_formats()
1467 if (xlate) { in rcar_vin_get_formats()
[all …]
Dsh_mobile_ceu_camera.c224 const struct soc_camera_format_xlate *xlate = soc_camera_xlate_by_fourcc(icd, in sh_mobile_ceu_videobuf_setup() local
229 if (!xlate) in sh_mobile_ceu_videobuf_setup()
233 xlate->host_fmt); in sh_mobile_ceu_videobuf_setup()
239 ret = soc_mbus_image_size(xlate->host_fmt, bytes_per_line, in sh_mobile_ceu_videobuf_setup()
1053 struct soc_camera_format_xlate *xlate) in sh_mobile_ceu_get_formats() argument
1181 for (k = 0; xlate && k < n; k++) { in sh_mobile_ceu_get_formats()
1182 xlate->host_fmt = &sh_mobile_ceu_formats[k]; in sh_mobile_ceu_get_formats()
1183 xlate->code = code.code; in sh_mobile_ceu_get_formats()
1184 xlate++; in sh_mobile_ceu_get_formats()
1196 if (xlate) { in sh_mobile_ceu_get_formats()
[all …]
Dpxa_camera.c1250 struct soc_camera_format_xlate *xlate) in pxa_camera_get_formats() argument
1291 if (xlate) { in pxa_camera_get_formats()
1292 xlate->host_fmt = &pxa_camera_formats[0]; in pxa_camera_get_formats()
1293 xlate->code = code.code; in pxa_camera_get_formats()
1294 xlate++; in pxa_camera_get_formats()
1303 if (xlate) in pxa_camera_get_formats()
1310 if (xlate) in pxa_camera_get_formats()
1318 if (xlate) { in pxa_camera_get_formats()
1319 xlate->host_fmt = fmt; in pxa_camera_get_formats()
1320 xlate->code = code.code; in pxa_camera_get_formats()
[all …]
Dsoc_camera.c257 const struct soc_camera_format_xlate *xlate; in soc_camera_try_fmt() local
274 xlate = soc_camera_xlate_by_fourcc(icd, pix->pixelformat); in soc_camera_try_fmt()
275 if (!xlate) in soc_camera_try_fmt()
278 ret = soc_mbus_bytes_per_line(pix->width, xlate->host_fmt); in soc_camera_try_fmt()
284 ret = soc_mbus_image_size(xlate->host_fmt, pix->bytesperline, in soc_camera_try_fmt()
1919 const struct soc_camera_format_xlate *xlate; in default_enum_framesizes() local
1925 xlate = soc_camera_xlate_by_fourcc(icd, fsize->pixel_format); in default_enum_framesizes()
1926 if (!xlate) in default_enum_framesizes()
1928 fse.code = xlate->code; in default_enum_framesizes()
/drivers/crypto/vmx/
Dghashp8-ppc.pl39 ( $xlate="${dir}ppc-xlate.pl" and -f $xlate ) or
40 ( $xlate="${dir}../../perlasm/ppc-xlate.pl" and -f $xlate) or
43 open STDOUT,"| $^X $xlate $flavour $output" || die "can't call $xlate: $!";
/drivers/misc/ibmasm/
Dremote.c84 static const unsigned short xlate[XLATE_SIZE] = { variable
179 key = xlate[code]; in send_keyboard_event()
248 if (xlate[i]) in ibmasm_init_remote_input_dev()
249 set_bit(xlate[i], keybd_dev->keybit); in ibmasm_init_remote_input_dev()
/drivers/sh/intc/
Dirqdomain.c41 .xlate = intc_evt_xlate,
/drivers/irqchip/
Dirq-renesas-h8300h.c72 .xlate = irq_domain_xlate_onecell,
Dirq-renesas-h8s.c78 .xlate = irq_domain_xlate_onecell,
Dirq-xtensa-pic.c40 .xlate = xtensa_pic_irq_domain_xlate,
Dirq-mips-cpu.c143 .xlate = irq_domain_xlate_onecell,
Dirq-goldfish-pic.c57 .xlate = irq_domain_xlate_onecell,
Dirq-sun4i.c93 .xlate = irq_domain_xlate_onecell,
Dirq-sa11x0.c79 .xlate = irq_domain_xlate_onetwocell,
Dirq-xtensa-mx.c55 .xlate = xtensa_mx_irq_domain_xlate,
Dirq-or1k-pic.c137 .xlate = irq_domain_xlate_onecell,
Dirq-bcm2836.c223 .xlate = irq_domain_xlate_onecell
Dirq-versatile-fpga.c145 .xlate = irq_domain_xlate_onetwocell,
/drivers/base/power/
Ddomain.c1553 genpd_xlate_t xlate; member
1619 int __of_genpd_add_provider(struct device_node *np, genpd_xlate_t xlate, in __of_genpd_add_provider() argument
1630 cp->xlate = xlate; in __of_genpd_add_provider()
1684 genpd = provider->xlate(genpdspec, provider->data); in of_genpd_get_from_provider()
/drivers/gpio/
Dgpio-sa1100.c165 .xlate = irq_domain_xlate_onetwocell,
/drivers/mfd/
Dwm8994-irq.c182 .xlate = irq_domain_xlate_twocell,

1234