Lines Matching refs:compat_err
60 #define compat_err(e) -(errno=libusb_to_errno(e)) macro
183 return compat_err(r); in find_busses()
519 return compat_err(r); in initialize_device()
539 return compat_err(r); in initialize_device()
582 return compat_err(dev_list_len); in usb_find_devices()
690 return compat_err(libusb_set_configuration(dev->handle, configuration)); in usb_set_configuration()
704 return compat_err(r); in usb_claim_interface()
716 return compat_err(r); in usb_release_interface()
725 return compat_err(libusb_set_interface_alt_setting(dev->handle, in usb_set_altinterface()
731 return compat_err(usb_clear_halt(dev, ep)); in usb_resetep()
737 return compat_err(libusb_clear_halt(dev->handle, ep & 0xff)); in usb_clear_halt()
743 return compat_err(libusb_reset_device(dev->handle)); in usb_reset()
760 return compat_err(r); in usb_bulk_io()
805 return compat_err(r); in usb_interrupt_io()
849 return compat_err(r); in usb_control_msg()
860 return compat_err(r); in usb_get_string()
871 return compat_err(r); in usb_get_string_simple()
881 return compat_err(r); in usb_get_descriptor()
896 return compat_err(r); in usb_get_descriptor_by_endpoint()
910 return compat_err(r); in usb_get_driver_np()
916 return compat_err(libusb_detach_kernel_driver(dev->handle, interface)); in usb_detach_kernel_driver_np()