Lines Matching refs:field_cap
91 if (dev->field_cap == V4L2_FIELD_ALTERNATE) { in vid_cap_queue_setup()
394 dev->field_cap = V4L2_FIELD_NONE; in vivid_update_format_cap()
399 dev->field_cap = dev->tv_field_cap; in vivid_update_format_cap()
427 dev->field_cap = V4L2_FIELD_ALTERNATE; in vivid_update_format_cap()
429 dev->field_cap = V4L2_FIELD_NONE; in vivid_update_format_cap()
453 tpg_reset_source(&dev->tpg, dev->src_rect.width, dev->src_rect.height, dev->field_cap); in vivid_update_format_cap()
463 if (V4L2_FIELD_HAS_T_OR_B(dev->field_cap)) in vivid_update_format_cap()
550 mp->field = dev->field_cap; in vivid_g_fmt_vid_cap()
799 dev->field_cap = mp->field; in vivid_s_fmt_vid_cap()
800 if (dev->field_cap == V4L2_FIELD_ALTERNATE) in vivid_s_fmt_vid_cap()
803 tpg_s_field(&dev->tpg, dev->field_cap, false); in vivid_s_fmt_vid_cap()
932 unsigned factor = V4L2_FIELD_HAS_T_OR_B(dev->field_cap) ? 2 : 1; in vivid_vid_cap_s_selection()