Lines Matching full:cru
3 * Driver for Renesas RZ/G2L CRU
9 #include "rzg2l-cru.h"
37 struct v4l2_mbus_framefmt *rzg2l_cru_ip_get_src_fmt(struct rzg2l_cru_dev *cru) in rzg2l_cru_ip_get_src_fmt() argument
42 state = v4l2_subdev_lock_and_get_active_state(&cru->ip.subdev); in rzg2l_cru_ip_get_src_fmt()
51 struct rzg2l_cru_dev *cru; in rzg2l_cru_ip_s_stream() local
55 cru = v4l2_get_subdevdata(sd); in rzg2l_cru_ip_s_stream()
58 ret = v4l2_subdev_call(cru->ip.remote, video, s_stream, enable); in rzg2l_cru_ip_s_stream()
62 ret = v4l2_subdev_call(cru->ip.remote, video, post_streamoff); in rzg2l_cru_ip_s_stream()
67 rzg2l_cru_stop_image_processing(cru); in rzg2l_cru_ip_s_stream()
69 ret = v4l2_subdev_call(cru->ip.remote, video, pre_streamon, 0); in rzg2l_cru_ip_s_stream()
77 ret = rzg2l_cru_start_image_processing(cru); in rzg2l_cru_ip_s_stream()
79 v4l2_subdev_call(cru->ip.remote, video, post_streamoff); in rzg2l_cru_ip_s_stream()
83 ret = v4l2_subdev_call(cru->ip.remote, video, s_stream, enable); in rzg2l_cru_ip_s_stream()
89 v4l2_subdev_call(cru->ip.remote, video, post_streamoff); in rzg2l_cru_ip_s_stream()
90 rzg2l_cru_stop_image_processing(cru); in rzg2l_cru_ip_s_stream()
204 int rzg2l_cru_ip_subdev_register(struct rzg2l_cru_dev *cru) in rzg2l_cru_ip_subdev_register() argument
206 struct rzg2l_cru_ip *ip = &cru->ip; in rzg2l_cru_ip_subdev_register()
209 ip->subdev.dev = cru->dev; in rzg2l_cru_ip_subdev_register()
212 v4l2_set_subdevdata(&ip->subdev, cru); in rzg2l_cru_ip_subdev_register()
214 "cru-ip-%s", dev_name(cru->dev)); in rzg2l_cru_ip_subdev_register()
231 ret = v4l2_device_register_subdev(&cru->v4l2_dev, &ip->subdev); in rzg2l_cru_ip_subdev_register()
244 void rzg2l_cru_ip_subdev_unregister(struct rzg2l_cru_dev *cru) in rzg2l_cru_ip_subdev_unregister() argument
246 struct rzg2l_cru_ip *ip = &cru->ip; in rzg2l_cru_ip_subdev_unregister()