CQHCI_HALT
return cqhci_readl(cq_host, CQHCI_CTL) & CQHCI_HALT;
cqhci_writel(cq_host, CQHCI_HALT, CQHCI_CTL);
reg & CQHCI_HALT, 0, CQHCI_OFF_TIMEOUT);
ctl |= CQHCI_HALT;
cqhci_writel(cq_host, CQHCI_HALT, 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) {
if (!(ctrl & CQHCI_HALT) || timed_out)