Lines Matching refs:cqcfg
249 u32 cqcfg; in __cqhci_enable() local
251 cqcfg = cqhci_readl(cq_host, CQHCI_CFG); in __cqhci_enable()
254 if (cqcfg & CQHCI_ENABLE) { in __cqhci_enable()
255 cqcfg &= ~CQHCI_ENABLE; in __cqhci_enable()
256 cqhci_writel(cq_host, cqcfg, CQHCI_CFG); in __cqhci_enable()
259 cqcfg &= ~(CQHCI_DCMD | CQHCI_TASK_DESC_SZ); in __cqhci_enable()
262 cqcfg |= CQHCI_DCMD; in __cqhci_enable()
265 cqcfg |= CQHCI_TASK_DESC_SZ; in __cqhci_enable()
268 cqcfg |= CQHCI_CRYPTO_GENERAL_ENABLE; in __cqhci_enable()
270 cqhci_writel(cq_host, cqcfg, CQHCI_CFG); in __cqhci_enable()
281 cqcfg |= CQHCI_ENABLE; in __cqhci_enable()
283 cqhci_writel(cq_host, cqcfg, CQHCI_CFG); in __cqhci_enable()
303 u32 cqcfg; in __cqhci_disable() local
305 cqcfg = cqhci_readl(cq_host, CQHCI_CFG); in __cqhci_disable()
306 cqcfg &= ~CQHCI_ENABLE; in __cqhci_disable()
307 cqhci_writel(cq_host, cqcfg, CQHCI_CFG); in __cqhci_disable()
1069 u32 cqcfg; in cqhci_recovery_finish() local
1089 cqcfg = cqhci_readl(cq_host, CQHCI_CFG); in cqhci_recovery_finish()
1090 cqcfg &= ~CQHCI_ENABLE; in cqhci_recovery_finish()
1091 cqhci_writel(cq_host, cqcfg, CQHCI_CFG); in cqhci_recovery_finish()
1092 cqcfg |= CQHCI_ENABLE; in cqhci_recovery_finish()
1093 cqhci_writel(cq_host, cqcfg, CQHCI_CFG); in cqhci_recovery_finish()