Lines Matching defs:hpriv
111 static int tegra_ahci_power_on(struct ahci_host_priv *hpriv)
113 struct tegra_ahci_priv *tegra = hpriv->plat_data;
130 ret = ahci_platform_enable_resources(hpriv);
150 static void tegra_ahci_power_off(struct ahci_host_priv *hpriv)
152 struct tegra_ahci_priv *tegra = hpriv->plat_data;
154 ahci_platform_disable_resources(hpriv);
166 static int tegra_ahci_controller_init(struct ahci_host_priv *hpriv)
168 struct tegra_ahci_priv *tegra = hpriv->plat_data;
173 ret = tegra_ahci_power_on(hpriv);
262 static void tegra_ahci_controller_deinit(struct ahci_host_priv *hpriv)
264 tegra_ahci_power_off(hpriv);
269 struct ahci_host_priv *hpriv = host->private_data;
271 tegra_ahci_controller_deinit(hpriv);
294 struct ahci_host_priv *hpriv;
299 hpriv = ahci_platform_get_resources(pdev);
300 if (IS_ERR(hpriv))
301 return PTR_ERR(hpriv);
307 hpriv->plat_data = tegra;
353 ret = tegra_ahci_controller_init(hpriv);
357 ret = ahci_platform_init_host(pdev, hpriv, &ahci_tegra_port_info);
364 tegra_ahci_controller_deinit(hpriv);