Searched refs:usb_ref_device (Results 1 – 1 of 1) sorted by relevance
/freebsd/sys/dev/usb/ |
H A D | usb_dev.c | 117 static usb_error_t usb_ref_device(struct usb_cdev_privdata *, struct usb_cdev_refdata *, int); 189 usb_ref_device(struct usb_cdev_privdata *cpd, in usb_ref_device() function 340 return (usb_ref_device(cpd, crd, 1 /* need uref */)); in usb_usb_ref_device() 889 err = usb_ref_device(cpd, &refs, 1); in usb_open() 945 err = usb_ref_device(cpd, &refs, in usb_close() 1073 err = usb_ref_device(cpd, &refs, 0 /* no uref */ ); in usb_ioctl() 1123 while (usb_ref_device(cpd, &refs, 1 /* need uref */)) { in usb_ioctl() 1124 if (usb_ref_device(cpd, &refs, 0)) { in usb_ioctl() 1256 usb_ref_device(cpd, &refs, 0) != 0) in usb_kqfilter() 1304 usb_ref_device(cpd, &refs, 0) != 0) in usb_poll() [all …]
|