Searched refs:parent_priv (Results 1 – 1 of 1) sorted by relevance
/external/libusb/libusb/os/ |
D | windows_winusb.c | 857 struct windows_device_priv *parent_priv, *priv = _device_priv(dev); in force_hcd_device_descriptor() local 872 parent_priv = _device_priv(priv->parent_dev); in force_hcd_device_descriptor() 873 if (sscanf(parent_priv->path, "\\\\.\\PCI#VEN_%04x&DEV_%04x%*s", &vid, &pid) == 2) { in force_hcd_device_descriptor() 877 usbi_warn(ctx, "could not infer VID/PID of HCD hub from '%s'", parent_priv->path); in force_hcd_device_descriptor() 997 struct windows_device_priv *priv, *parent_priv; in init_device() local 1008 parent_priv = _device_priv(parent_dev); in init_device() 1009 if (parent_priv->apib->id != USB_API_HUB) { in init_device() 1045 priv->depth = parent_priv->depth + 1; in init_device() 1055 handle = CreateFileA(parent_priv->path, GENERIC_WRITE, FILE_SHARE_WRITE, NULL, OPEN_EXISTING, in init_device() 1058 usbi_warn(ctx, "could not open hub %s: %s", parent_priv->path, windows_error_str(0)); in init_device() [all …]
|