Home
last modified time | relevance | path

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

/freebsd/lib/libusb/
H A Dlibusb10.c733 libusb_claim_interface(struct libusb20_device *pdev, int interface_number) in libusb_claim_interface()
742 if (interface_number < 0 || interface_number > 31) in libusb_claim_interface()
746 err = libusb_detach_kernel_driver(pdev, interface_number); in libusb_claim_interface()
752 dev->claimed_interfaces |= (1 << interface_number); in libusb_release_interface()
759 libusb_release_interface(struct libusb20_device *pdev, int interface_number) in libusb_release_interface()
768 if (interface_number < 0 || interface_number > 31) in libusb_release_interface()
772 err = libusb_attach_kernel_driver(pdev, interface_number); in libusb_release_interface()
778 if (!(dev->claimed_interfaces & (1 << interface_number)))
725 libusb_claim_interface(struct libusb20_device * pdev,int interface_number) libusb_claim_interface() argument
751 libusb_release_interface(struct libusb20_device * pdev,int interface_number) libusb_release_interface() argument
781 libusb_set_interface_alt_setting(struct libusb20_device * pdev,int interface_number,int alternate_setting) libusb_set_interface_alt_setting() argument
[all...]
H A Dlibusb.h507 int libusb_claim_interface(libusb_device_handle * devh, int interface_number);
508 int libusb_release_interface(libusb_device_handle * devh, int interface_number);
518 int libusb_set_interface_alt_setting(libusb_device_handle * devh, int interface_number, int alterna…