Lines Matching refs:pdev
34 static int spear_ohci_hcd_drv_probe(struct platform_device *pdev)
43 irq = platform_get_irq(pdev, 0);
54 retval = dma_coerce_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(32));
58 usbh_clk = devm_clk_get(&pdev->dev, NULL);
60 dev_err(&pdev->dev, "Error getting interface clock\n");
65 hcd = usb_create_hcd(driver, &pdev->dev, dev_name(&pdev->dev));
71 hcd->regs = devm_platform_get_and_ioremap_resource(pdev, 0, &res);
95 dev_err(&pdev->dev, "init fail, %d\n", retval);
100 static void spear_ohci_hcd_drv_remove(struct platform_device *pdev)
102 struct usb_hcd *hcd = platform_get_drvdata(pdev);
113 static int spear_ohci_hcd_drv_suspend(struct platform_device *pdev,
116 struct usb_hcd *hcd = platform_get_drvdata(pdev);
119 bool do_wakeup = device_may_wakeup(&pdev->dev);