Lines Matching refs:cptr
257 struct pvr2_ctrl *cptr; in pvr2_v4l2_do_ioctl() local
263 cptr = pvr2_hdw_get_ctrl_by_id(hdw,PVR2_CID_INPUT); in pvr2_v4l2_do_ioctl()
290 pvr2_ctrl_get_valname(cptr,val, in pvr2_v4l2_do_ioctl()
313 struct pvr2_ctrl *cptr; in pvr2_v4l2_do_ioctl() local
316 cptr = pvr2_hdw_get_ctrl_by_id(hdw,PVR2_CID_INPUT); in pvr2_v4l2_do_ioctl()
318 ret = pvr2_ctrl_get_value(cptr,&val); in pvr2_v4l2_do_ioctl()
598 struct pvr2_ctrl *cptr; in pvr2_v4l2_do_ioctl() local
603 cptr = pvr2_hdw_get_ctrl_nextv4l( in pvr2_v4l2_do_ioctl()
605 if (cptr) vc->id = pvr2_ctrl_get_v4lid(cptr); in pvr2_v4l2_do_ioctl()
607 cptr = pvr2_hdw_get_ctrl_v4l(hdw,vc->id); in pvr2_v4l2_do_ioctl()
609 if (!cptr) { in pvr2_v4l2_do_ioctl()
619 vc->id,pvr2_ctrl_get_name(cptr), in pvr2_v4l2_do_ioctl()
620 pvr2_ctrl_get_desc(cptr)); in pvr2_v4l2_do_ioctl()
621 strlcpy(vc->name,pvr2_ctrl_get_desc(cptr),sizeof(vc->name)); in pvr2_v4l2_do_ioctl()
622 vc->flags = pvr2_ctrl_get_v4lflags(cptr); in pvr2_v4l2_do_ioctl()
623 pvr2_ctrl_get_def(cptr, &val); in pvr2_v4l2_do_ioctl()
625 switch (pvr2_ctrl_get_type(cptr)) { in pvr2_v4l2_do_ioctl()
629 vc->maximum = pvr2_ctrl_get_cnt(cptr) - 1; in pvr2_v4l2_do_ioctl()
640 vc->minimum = pvr2_ctrl_get_min(cptr); in pvr2_v4l2_do_ioctl()
641 vc->maximum = pvr2_ctrl_get_max(cptr); in pvr2_v4l2_do_ioctl()
647 vc->id,pvr2_ctrl_get_name(cptr)); in pvr2_v4l2_do_ioctl()