Home
last modified time | relevance | path

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

/external/u-boot/drivers/core/
Ddevice-remove.c146 free(dev->parent_priv); in device_free()
147 dev->parent_priv = NULL; in device_free()
Ddevice.c338 if (size && !dev->parent_priv) { in device_probe()
339 dev->parent_priv = alloc_priv(size, drv->flags); in device_probe()
340 if (!dev->parent_priv) { in device_probe()
486 return dev->parent_priv; in dev_get_parent_priv()
/external/libusb/libusb/os/
Dwindows_winusb.c857 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 …]
/external/u-boot/drivers/net/
Dkeystone_net.c942 struct ks2_eth_priv *parent_priv; in ks2_eth_probe() local
944 parent_priv = dev_get_priv(dev->parent); in ks2_eth_probe()
945 priv->mdio_bus = parent_priv->mdio_bus; in ks2_eth_probe()
/external/u-boot/include/dm/
Ddevice.h139 void *parent_priv; member