Home
last modified time | relevance | path

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

/third_party/FreeBSD/sys/dev/usb/
Dusb_dev.c57 static usb_error_t usb_ref_device(struct usb_cdev_privdata *, struct usb_cdev_refdata *, int);
116 usb_ref_device(struct usb_cdev_privdata *cpd, in usb_ref_device() function
270 return (usb_ref_device(cpd, crd, 1 /* need uref */)); in usb_usb_ref_device()
810 err = usb_ref_device(cpd, &refs, 1); in usb_open()
867 err = usb_ref_device(cpd, &refs, in usb_close()
980 err = usb_ref_device(cpd, &refs, 0 /* no uref */ ); in usb_ioctl()
1031 while (usb_ref_device(cpd, &refs, 1 /* need uref */)) { in usb_ioctl()
1032 if (usb_ref_device(cpd, &refs, 0)) { in usb_ioctl()
1057 if (usb_ref_device(cpd, &refs, 0) != 0) in usb_poll()
1164 err = usb_ref_device(cpd, &refs, 0 /* no uref */ ); in usb_read()
[all …]