Home
last modified time | relevance | path

Searched refs:sdsel (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/media/platform/soc_camera/
Dsoc_scale_crop.c43 struct v4l2_subdev_selection sdsel = { in soc_camera_client_g_rect() local
49 ret = v4l2_subdev_call(sd, pad, get_selection, NULL, &sdsel); in soc_camera_client_g_rect()
51 *rect = sdsel.r; in soc_camera_client_g_rect()
55 sdsel.target = V4L2_SEL_TGT_CROP_DEFAULT; in soc_camera_client_g_rect()
56 ret = v4l2_subdev_call(sd, pad, get_selection, NULL, &sdsel); in soc_camera_client_g_rect()
58 *rect = sdsel.r; in soc_camera_client_g_rect()
99 struct v4l2_subdev_selection sdsel = { in soc_camera_client_s_selection() local
114 v4l2_subdev_call(sd, pad, set_selection, NULL, &sdsel); in soc_camera_client_s_selection()
115 sel->r = sdsel.r; in soc_camera_client_s_selection()
144 soc_camera_limit_side(&rect->left, &rect->width, sdsel.r.left, 2, in soc_camera_client_s_selection()
[all …]
Dsoc_camera.c1759 struct v4l2_subdev_selection sdsel = { in default_g_selection() local
1765 ret = v4l2_subdev_call(sd, pad, get_selection, NULL, &sdsel); in default_g_selection()
1768 sel->r = sdsel.r; in default_g_selection()
1776 struct v4l2_subdev_selection sdsel = { in default_s_selection() local
1784 ret = v4l2_subdev_call(sd, pad, set_selection, NULL, &sdsel); in default_s_selection()
1787 sel->r = sdsel.r; in default_s_selection()
/Linux-v4.19/drivers/staging/media/omap4iss/
Diss_video.c662 struct v4l2_subdev_selection sdsel = { in iss_video_get_selection() local
693 sdsel.pad = pad; in iss_video_get_selection()
694 ret = v4l2_subdev_call(subdev, pad, get_selection, NULL, &sdsel); in iss_video_get_selection()
696 sel->r = sdsel.r; in iss_video_get_selection()
719 struct v4l2_subdev_selection sdsel = { in iss_video_set_selection() local
744 sdsel.pad = pad; in iss_video_set_selection()
746 ret = v4l2_subdev_call(subdev, pad, set_selection, NULL, &sdsel); in iss_video_set_selection()
749 sel->r = sdsel.r; in iss_video_set_selection()
/Linux-v4.19/drivers/media/platform/omap3isp/
Dispvideo.c780 struct v4l2_subdev_selection sdsel = { in isp_video_get_selection() local
810 sdsel.pad = pad; in isp_video_get_selection()
811 ret = v4l2_subdev_call(subdev, pad, get_selection, NULL, &sdsel); in isp_video_get_selection()
813 sel->r = sdsel.r; in isp_video_get_selection()
836 struct v4l2_subdev_selection sdsel = { in isp_video_set_selection() local
861 sdsel.pad = pad; in isp_video_set_selection()
863 ret = v4l2_subdev_call(subdev, pad, set_selection, NULL, &sdsel); in isp_video_set_selection()
866 sel->r = sdsel.r; in isp_video_set_selection()