Lines Matching +full:device +full:- +full:handle

33 .Pq libusb, -lusb
39 library contains interfaces for directly managing a usb device.
52 argument is non-NULL, a pointer to the libusb context is stored at
62 argument is non-NULL, a pointer to the libusb context is stored at
79 This function will return non-zero if the given
85 .Bl -tag -width LIBUSB_CAP -offset indent
118 .Ql en-US
120 .Ql en-CA .
133 .Sh DEVICE HANDLING AND ENUMERATION
139 device in the list.
157 Returns the number of the bus contained by the device
162 Returns the port number which the device given by
172 the list of all port numbers from root for the device
181 Returns the device_address contained by the device
186 Returns the wire speed at which the device is connected.
203 Increment the reference counter of the device
208 Decrement the reference counter of the device
213 Open a device and obtain a device_handle.
216 on permissions problems, LIBUSB_ERROR_NO_DEVICE if the device has been
221 A convenience function to open a device by vendor and product IDs
229 Close a device handle.
233 Get the device contained by devh.
238 Get dev's parent device.
239 Returns NULL if the device has no parent (i.e. is a root device).
245 on success, LIBUSB_ERROR_NO_DEVICE if the device has been disconnected
252 for the device contained by
256 claimed, LIBUSB_ERROR_NO_DEVICE if the device has been disconnected and a
263 This is a non-blocking function.
266 driver has claimed the interface, LIBUSB_ERROR_NO_DEVICE if the device has
272 All the claimed interfaces on a device must be released
273 before closing the device.
275 interface was not claimed, LIBUSB_ERROR_NO_DEVICE if the device has been
283 setting does not exist, LIBUSB_ERROR_NO_DEVICE if the device has been
290 if the endpoint does not exist, LIBUSB_ERROR_NO_DEVICE if the device has been
295 Perform an USB port reset for an usb device.
297 LIBUSB_ERROR_NOT_FOUND if re-enumeration is required or if the device has
302 Test if the USB device is still connected.
312 if the device has been disconnected and a LIBUSB_ERROR code on failure.
320 .Fa device
330 This function is non-portable.
344 LIBUSB_ERROR_NO_DEVICE if the device has been disconnected
346 This function is non-portable.
350 Re-attach an interface kernel driver that was previously detached.
354 if the device has been disconnected, LIBUSB_ERROR_BUSY if the driver cannot be
362 When the interface is restored the kernel driver is allowed to be re-attached.
365 argument is non-zero the feature is enabled.
374 so that we can enjoy the zero-copy transfer from kernel.
389 Get the USB device descriptor for the device
391 This is a non-blocking function.
399 success, LIBUSB_ERROR_NOT_FOUND if the device is in
414 a non-blocking function which does not send a request through the device.
469 .Fn libusb_get_bos_descriptor "libusb_device_handle *handle" "struct libusb_bos_descriptor **bos"
470 This function queries the USB device given by
471 .Fa handle
512 This function parses the SuperSpeed device capability descriptor from the descriptor given by
517 On success the parsed SuperSpeed device capability descriptor must be freed using the
522 This function is NULL safe and frees a parsed SuperSpeed device capability descriptor given by
555 the device has been disconnected and a
573 device has been disconnected and another LIBUSB_ERROR code on other failures.
583 supported, LIBUSB_ERROR_OVERFLOW if the device offered more data,
584 LIBUSB_ERROR_NO_DEVICE if the device has been disconnected and
594 supported, LIBUSB_ERROR_OVERFLOW if the device offered more data,
595 LIBUSB_ERROR_NO_DEVICE if the device has been disconnected and
602 needed to use so-called USB streams.
690 Handle any pending events by checking if timeouts have expired and by
698 argument to non-zero.
707 Handle any pending events by checking the set of file descriptors for activity.
714 argument to non-zero.
719 Handle any pending events by checking if timeouts have expired and by
726 Handle any pending events in blocking mode with a sensible timeout.
732 Handle any pending events by polling file descriptors, without checking if
738 Determine the next internal timeout that libusb needs to handle.
753 Returns a NULL-terminated list on success or NULL on failure.
756 …lass" "libusb_hotplug_callback_fn cb_fn" "void *user_data" "libusb_hotplug_callback_handle *handle"
768 arguments can be set to LIBUSB_HOTPLUG_MATCH_ANY to match any value in the USB device descriptor.
781 .Fn libusb_hotplug_callback_fn "libusb_context *ctx" "libusb_device *device" "libusb_hotplug_event …
783 If this function returns non-zero, the filter is removed.
793 .Fn libusb_hotplug_deregister_callback "libusb_context *ctx" "libusb_hotplug_callback_handle handle"
805 or returns NULL if no matching handle is found.