Lines Matching full:ccs
1377 int i, ccs, port, reset = 0; in ahci_ch_intr_main() local
1432 /* They also report wrong CCS, so try to guess one. */ in ahci_ch_intr_main()
1433 ccs = powerof2(cstatus) ? ffs(cstatus) - 1 : -1; in ahci_ch_intr_main()
1435 ccs = (ATA_INL(ch->r_mem, AHCI_P_CMD) & in ahci_ch_intr_main()
1438 //device_printf(dev, "%s ERROR is %08x cs %08x ss %08x rs %08x tfd %02x serr %08x fbs %08x ccs %d\n… in ahci_ch_intr_main()
1440 // serr, ATA_INL(ch->r_mem, AHCI_P_FBS), ccs); in ahci_ch_intr_main()
1462 ccs = 0; in ahci_ch_intr_main()
1497 if (i == ccs) in ahci_ch_intr_main()
1510 if (ch->numtslots == 0 && i != ccs && port != -2) in ahci_ch_intr_main()
1862 int ccs; in ahci_timeout() local
1873 ccs = (ATA_INL(ch->r_mem, AHCI_P_CMD) & AHCI_P_CMD_CCS_MASK) in ahci_timeout()
1875 if ((sstatus & (1 << slot->slot)) != 0 || ccs == slot->slot || in ahci_timeout()
1878 else if ((ch->rslots & (1 << ccs)) == 0) { in ahci_timeout()