Lines Matching refs:hpriv
163 struct ahci_host_priv *hpriv; in ahci_da850_probe() local
170 hpriv = ahci_platform_get_resources(pdev, 0); in ahci_da850_probe()
171 if (IS_ERR(hpriv)) in ahci_da850_probe()
172 return PTR_ERR(hpriv); in ahci_da850_probe()
181 if (!hpriv->clks[0]) { in ahci_da850_probe()
186 hpriv->clks[0] = clk; in ahci_da850_probe()
194 if (!hpriv->clks[1]) { in ahci_da850_probe()
201 hpriv->clks[1] = clk; in ahci_da850_probe()
204 mpy = ahci_da850_calculate_mpy(clk_get_rate(hpriv->clks[1])); in ahci_da850_probe()
210 rc = ahci_platform_enable_resources(hpriv); in ahci_da850_probe()
226 da850_sata_init(dev, pwrdn_reg, hpriv->mmio, mpy); in ahci_da850_probe()
228 rc = ahci_platform_init_host(pdev, hpriv, &ahci_da850_port_info, in ahci_da850_probe()
235 ahci_platform_disable_resources(hpriv); in ahci_da850_probe()