Lines Matching refs:fb_cap
686 if (dev->overlay_cap_owner && dev->fb_cap.fmt.pixelformat != mp->pixelformat) { in vivid_s_fmt_vid_cap()
1128 -dev->fb_cap.fmt.width, dev->fb_cap.fmt.width); in vidioc_try_fmt_vid_overlay()
1130 -dev->fb_cap.fmt.height, dev->fb_cap.fmt.height); in vidioc_try_fmt_vid_overlay()
1147 r->top = clamp_t(s32, r->top, 0, dev->fb_cap.fmt.height - 1); in vidioc_try_fmt_vid_overlay()
1148 r->height = clamp_t(s32, r->height, 1, dev->fb_cap.fmt.height - r->top); in vidioc_try_fmt_vid_overlay()
1149 r->left = clamp_t(u32, r->left, 0, dev->fb_cap.fmt.width - 1); in vidioc_try_fmt_vid_overlay()
1150 r->width = clamp_t(u32, r->width, 1, dev->fb_cap.fmt.width - r->left); in vidioc_try_fmt_vid_overlay()
1218 if (i && dev->fb_cap.fmt.pixelformat != dev->fmt_cap->fourcc) { in vivid_vid_cap_overlay()
1237 *a = dev->fb_cap; in vivid_vid_cap_g_fbuf()
1263 dev->fb_cap.base = NULL; in vivid_vid_cap_s_fbuf()
1279 dev->fb_cap = *a; in vivid_vid_cap_s_fbuf()
1281 -dev->fb_cap.fmt.width, dev->fb_cap.fmt.width); in vivid_vid_cap_s_fbuf()
1283 -dev->fb_cap.fmt.height, dev->fb_cap.fmt.height); in vivid_vid_cap_s_fbuf()