Lines Matching refs:parent
315 if ((*pudev)->parent == NULL) // skip root hub, 2012.02.29
396 struct usb_device *ms_usb_alloc_dev(struct usb_device *parent, struct usb_bus *bus) in ms_usb_alloc_dev() argument
412 if (!parent) in ms_usb_alloc_dev()
415 pUdev->parent = parent; in ms_usb_alloc_dev()
477 if (pUdev->parent) in ms_usb_disconnect()
478 devnum = pUdev->parent->u32DevNum; in ms_usb_disconnect()
589 int ms_usb_new_device(struct usb_device *pUdev, struct device_s *parent) in ms_usb_new_device() argument
599 pUdev->dev.parent = parent; in ms_usb_new_device()
609 pUdev->dev.dma_mask = parent->dma_mask; in ms_usb_new_device()
687 if (pUdev->parent) // not root hub in ms_usb_new_device()
691 if (pUdev->parent ) // not root hub in ms_usb_new_device()
772 if (pUdev->parent ) // not root hub in ms_usb_new_device()
789 iface->dev.parent = &pUdev->dev; in ms_usb_new_device()
792 iface->dev.dma_mask = parent->dma_mask; in ms_usb_new_device()