Lines Matching refs:qpriv
172 struct ahci_qoriq_priv *qpriv = hpriv->plat_data; in ahci_qoriq_phy_init() local
175 switch (qpriv->type) { in ahci_qoriq_phy_init()
177 if (!(qpriv->ecc_addr || ecc_initialized)) in ahci_qoriq_phy_init()
179 else if (qpriv->ecc_addr && !ecc_initialized) in ahci_qoriq_phy_init()
180 writel(SATA_ECC_DISABLE, qpriv->ecc_addr); in ahci_qoriq_phy_init()
187 if (qpriv->is_dmacoherent) in ahci_qoriq_phy_init()
193 if (!(qpriv->ecc_addr || ecc_initialized)) in ahci_qoriq_phy_init()
195 else if (qpriv->ecc_addr && !ecc_initialized) in ahci_qoriq_phy_init()
196 writel(readl(qpriv->ecc_addr) | in ahci_qoriq_phy_init()
198 qpriv->ecc_addr); in ahci_qoriq_phy_init()
203 if (qpriv->is_dmacoherent) in ahci_qoriq_phy_init()
212 if (qpriv->is_dmacoherent) in ahci_qoriq_phy_init()
217 if (!(qpriv->ecc_addr || ecc_initialized)) in ahci_qoriq_phy_init()
219 else if (qpriv->ecc_addr && !ecc_initialized) in ahci_qoriq_phy_init()
220 writel(readl(qpriv->ecc_addr) | in ahci_qoriq_phy_init()
222 qpriv->ecc_addr); in ahci_qoriq_phy_init()
227 if (qpriv->is_dmacoherent) in ahci_qoriq_phy_init()
234 if (!(qpriv->ecc_addr || ecc_initialized)) in ahci_qoriq_phy_init()
236 else if (qpriv->ecc_addr && !ecc_initialized) in ahci_qoriq_phy_init()
237 writel(readl(qpriv->ecc_addr) | in ahci_qoriq_phy_init()
239 qpriv->ecc_addr); in ahci_qoriq_phy_init()
244 if (qpriv->is_dmacoherent) in ahci_qoriq_phy_init()
253 if (qpriv->is_dmacoherent) in ahci_qoriq_phy_init()