Searched refs:mfmt (Results 1 – 2 of 2) sorted by relevance
940 struct mmal_fmt *mfmt; in vidioc_try_fmt_vid_cap() local942 mfmt = get_format(f); in vidioc_try_fmt_vid_cap()943 if (!mfmt) { in vidioc_try_fmt_vid_cap()948 mfmt = get_format(f); in vidioc_try_fmt_vid_cap()960 f->fmt.pix.bytesperline = f->fmt.pix.width * mfmt->ybbp; in vidioc_try_fmt_vid_cap()961 if (!mfmt->remove_padding) { in vidioc_try_fmt_vid_cap()962 if (mfmt->depth == 24) { in vidioc_try_fmt_vid_cap()974 int align_mask = ((32 * mfmt->depth) >> 3) - 1; in vidioc_try_fmt_vid_cap()989 (((f->fmt.pix.width + 31) & ~31) * mfmt->depth) >> 3; in vidioc_try_fmt_vid_cap()991 if ((mfmt->flags & V4L2_FMT_FLAG_COMPRESSED) && in vidioc_try_fmt_vid_cap()[all …]
330 struct v4l2_mbus_framefmt *mfmt; in csi2tx_start() local349 mfmt = &csi2tx->pad_fmts[pad_idx]; in csi2tx_start()350 fmt = csi2tx_get_fmt_from_mbus(mfmt->code); in csi2tx_start()366 writel(CSI2TX_DT_FORMAT_BYTES_PER_LINE(mfmt->width * fmt->bpp) | in csi2tx_start()367 CSI2TX_DT_FORMAT_MAX_LINE_NUM(mfmt->height + 1), in csi2tx_start()