Lines Matching refs:field_cap
91 if (dev->field_cap == V4L2_FIELD_ALTERNATE) { in vid_cap_queue_setup()
396 dev->field_cap = V4L2_FIELD_NONE; in vivid_update_format_cap()
401 dev->field_cap = dev->tv_field_cap; in vivid_update_format_cap()
429 dev->field_cap = V4L2_FIELD_ALTERNATE; in vivid_update_format_cap()
431 dev->field_cap = V4L2_FIELD_NONE; in vivid_update_format_cap()
455 tpg_reset_source(&dev->tpg, dev->src_rect.width, dev->src_rect.height, dev->field_cap); in vivid_update_format_cap()
459 if (V4L2_FIELD_HAS_T_OR_B(dev->field_cap)) in vivid_update_format_cap()
535 mp->field = dev->field_cap; in vivid_g_fmt_vid_cap()
766 dev->field_cap = mp->field; in vivid_s_fmt_vid_cap()
767 if (dev->field_cap == V4L2_FIELD_ALTERNATE) in vivid_s_fmt_vid_cap()
770 tpg_s_field(&dev->tpg, dev->field_cap, false); in vivid_s_fmt_vid_cap()
889 unsigned factor = V4L2_FIELD_HAS_T_OR_B(dev->field_cap) ? 2 : 1; in vivid_vid_cap_s_selection()