Searched refs:DEVICE_CTX (Results 1 – 9 of 9) sorted by relevance
/external/libusb/libusb/os/ |
D | linux_usbfs.c | 289 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 …]
|
D | darwin_usb.c | 411 usbi_err (DEVICE_CTX (dev), "could not find device: %s", darwin_error_str (kresult)); in darwin_get_config_descriptor()
|
/external/libusb_aah/libusb/os/ |
D | linux_usbfs.c | 441 usbi_err(DEVICE_CTX(dev), in _open_sysfs_attr() 500 usbi_err(DEVICE_CTX(dev), "read failed, ret=%d errno=%d", fd, errno); in sysfs_get_device_descriptor() 503 usbi_err(DEVICE_CTX(dev), "short read %d/%d", r, DEVICE_DESC_LENGTH); in sysfs_get_device_descriptor() 549 usbi_err(DEVICE_CTX(dev), in sysfs_get_active_config() 559 usbi_err(DEVICE_CTX(dev), "not null-terminated?"); in sysfs_get_active_config() 562 usbi_err(DEVICE_CTX(dev), "no configuration value?"); in sysfs_get_active_config() 568 usbi_err(DEVICE_CTX(dev), "error converting '%s' to integer", tmp); in sysfs_get_active_config() 636 usbi_err(DEVICE_CTX(dev), "end seek failed, ret=%d errno=%d", in sysfs_get_active_config_descriptor() 647 usbi_err(DEVICE_CTX(dev), "seek failed, ret=%d errno=%d", off, errno); in sysfs_get_active_config_descriptor() 657 usbi_err(DEVICE_CTX(dev), "read failed, ret=%d errno=%d", in sysfs_get_active_config_descriptor() [all …]
|
D | windows_usb.c | 555 struct libusb_context *ctx = DEVICE_CTX(dev_handle->dev); in windows_assign_endpoints() 622 struct libusb_context *ctx = DEVICE_CTX(transfer->dev_handle->dev); in auto_claim() 834 struct libusb_context *ctx = DEVICE_CTX(dev); in force_hcd_device_descriptor() 865 struct libusb_context *ctx = DEVICE_CTX(dev); in cache_config_descriptors() 969 struct libusb_context *ctx = DEVICE_CTX(dev); in init_device() 1615 struct libusb_context *ctx = DEVICE_CTX(dev_handle->dev); in windows_open() 1758 struct libusb_context *ctx = DEVICE_CTX(transfer->dev_handle->dev); in submit_bulk_transfer() 1777 struct libusb_context *ctx = DEVICE_CTX(transfer->dev_handle->dev); in submit_iso_transfer() 1796 struct libusb_context *ctx = DEVICE_CTX(transfer->dev_handle->dev); in submit_control_transfer() 2317 struct libusb_context *ctx = DEVICE_CTX(dev_handle->dev); in winusb_open() [all …]
|
D | darwin_usb.c | 478 usbi_err (DEVICE_CTX (dev), "could not find device: %s", darwin_error_str (kresult)); in darwin_get_config_descriptor()
|
/external/libusb/libusb/ |
D | core.c | 540 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()
|
D | libusbi.h | 135 #define DEVICE_CTX(dev) ((dev)->ctx) macro 136 #define HANDLE_CTX(handle) (DEVICE_CTX((handle)->dev))
|
/external/libusb_aah/libusb/ |
D | core.c | 570 usbi_err(DEVICE_CTX(dev), "too many configurations"); in usbi_sanitize_device() 762 usbi_err(DEVICE_CTX(dev), in libusb_get_max_packet_size() 813 usbi_err(DEVICE_CTX(dev), in libusb_get_max_iso_packet_size() 944 struct libusb_context *ctx = DEVICE_CTX(dev); in libusb_open()
|
D | libusbi.h | 213 #define DEVICE_CTX(dev) ((dev)->ctx) macro 214 #define HANDLE_CTX(handle) (DEVICE_CTX((handle)->dev))
|