Searched refs:xctrl (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/drivers/media/usb/uvc/ |
D | uvc_ctrl.c | 1731 struct v4l2_ext_control *xctrl) in uvc_ctrl_get() argument 1736 if (__uvc_query_v4l2_class(chain, xctrl->id, 0) >= 0) in uvc_ctrl_get() 1739 ctrl = uvc_find_control(chain, xctrl->id, &mapping); in uvc_ctrl_get() 1743 return __uvc_ctrl_get(chain, ctrl, mapping, &xctrl->value); in uvc_ctrl_get() 1747 struct v4l2_ext_control *xctrl) in uvc_ctrl_set() argument 1758 if (__uvc_query_v4l2_class(chain, xctrl->id, 0) >= 0) in uvc_ctrl_set() 1761 ctrl = uvc_find_control(chain, xctrl->id, &mapping); in uvc_ctrl_set() 1785 xctrl->value = min + DIV_ROUND_CLOSEST((u32)(xctrl->value - min), in uvc_ctrl_set() 1788 xctrl->value = clamp(xctrl->value, min, max); in uvc_ctrl_set() 1790 xctrl->value = clamp_t(u32, xctrl->value, min, max); in uvc_ctrl_set() [all …]
|
D | uvcvideo.h | 761 int uvc_ctrl_get(struct uvc_video_chain *chain, struct v4l2_ext_control *xctrl); 762 int uvc_ctrl_set(struct uvc_fh *handle, struct v4l2_ext_control *xctrl);
|
/linux-6.1.9/drivers/tty/ |
D | synclink_gt.c | 274 unsigned int xctrl; member 2818 static int get_xctrl(struct slgt_info *info, int __user *xctrl) in get_xctrl() argument 2820 DBGINFO(("%s get_xctrl=%x\n", info->device_name, info->xctrl)); in get_xctrl() 2821 if (put_user(info->xctrl, xctrl)) in get_xctrl() 2843 static int set_xctrl(struct slgt_info *info, int xctrl) in set_xctrl() argument 2847 DBGINFO(("%s set_xctrl=%x)\n", info->device_name, xctrl)); in set_xctrl() 2849 info->xctrl = xctrl; in set_xctrl() 2850 wr_reg32(info, XCR, xctrl); in set_xctrl()
|