Lines Matching defs:hpriv
150 struct ahci_host_priv *hpriv = ap->host->private_data;
193 * sunxi_clrsetbits(hpriv->mmio + AHCI_P0DMACR, 0x0000ffff,
196 sunxi_clrsetbits(hpriv->mmio + AHCI_P0DMACR, 0x0000ffff, 0x00004433);
216 struct ahci_host_priv *hpriv;
219 hpriv = ahci_platform_get_resources(pdev, AHCI_PLATFORM_GET_RESETS);
220 if (IS_ERR(hpriv))
221 return PTR_ERR(hpriv);
223 hpriv->start_engine = ahci_sunxi_start_engine;
225 rc = ahci_platform_enable_resources(hpriv);
229 rc = ahci_sunxi_phy_init(dev, hpriv->mmio);
233 hpriv->flags = AHCI_HFLAG_32BIT_ONLY | AHCI_HFLAG_NO_MSI |
242 hpriv->flags |= AHCI_HFLAG_NO_PMP;
244 rc = ahci_platform_init_host(pdev, hpriv, &ahci_sunxi_port_info,
252 ahci_platform_disable_resources(hpriv);
260 struct ahci_host_priv *hpriv = host->private_data;
263 rc = ahci_platform_enable_resources(hpriv);
267 rc = ahci_sunxi_phy_init(dev, hpriv->mmio);
278 ahci_platform_disable_resources(hpriv);