Lines Matching refs:fie
79 struct video_frmival_enum fie = {.format = &fmt}; in ZTEST() local
85 zexpect_ok(video_enum_frmival(imager_dev, VIDEO_EP_OUT, &fie)); in ZTEST()
86 zexpect_equal(fie.index, 1, "fie's index should increment by one at every iteration"); in ZTEST()
93 zexpect_equal_ptr(fie.format, &fmt, "the format should not be changed"); in ZTEST()
94 zexpect_true(fie.type == VIDEO_FRMIVAL_TYPE_STEPWISE || in ZTEST()
95 fie.type == VIDEO_FRMIVAL_TYPE_DISCRETE); in ZTEST()
97 switch (fie.type) { in ZTEST()
100 q.denominator = fie.stepwise.min.denominator * in ZTEST()
101 fie.stepwise.max.denominator * in ZTEST()
102 fie.stepwise.step.denominator; in ZTEST()
103 min = fie.stepwise.max.denominator * fie.stepwise.step.denominator * in ZTEST()
104 fie.stepwise.min.numerator; in ZTEST()
105 max = fie.stepwise.min.denominator * fie.stepwise.step.denominator * in ZTEST()
106 fie.stepwise.max.numerator; in ZTEST()
107 step = fie.stepwise.min.denominator * fie.stepwise.max.denominator * in ZTEST()
108 fie.stepwise.step.numerator; in ZTEST()
119 zexpect_ok(video_set_frmival(imager_dev, VIDEO_EP_OUT, &fie.discrete)); in ZTEST()
122 zexpect_equal(video_frmival_nsec(&fie.discrete), video_frmival_nsec(&a)); in ZTEST()
125 } while (video_enum_frmival(imager_dev, VIDEO_EP_OUT, &fie) == 0); in ZTEST()