Lines Matching defs:hpriv
44 static int mtk_ahci_platform_resets(struct ahci_host_priv *hpriv,
47 struct mtk_ahci_plat *plat = hpriv->plat_data;
102 static int mtk_ahci_parse_property(struct ahci_host_priv *hpriv,
105 struct mtk_ahci_plat *plat = hpriv->plat_data;
121 of_property_read_u32(np, "ports-implemented", &hpriv->force_port_map);
130 struct ahci_host_priv *hpriv;
137 hpriv = ahci_platform_get_resources(pdev, 0);
138 if (IS_ERR(hpriv))
139 return PTR_ERR(hpriv);
141 hpriv->plat_data = plat;
143 err = mtk_ahci_parse_property(hpriv, dev);
147 err = mtk_ahci_platform_resets(hpriv, dev);
151 err = ahci_platform_enable_resources(hpriv);
155 err = ahci_platform_init_host(pdev, hpriv, &ahci_port_info,
163 ahci_platform_disable_resources(hpriv);