CQHCI_CTL
cqhci_readl(cq_host, CQHCI_CTL));
cqhci_writel(cq_host, 0, CQHCI_CTL);
return cqhci_readl(cq_host, CQHCI_CTL);
return cqhci_readl(cq_host, CQHCI_CTL) & CQHCI_HALT;
cqhci_writel(cq_host, CQHCI_HALT, CQHCI_CTL);
cqhci_writel(cq_host, 0, CQHCI_CTL);
return !(cqhci_readl(cq_host, CQHCI_CTL) & CQHCI_CLEAR_ALL_TASKS);
ctl = cqhci_readl(cq_host, CQHCI_CTL);
cqhci_writel(cq_host, ctl, CQHCI_CTL);
ctl = cqhci_readl(cq_host, CQHCI_CTL);
cqhci_writel(cq_host, ctl, CQHCI_CTL);
cqhci_writel(cq_host, CQHCI_HALT, CQHCI_CTL);
cqhci_writel(cq_host, 0, CQHCI_CTL);
if (cqhci_readl(cq_host, CQHCI_CTL) & CQHCI_HALT)
if (reg == CQHCI_CTL && !(val & CQHCI_HALT) &&
cqhci_readl(cq_host, CQHCI_CTL) & CQHCI_HALT) {
ctrl = cqhci_readl(cq_host, CQHCI_CTL);