Home
last modified time | relevance | path

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

/external/libusb/libusb/os/
Dlinux_usbfs.c289 usbi_err(DEVICE_CTX(dev), in __open_sysfs_attr()
313 usbi_err(DEVICE_CTX(dev), "read failed, ret=%d errno=%d", fd, errno); in sysfs_get_device_descriptor()
316 usbi_err(DEVICE_CTX(dev), "short read %d/%d", r, DEVICE_DESC_LENGTH); in sysfs_get_device_descriptor()
362 usbi_err(DEVICE_CTX(dev), in sysfs_get_active_config()
366 usbi_err(DEVICE_CTX(dev), "device unconfigured"); in sysfs_get_active_config()
372 usbi_err(DEVICE_CTX(dev), "not null-terminated?"); in sysfs_get_active_config()
375 usbi_err(DEVICE_CTX(dev), "no configuration value?"); in sysfs_get_active_config()
381 usbi_err(DEVICE_CTX(dev), "error converting '%s' to integer", tmp); in sysfs_get_active_config()
449 usbi_err(DEVICE_CTX(dev), "end seek failed, ret=%d errno=%d", in sysfs_get_active_config_descriptor()
460 usbi_err(DEVICE_CTX(dev), "seek failed, ret=%d errno=%d", off, errno); in sysfs_get_active_config_descriptor()
[all …]
Ddarwin_usb.c411 usbi_err (DEVICE_CTX (dev), "could not find device: %s", darwin_error_str (kresult)); in darwin_get_config_descriptor()
/external/libusb/libusb/
Dcore.c540 usbi_err(DEVICE_CTX(dev), "too many configurations"); in usbi_sanitize_device()
724 usbi_err(DEVICE_CTX(dev), in libusb_get_max_packet_size()
775 usbi_err(DEVICE_CTX(dev), in libusb_get_max_iso_packet_size()
859 struct libusb_context *ctx = DEVICE_CTX(dev); in libusb_open()
Dlibusbi.h135 #define DEVICE_CTX(dev) ((dev)->ctx) macro
136 #define HANDLE_CTX(handle) (DEVICE_CTX((handle)->dev))