Lines Matching refs:cqcfg
243 u32 cqcfg; in __cqhci_enable() local
245 cqcfg = cqhci_readl(cq_host, CQHCI_CFG); in __cqhci_enable()
248 if (cqcfg & CQHCI_ENABLE) { in __cqhci_enable()
249 cqcfg &= ~CQHCI_ENABLE; in __cqhci_enable()
250 cqhci_writel(cq_host, cqcfg, CQHCI_CFG); in __cqhci_enable()
253 cqcfg &= ~(CQHCI_DCMD | CQHCI_TASK_DESC_SZ); in __cqhci_enable()
256 cqcfg |= CQHCI_DCMD; in __cqhci_enable()
259 cqcfg |= CQHCI_TASK_DESC_SZ; in __cqhci_enable()
261 cqhci_writel(cq_host, cqcfg, CQHCI_CFG); in __cqhci_enable()
272 cqcfg |= CQHCI_ENABLE; in __cqhci_enable()
274 cqhci_writel(cq_host, cqcfg, CQHCI_CFG); in __cqhci_enable()
291 u32 cqcfg; in __cqhci_disable() local
293 cqcfg = cqhci_readl(cq_host, CQHCI_CFG); in __cqhci_disable()
294 cqcfg &= ~CQHCI_ENABLE; in __cqhci_disable()
295 cqhci_writel(cq_host, cqcfg, CQHCI_CFG); in __cqhci_disable()
1014 u32 cqcfg; in cqhci_recovery_finish() local
1034 cqcfg = cqhci_readl(cq_host, CQHCI_CFG); in cqhci_recovery_finish()
1035 cqcfg &= ~CQHCI_ENABLE; in cqhci_recovery_finish()
1036 cqhci_writel(cq_host, cqcfg, CQHCI_CFG); in cqhci_recovery_finish()
1037 cqcfg |= CQHCI_ENABLE; in cqhci_recovery_finish()
1038 cqhci_writel(cq_host, cqcfg, CQHCI_CFG); in cqhci_recovery_finish()