Lines Matching defs:retval
47 int retval;
49 retval = clk_prepare_enable(ehci_mv->clk);
50 if (retval)
51 return retval;
53 retval = phy_init(ehci_mv->phy);
54 if (retval)
57 return retval;
72 int retval;
81 retval = ehci_setup(hcd);
82 if (retval)
83 dev_err(dev, "ehci_setup failed %d\n", retval);
93 return retval;
110 int retval;
132 retval = PTR_ERR(ehci_mv->phy);
133 if (retval != -EPROBE_DEFER)
141 retval = PTR_ERR(ehci_mv->clk);
147 retval = PTR_ERR(ehci_mv->base);
151 retval = mv_ehci_enable(ehci_mv);
152 if (retval) {
153 dev_err(&pdev->dev, "init phy error %d\n", retval);
167 retval = platform_get_irq(pdev, 0);
168 if (retval < 0)
170 hcd->irq = retval;
178 retval = PTR_ERR(ehci_mv->otg);
180 if (retval == -ENXIO)
189 retval = otg_set_host(ehci_mv->otg->otg, &hcd->self);
190 if (retval < 0) {
193 retval = -ENODEV;
202 retval = usb_add_hcd(hcd, hcd->irq, IRQF_SHARED);
203 if (retval) {
205 "failed to add hcd with err %d\n", retval);
234 return retval;