Home | History | Annotate | Download | only in ic

Lines Matching defs:c_slot

769 	uint8_t c_slot;
774 if (!ata_queue_alloc_slot(chp, &c_slot, ATA_MAX_OPENINGS)) {
784 ahci_do_reset_drive(chp, drvp->drive, flags, sigp, c_slot);
787 ata_queue_free_slot(chp, c_slot);
841 uint32_t *sigp, uint8_t c_slot)
889 cmd_h = &achp->ahcic_cmdh[c_slot];
890 cmd_tbl = achp->ahcic_cmd_tbl[c_slot];
899 switch (ahci_exec_fis(chp, 100, flags, c_slot)) {
939 switch (ahci_exec_fis(chp, 310, flags, c_slot)) {
1056 uint8_t c_slot;
1062 if (!ata_queue_alloc_slot(chp, &c_slot, ATA_MAX_OPENINGS)) {
1085 &sig, c_slot);
1098 ahci_do_reset_drive(chp, 0, AT_WAIT, &sig, c_slot);
1128 ata_queue_free_slot(chp, c_slot);
1175 int slot = xfer->c_slot;
1362 bus_dmamap_t map = achp->ahcic_datad[xfer->c_slot];
1369 AHCI_CMDH_SYNC(sc, achp, xfer->c_slot,
1381 if (achp->ahcic_cmdh[xfer->c_slot].cmdh_prdbc)
1436 cmd_tbl = achp->ahcic_cmd_tbl[xfer->c_slot];
1443 cmd_h = &achp->ahcic_cmdh[xfer->c_slot];
1446 if (ahci_dma_setup(chp, xfer->c_slot, ata_bio->databuf, ata_bio->bcount,
1456 AHCI_CMDH_SYNC(sc, achp, xfer->c_slot,
1465 AHCI_WRITE(sc, AHCI_P_SACT(chp->ch_channel), 1U << xfer->c_slot);
1467 AHCI_WRITE(sc, AHCI_P_CI(chp->ch_channel), 1U << xfer->c_slot);
1570 bus_dmamap_sync(sc->sc_dmat, achp->ahcic_datad[xfer->c_slot], 0,
1571 achp->ahcic_datad[xfer->c_slot]->dm_mapsize,
1574 bus_dmamap_unload(sc->sc_dmat, achp->ahcic_datad[xfer->c_slot]);
1585 AHCI_CMDH_SYNC(sc, achp, xfer->c_slot,
1603 le32toh(achp->ahcic_cmdh[xfer->c_slot].cmdh_prdbc);
1931 cmd_tbl = achp->ahcic_cmd_tbl[xfer->c_slot];
1940 cmd_h = &achp->ahcic_cmdh[xfer->c_slot];
1943 if (ahci_dma_setup(chp, xfer->c_slot,
1956 AHCI_CMDH_SYNC(sc, achp, xfer->c_slot,
1965 AHCI_WRITE(sc, AHCI_P_CI(chp->ch_channel), 1U << xfer->c_slot);
2032 bus_dmamap_sync(sc->sc_dmat, achp->ahcic_datad[xfer->c_slot], 0,
2033 achp->ahcic_datad[xfer->c_slot]->dm_mapsize,
2036 bus_dmamap_unload(sc->sc_dmat, achp->ahcic_datad[xfer->c_slot]);
2039 AHCI_CMDH_SYNC(sc, achp, xfer->c_slot,
2042 sc_xfer->resid -= le32toh(achp->ahcic_cmdh[xfer->c_slot].cmdh_prdbc);