Lines Matching refs:errno

210 		usbi_dbg("monotonic clock doesn't work, errno %d", errno);  in find_monotonic_clock()
290 "open %s failed ret=%d errno=%d", filename, fd, errno); in __open_sysfs_attr()
313 usbi_err(DEVICE_CTX(dev), "read failed, ret=%d errno=%d", fd, errno); in sysfs_get_device_descriptor()
363 "read bConfigurationValue failed ret=%d errno=%d", r, errno); in sysfs_get_active_config()
402 usbi_err(ctx, "read failed ret=%d errno=%d", r, errno); in seek_to_next_config()
413 usbi_err(ctx, "seek failed ret=%d errno=%d", off, errno); in seek_to_next_config()
450 off, errno); 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()
471 fd, errno); in sysfs_get_active_config_descriptor()
498 fd, errno); in sysfs_get_active_config_descriptor()
535 usbi_err(ctx, "seek failed ret=%d errno=%d", off, errno); in get_config_descriptor()
551 usbi_err(ctx, "read failed ret=%d errno=%d", r, errno); in get_config_descriptor()
579 "open '%s' failed, ret=%d errno=%d", filename, fd, errno); in op_get_config_descriptor()
653 if (errno == ENODEV) in usbfs_get_active_config()
658 "get_configuration failed ret=%d errno=%d", r, errno); in usbfs_get_active_config()
705 if (fd < 0 && errno == EACCES) { in initialize_device()
714 usbi_err(DEVICE_CTX(dev), "open failed, ret=%d errno=%d", fd, errno); in initialize_device()
757 "read descriptor failed ret=%d errno=%d", fd, errno); in initialize_device()
851 usbi_err(ctx, "opendir '%s' failed, errno=%d", dirpath, errno); in usbfs_scan_busdir()
889 usbi_err(ctx, "opendir buses failed errno=%d", errno); in usbfs_get_device_list()
951 if (errno == ENOENT) { in sysfs_scan_device()
958 usbi_err(ctx, "open busnum failed, errno=%d", errno); in sysfs_scan_device()
967 usbi_err(ctx, "fscanf busnum returned %d, errno=%d", r, errno); in sysfs_scan_device()
974 usbi_err(ctx, "open devnum failed, errno=%d", errno); in sysfs_scan_device()
981 usbi_err(ctx, "fscanf devnum returned %d, errno=%d", r, errno); in sysfs_scan_device()
1002 usbi_err(ctx, "opendir devices failed errno=%d", errno); in sysfs_get_device_list()
1057 if (errno == EACCES) { in op_open()
1063 } else if (errno == ENOENT) { in op_open()
1067 "open failed, code %d errno %d", hpriv->fd, errno); in op_open()
1102 if (errno == EINVAL) in op_set_configuration()
1104 else if (errno == EBUSY) in op_set_configuration()
1106 else if (errno == ENODEV) in op_set_configuration()
1109 usbi_err(HANDLE_CTX(handle), "failed, error %d errno %d", r, errno); in op_set_configuration()
1136 if (errno == ENOENT) in op_claim_interface()
1138 else if (errno == EBUSY) in op_claim_interface()
1140 else if (errno == ENODEV) in op_claim_interface()
1144 "claim interface failed, error %d errno %d", r, errno); in op_claim_interface()
1155 if (errno == ENODEV) in op_release_interface()
1159 "release interface failed, error %d errno %d", r, errno); in op_release_interface()
1176 if (errno == EINVAL) in op_set_interface()
1178 else if (errno == ENODEV) in op_set_interface()
1182 "setintf failed error %d errno %d", r, errno); in op_set_interface()
1196 if (errno == ENOENT) in op_clear_halt()
1198 else if (errno == ENODEV) in op_clear_halt()
1202 "clear_halt failed error %d errno %d", r, errno); in op_clear_halt()
1214 if (errno == ENODEV) in op_reset_device()
1218 "reset failed error %d errno %d", r, errno); in op_reset_device()
1235 if (errno == ENODATA) in op_kernel_driver_active()
1237 else if (errno == ENODEV) in op_kernel_driver_active()
1241 "get driver failed error %d errno %d", r, errno); in op_kernel_driver_active()
1261 if (errno == ENODATA) in op_detach_kernel_driver()
1263 else if (errno == EINVAL) in op_detach_kernel_driver()
1265 else if (errno == ENODEV) in op_detach_kernel_driver()
1269 "detach failed error %d errno %d", r, errno); in op_detach_kernel_driver()
1289 if (errno == ENODATA) in op_attach_kernel_driver()
1291 else if (errno == EINVAL) in op_attach_kernel_driver()
1293 else if (errno == ENODEV) in op_attach_kernel_driver()
1295 else if (errno == EBUSY) in op_attach_kernel_driver()
1299 "attach failed error %d errno %d", r, errno); in op_attach_kernel_driver()
1400 if (errno == ENODEV) { in submit_bulk_transfer()
1404 "submiturb failed error %d errno=%d", r, errno); in submit_bulk_transfer()
1437 if (tmp && errno != EINVAL) in submit_bulk_transfer()
1439 "unrecognised discard errno %d", errno); in submit_bulk_transfer()
1558 if (errno == ENODEV) { in submit_iso_transfer()
1562 "submiturb failed error %d errno=%d", r, errno); in submit_iso_transfer()
1594 if (tmp && errno != EINVAL) in submit_iso_transfer()
1596 "unrecognised discard errno %d", errno); in submit_iso_transfer()
1641 if (errno == ENODEV) in submit_control_transfer()
1645 "submiturb failed error %d errno=%d", r, errno); in submit_control_transfer()
1687 if (errno == EINVAL) { in cancel_control_transfer()
1692 "unrecognised DISCARD code %d", errno); in cancel_control_transfer()
1715 if (tmp && errno != EINVAL) in cancel_bulk_transfer()
1717 "unrecognised discard errno %d", errno); in cancel_bulk_transfer()
1737 if (tmp && errno != EINVAL) in cancel_iso_transfer()
1739 "unrecognised discard errno %d", errno); in cancel_iso_transfer()
1905 if (tmp && errno != EINVAL) in handle_bulk_completion()
1907 "unrecognised discard errno %d", errno); in handle_bulk_completion()
2069 if (r == -1 && errno == EAGAIN) in reap_for_handle()
2072 if (errno == ENODEV) in reap_for_handle()
2076 r, errno); in reap_for_handle()