Lines Matching refs:hpriv
121 static void ahci_ceva_setup(struct ahci_host_priv *hpriv) in ahci_ceva_setup() argument
123 void __iomem *mmio = hpriv->mmio; in ahci_ceva_setup()
124 struct ceva_ahci_priv *cevapriv = hpriv->plat_data; in ahci_ceva_setup()
194 struct ahci_host_priv *hpriv; in ceva_ahci_probe() local
205 hpriv = ahci_platform_get_resources(pdev, 0); in ceva_ahci_probe()
206 if (IS_ERR(hpriv)) in ceva_ahci_probe()
207 return PTR_ERR(hpriv); in ceva_ahci_probe()
209 rc = ahci_platform_enable_resources(hpriv); in ceva_ahci_probe()
275 hpriv->plat_data = cevapriv; in ceva_ahci_probe()
278 ahci_ceva_setup(hpriv); in ceva_ahci_probe()
280 rc = ahci_platform_init_host(pdev, hpriv, &ahci_ceva_port_info, in ceva_ahci_probe()
288 ahci_platform_disable_resources(hpriv); in ceva_ahci_probe()
300 struct ahci_host_priv *hpriv = host->private_data; in ceva_ahci_resume() local
303 rc = ahci_platform_enable_resources(hpriv); in ceva_ahci_resume()
308 ahci_ceva_setup(hpriv); in ceva_ahci_resume()
322 ahci_platform_disable_resources(hpriv); in ceva_ahci_resume()