Home
last modified time | relevance | path

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

/external/libusb/libusb/os/
Ddarwin_usb.c963 struct darwin_cached_device *cached_device; in process_new_device() local
968 ret = darwin_get_cached_device (ctx, service, &cached_device); in process_new_device()
970 if (ret < 0 || !cached_device->can_enumerate) { in process_new_device()
976 ret = darwin_check_configuration (ctx, cached_device); in process_new_device()
981 ctx, cached_device->session); in process_new_device()
983 dev = usbi_alloc_device(ctx, (unsigned long) cached_device->session); in process_new_device()
990 priv->dev = cached_device; in process_new_device()
993 if (cached_device->parent_session > 0) { in process_new_device()
994 …dev->parent_dev = usbi_get_device_by_session_id (ctx, (unsigned long) cached_device->parent_sessio… in process_new_device()
998 dev->port_number = cached_device->port; in process_new_device()
[all …]