Lines Matching +full:regulator +full:- +full:soft +full:- +full:start
1 // SPDX-License-Identifier: GPL-2.0-only
19 #include <linux/regulator/consumer.h>
22 #define DRV_NAME "ahci-sunxi"
118 if (--timeout == 0) { in ahci_sunxi_phy_init()
120 return -EIO; in ahci_sunxi_phy_init()
133 if (--timeout == 0) { in ahci_sunxi_phy_init()
135 return -EIO; in ahci_sunxi_phy_init()
150 struct ahci_host_priv *hpriv = ap->host->private_data; in ahci_sunxi_start_engine()
152 /* Setup DMA before DMA start in ahci_sunxi_start_engine()
156 * User's Guide document (TMS320C674x/OMAP-L1x Processor in ahci_sunxi_start_engine()
193 * sunxi_clrsetbits(hpriv->mmio + AHCI_P0DMACR, 0x0000ffff, in ahci_sunxi_start_engine()
196 sunxi_clrsetbits(hpriv->mmio + AHCI_P0DMACR, 0x0000ffff, 0x00004433); in ahci_sunxi_start_engine()
198 /* Start DMA */ in ahci_sunxi_start_engine()
215 struct device *dev = &pdev->dev; in ahci_sunxi_probe()
223 hpriv->start_engine = ahci_sunxi_start_engine; in ahci_sunxi_probe()
229 rc = ahci_sunxi_phy_init(dev, hpriv->mmio); in ahci_sunxi_probe()
233 hpriv->flags = AHCI_HFLAG_32BIT_ONLY | AHCI_HFLAG_NO_MSI | in ahci_sunxi_probe()
238 * soft reset if no pmp is attached, so disable pmp use unless in ahci_sunxi_probe()
242 hpriv->flags |= AHCI_HFLAG_NO_PMP; in ahci_sunxi_probe()
260 struct ahci_host_priv *hpriv = host->private_data; in ahci_sunxi_resume()
267 rc = ahci_sunxi_phy_init(dev, hpriv->mmio); in ahci_sunxi_resume()
287 { .compatible = "allwinner,sun4i-a10-ahci", },
288 { .compatible = "allwinner,sun8i-r40-ahci", },