Lines Matching refs:rc
193 int rc, i;
195 rc = ahci_platform_enable_regulators(hpriv);
196 if (rc)
197 return rc;
199 rc = ahci_platform_enable_clks(hpriv);
200 if (rc)
204 rc = ahci_platform_assert_rsts(hpriv);
205 if (rc)
209 rc = phy_init(hpriv->phys[i]);
210 if (rc)
218 rc = phy_power_on(hpriv->phys[i]);
219 if (rc) {
242 return rc;
252 int rc;
269 rc = ceva_ahci_platform_enable_resources(hpriv);
270 if (rc)
271 return rc;
280 rc = -EINVAL;
287 rc = -EINVAL;
295 rc = -EINVAL;
302 rc = -EINVAL;
310 rc = -EINVAL;
317 rc = -EINVAL;
325 rc = -EINVAL;
332 rc = -EINVAL;
348 rc = ahci_platform_init_host(pdev, hpriv, &ahci_ceva_port_info,
350 if (rc)
357 return rc;
369 int rc;
371 rc = ceva_ahci_platform_enable_resources(hpriv);
372 if (rc)
373 return rc;
378 rc = ahci_platform_resume_host(dev);
379 if (rc)
392 return rc;