Lines Matching refs:imager_dev
12 const struct device *imager_dev = DEVICE_DT_GET(DT_NODELABEL(test_video_emul_imager)); variable
17 zexpect_true(device_is_ready(imager_dev)); in ZTEST()
19 zexpect_ok(video_stream_start(imager_dev)); in ZTEST()
20 zexpect_ok(video_stream_stop(imager_dev)); in ZTEST()
31 zexpect_ok(video_get_caps(imager_dev, VIDEO_EP_OUT, &caps)); in ZTEST()
39 zexpect_ok(video_set_format(imager_dev, VIDEO_EP_OUT, &fmt)); in ZTEST()
40 zexpect_ok(video_get_format(imager_dev, VIDEO_EP_OUT, &fmt)); in ZTEST()
47 zexpect_ok(video_set_format(imager_dev, VIDEO_EP_OUT, &fmt)); in ZTEST()
48 zexpect_ok(video_get_format(imager_dev, VIDEO_EP_OUT, &fmt)); in ZTEST()
55 zexpect_ok(video_set_format(imager_dev, VIDEO_EP_OUT, &fmt)); in ZTEST()
56 zexpect_ok(video_get_format(imager_dev, VIDEO_EP_OUT, &fmt)); in ZTEST()
63 zexpect_ok(video_set_format(imager_dev, VIDEO_EP_OUT, &fmt)); in ZTEST()
64 zexpect_ok(video_get_format(imager_dev, VIDEO_EP_OUT, &fmt)); in ZTEST()
71 zexpect_not_ok(video_set_format(imager_dev, VIDEO_EP_OUT, &fmt)); in ZTEST()
72 zexpect_ok(video_get_format(imager_dev, VIDEO_EP_OUT, &fmt)); in ZTEST()
82 zexpect_ok(video_get_format(imager_dev, VIDEO_EP_OUT, &fmt)); in ZTEST()
85 zexpect_ok(video_enum_frmival(imager_dev, VIDEO_EP_OUT, &fie)); in ZTEST()
112 zexpect_ok(video_set_frmival(imager_dev, VIDEO_EP_OUT, &q)); in ZTEST()
113 zexpect_ok(video_get_frmival(imager_dev, VIDEO_EP_OUT, &a)); in ZTEST()
119 zexpect_ok(video_set_frmival(imager_dev, VIDEO_EP_OUT, &fie.discrete)); in ZTEST()
120 zexpect_ok(video_get_frmival(imager_dev, VIDEO_EP_OUT, &a)); in ZTEST()
125 } while (video_enum_frmival(imager_dev, VIDEO_EP_OUT, &fie) == 0); in ZTEST()
133 zexpect_ok(video_set_ctrl(imager_dev, VIDEO_CID_EXPOSURE, (void *)30)); in ZTEST()
134 zexpect_ok(video_get_ctrl(imager_dev, VIDEO_CID_EXPOSURE, &value)); in ZTEST()
138 zexpect_ok(video_set_ctrl(imager_dev, VIDEO_CID_GAIN, (void *)30)); in ZTEST()
139 zexpect_ok(video_get_ctrl(imager_dev, VIDEO_CID_GAIN, &value)); in ZTEST()