Home
last modified time | relevance | path

Searched refs:xctrl (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/media/usb/uvc/
A Duvc_ctrl.c1685 struct v4l2_ext_control *xctrl) in uvc_ctrl_get() argument
1701 struct v4l2_ext_control *xctrl) in uvc_ctrl_set() argument
1739 xctrl->value = min + DIV_ROUND_CLOSEST((u32)(xctrl->value - min), in uvc_ctrl_set()
1742 xctrl->value = clamp(xctrl->value, min, max); in uvc_ctrl_set()
1744 xctrl->value = clamp_t(u32, xctrl->value, min, max); in uvc_ctrl_set()
1745 value = xctrl->value; in uvc_ctrl_set()
1749 xctrl->value = clamp(xctrl->value, 0, 1); in uvc_ctrl_set()
1750 value = xctrl->value; in uvc_ctrl_set()
1754 if (xctrl->value < 0 || xctrl->value >= mapping->menu_count) in uvc_ctrl_set()
1756 value = mapping->menu_info[xctrl->value].value; in uvc_ctrl_set()
[all …]
A Duvcvideo.h900 int uvc_ctrl_get(struct uvc_video_chain *chain, struct v4l2_ext_control *xctrl);
901 int uvc_ctrl_set(struct uvc_fh *handle, struct v4l2_ext_control *xctrl);
/linux/drivers/tty/
A Dsynclink_gt.c277 unsigned int xctrl; member
2822 static int get_xctrl(struct slgt_info *info, int __user *xctrl) in get_xctrl() argument
2824 DBGINFO(("%s get_xctrl=%x\n", info->device_name, info->xctrl)); in get_xctrl()
2825 if (put_user(info->xctrl, xctrl)) in get_xctrl()
2847 static int set_xctrl(struct slgt_info *info, int xctrl) in set_xctrl() argument
2851 DBGINFO(("%s set_xctrl=%x)\n", info->device_name, xctrl)); in set_xctrl()
2853 info->xctrl = xctrl; in set_xctrl()
2854 wr_reg32(info, XCR, xctrl); in set_xctrl()

Completed in 18 milliseconds