Searched refs:musb_pdev (Results 1 – 3 of 3) sorted by relevance
146 struct platform_device *musb_pdev; in mpfs_probe() local155 musb_pdev = platform_device_alloc("musb-hdrc", PLATFORM_DEVID_AUTO); in mpfs_probe()156 if (!musb_pdev) { in mpfs_probe()174 musb_pdev->dev.parent = dev; in mpfs_probe()175 musb_pdev->dev.coherent_dma_mask = DMA_BIT_MASK(39); in mpfs_probe()176 musb_pdev->dev.dma_mask = &musb_pdev->dev.coherent_dma_mask; in mpfs_probe()177 device_set_of_node_from_dev(&musb_pdev->dev, dev); in mpfs_probe()180 glue->musb = musb_pdev; in mpfs_probe()208 ret = platform_device_add_resources(musb_pdev, pdev->resource, pdev->num_resources); in mpfs_probe()214 ret = platform_device_add_data(musb_pdev, pdata, sizeof(*pdata)); in mpfs_probe()[all …]
44 struct platform_device *musb_pdev; member491 glue->musb_pdev = platform_device_register_full(&pinfo); in mtk_musb_probe()492 if (IS_ERR(glue->musb_pdev)) { in mtk_musb_probe()493 ret = PTR_ERR(glue->musb_pdev); in mtk_musb_probe()515 platform_device_unregister(glue->musb_pdev); in mtk_musb_remove()
76 struct platform_device *musb_pdev; member788 glue->musb_pdev = platform_device_register_full(&pinfo); in sunxi_musb_probe()789 if (IS_ERR(glue->musb_pdev)) { in sunxi_musb_probe()790 ret = PTR_ERR(glue->musb_pdev); in sunxi_musb_probe()807 platform_device_unregister(glue->musb_pdev); in sunxi_musb_remove()