Lines Matching defs:hpriv
45 static int mtk_ahci_platform_resets(struct ahci_host_priv *hpriv,
48 struct mtk_ahci_plat *plat = hpriv->plat_data;
103 static int mtk_ahci_parse_property(struct ahci_host_priv *hpriv,
106 struct mtk_ahci_plat *plat = hpriv->plat_data;
129 struct ahci_host_priv *hpriv;
136 hpriv = ahci_platform_get_resources(pdev, 0);
137 if (IS_ERR(hpriv))
138 return PTR_ERR(hpriv);
140 hpriv->plat_data = plat;
142 err = mtk_ahci_parse_property(hpriv, dev);
146 err = mtk_ahci_platform_resets(hpriv, dev);
150 err = ahci_platform_enable_resources(hpriv);
154 err = ahci_platform_init_host(pdev, hpriv, &ahci_port_info,
162 ahci_platform_disable_resources(hpriv);