Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/usb/uvc/
H A Duvc_ctrl.c1868 struct v4l2_ext_control *xctrl) in uvc_ctrl_get() argument
1884 struct v4l2_ext_control *xctrl) in uvc_ctrl_set() argument
1922 xctrl->value = min + DIV_ROUND_CLOSEST((u32)(xctrl->value - min), in uvc_ctrl_set()
1925 xctrl->value = clamp(xctrl->value, min, max); in uvc_ctrl_set()
1927 xctrl->value = clamp_t(u32, xctrl->value, min, max); in uvc_ctrl_set()
1928 value = xctrl->value; in uvc_ctrl_set()
1939 value = xctrl->value; in uvc_ctrl_set()
1943 xctrl->value = clamp(xctrl->value, 0, 1); in uvc_ctrl_set()
1944 value = xctrl->value; in uvc_ctrl_set()
1949 xctrl->value > (fls(mapping->menu_mask) - 1)) in uvc_ctrl_set()
[all …]
H A Duvcvideo.h786 int uvc_ctrl_get(struct uvc_video_chain *chain, struct v4l2_ext_control *xctrl);
787 int uvc_ctrl_set(struct uvc_fh *handle, struct v4l2_ext_control *xctrl);
/openbmc/linux/drivers/tty/
H A Dsynclink_gt.c273 unsigned int xctrl; member
2817 static int get_xctrl(struct slgt_info *info, int __user *xctrl) in get_xctrl() argument
2819 DBGINFO(("%s get_xctrl=%x\n", info->device_name, info->xctrl)); in get_xctrl()
2820 if (put_user(info->xctrl, xctrl)) in get_xctrl()
2842 static int set_xctrl(struct slgt_info *info, int xctrl) in set_xctrl() argument
2846 DBGINFO(("%s set_xctrl=%x)\n", info->device_name, xctrl)); in set_xctrl()
2848 info->xctrl = xctrl; in set_xctrl()
2849 wr_reg32(info, XCR, xctrl); in set_xctrl()