Lines Matching defs:fmt
248 * @fmt: pixel format description
252 struct pxa_mbus_pixelfmt fmt;
258 .fmt = {
268 .fmt = {
278 .fmt = {
288 .fmt = {
298 .fmt = {
308 .fmt = {
318 .fmt = {
328 .fmt = {
338 .fmt = {
348 .fmt = {
358 .fmt = {
368 .fmt = {
378 .fmt = {
388 .fmt = {
398 .fmt = {
408 .fmt = {
418 .fmt = {
428 .fmt = {
438 .fmt = {
448 .fmt = {
458 .fmt = {
468 .fmt = {
478 .fmt = {
488 .fmt = {
498 .fmt = {
508 .fmt = {
518 .fmt = {
528 .fmt = {
538 .fmt = {
548 .fmt = {
597 return &lookup[i].fmt;
1629 static bool pxa_camera_packing_supported(const struct pxa_mbus_pixelfmt *fmt)
1631 return fmt->packing == PXA_MBUS_PACKING_NONE ||
1632 (fmt->bits_per_sample == 8 &&
1633 fmt->packing == PXA_MBUS_PACKING_2X8_PADHI) ||
1634 (fmt->bits_per_sample > 8 &&
1635 fmt->packing == PXA_MBUS_PACKING_EXTEND16);
1648 const struct pxa_mbus_pixelfmt *fmt;
1655 fmt = pxa_mbus_get_fmtdesc(code.code);
1656 if (!fmt) {
1682 fmt->name);
1685 if (!pxa_camera_packing_supported(fmt))
1690 fmt->name);
1697 xlate->host_fmt = fmt;
1778 struct v4l2_pix_format *pix = &f->fmt.pix;
1797 struct v4l2_pix_format *pix = &f->fmt.pix;
1861 struct v4l2_pix_format *pix = &f->fmt.pix;