Lines Matching refs:parent

170 	struct dsps_glue *glue = dev_get_drvdata(dev->parent);  in dsps_musb_enable()
196 struct dsps_glue *glue = dev_get_drvdata(dev->parent); in dsps_musb_disable()
211 struct dsps_glue *glue = dev_get_drvdata(dev->parent); in dsps_check_status()
305 struct dsps_glue *glue = dev_get_drvdata(musb->controller->parent); in dsps_musb_clear_ep_rxintr()
318 struct dsps_glue *glue = dev_get_drvdata(dev->parent); in dsps_interrupt()
427 struct dsps_glue *glue = dev_get_drvdata(dev->parent); in dsps_musb_init()
428 struct platform_device *parent = to_platform_device(dev->parent); in dsps_musb_init() local
435 r = platform_get_resource_byname(parent, IORESOURCE_MEM, "control"); in dsps_musb_init()
442 musb->xceiv = devm_usb_get_phy_by_phandle(dev->parent, "phys", 0); in dsps_musb_init()
446 musb->phy = devm_phy_get(dev->parent, "usb2-phy"); in dsps_musb_init()
499 struct dsps_glue *glue = dev_get_drvdata(dev->parent); in dsps_musb_exit()
512 struct dsps_glue *glue = dev_get_drvdata(dev->parent); in dsps_musb_set_mode()
610 struct dsps_glue *glue = dev_get_drvdata(dev->parent); in dsps_musb_recover()
643 struct dsps_glue *glue = dev_get_drvdata(musb->controller->parent); in dsps_dma_controller_callback()
656 struct dsps_glue *glue = dev_get_drvdata(musb->controller->parent); in dsps_dma_controller_create()
722 struct platform_device *parent) in dsps_create_musb_pdev() argument
727 struct device *dev = &parent->dev; in dsps_create_musb_pdev()
730 struct device_node *dn = parent->dev.of_node; in dsps_create_musb_pdev()
734 res = platform_get_resource_byname(parent, IORESOURCE_MEM, "mc"); in dsps_create_musb_pdev()
741 ret = platform_get_irq_byname(parent, "mc"); in dsps_create_musb_pdev()
758 musb->dev.parent = dev; in dsps_create_musb_pdev()
761 device_set_of_node_from_dev(&musb->dev, &parent->dev); in dsps_create_musb_pdev()
772 config = devm_kzalloc(&parent->dev, sizeof(*config), GFP_KERNEL); in dsps_create_musb_pdev()
791 config->maximum_speed = usb_get_maximum_speed(&parent->dev); in dsps_create_musb_pdev()
890 glue->usbss_base = of_iomap(pdev->dev.parent->of_node, 0); in dsps_probe()