Lines Matching defs:c_slot
549 PRSX(chp->ch_channel, xfer->c_slot,
671 uint8_t c_slot;
682 if (!ata_queue_alloc_slot(chp, &c_slot, ATA_MAX_OPENINGS)) {
689 prb = schp->sch_prb[c_slot];
698 siisata_activate_prb(schp, c_slot);
703 if ((pss & PR_PXSS(c_slot)) == 0) {
712 siisata_deactivate_prb(schp, c_slot);
719 if (slot != c_slot)
721 "drive %d slot %d c_slot %d", __func__,
722 chp->ch_channel, drvp->drive, slot, c_slot);
739 *sigp |= (PRREAD(sc, PRSX(chp->ch_channel, c_slot,
741 *sigp |= PRREAD(sc, PRSX(chp->ch_channel, c_slot,
746 ata_queue_free_slot(chp, c_slot);
802 uint8_t c_slot;
810 if (!ata_queue_alloc_slot(chp, &c_slot, ATA_MAX_OPENINGS)) {
850 prb = schp->sch_prb[c_slot];
855 siisata_activate_prb(schp, c_slot);
860 PR_PXSS(c_slot)) == 0) {
874 siisata_deactivate_prb(schp, c_slot);
890 sig |= (PRREAD(sc, PRSX(chp->ch_channel, c_slot,
892 sig |= PRREAD(sc, PRSX(chp->ch_channel, c_slot,
909 ata_queue_free_slot(chp, c_slot);
967 chp->ch_channel, xfer->c_drive, ata_c->r_command, xfer->c_slot),
972 prb = schp->sch_prb[xfer->c_slot];
984 if (siisata_dma_setup(chp, xfer->c_slot,
999 siisata_activate_prb(schp, xfer->c_slot);
1073 siisata_deactivate_prb(schp, xfer->c_slot);
1089 chp->ch_channel, xfer->c_slot), DEBUG_FUNCS);
1108 siisata_deactivate_prb(schp, xfer->c_slot);
1131 bus_dmamap_sync(sc->sc_dmat, schp->sch_datad[xfer->c_slot], 0,
1132 schp->sch_datad[xfer->c_slot]->dm_mapsize,
1135 bus_dmamap_unload(sc->sc_dmat, schp->sch_datad[xfer->c_slot]);
1140 PRSX(chp->ch_channel, xfer->c_slot, PRSO_FIS),
1154 if (PRREAD(sc, PRSX(chp->ch_channel, xfer->c_slot, PRSO_RTC)))
1204 chp->ch_channel, xfer->c_slot, xfer->c_drive), DEBUG_FUNCS);
1208 prb = schp->sch_prb[xfer->c_slot];
1215 if (siisata_dma_setup(chp, xfer->c_slot, ata_bio->databuf, ata_bio->bcount,
1228 siisata_activate_prb(schp, xfer->c_slot);
1283 chp->ch_channel, xfer->c_slot), DEBUG_FUNCS);
1306 siisata_deactivate_prb(schp, xfer->c_slot);
1323 chp->ch_channel, xfer->c_slot, xfer->c_drive, tfd), DEBUG_FUNCS);
1332 bus_dmamap_sync(sc->sc_dmat, schp->sch_datad[xfer->c_slot], 0,
1333 schp->sch_datad[xfer->c_slot]->dm_mapsize,
1336 bus_dmamap_unload(sc->sc_dmat, schp->sch_datad[xfer->c_slot]);
1352 PRREAD(sc, PRSX(chp->ch_channel, xfer->c_slot, PRSO_RTC));
1358 siisata_deactivate_prb(schp, xfer->c_slot);
1608 siisata_deactivate_prb(schp, xfer->c_slot);
1799 prbp = schp->sch_prb[xfer->c_slot];
1815 if (siisata_dma_setup(chp, xfer->c_slot,
1832 siisata_activate_prb(schp, xfer->c_slot);
1893 bus_dmamap_sync(sc->sc_dmat, schp->sch_datad[xfer->c_slot], 0,
1894 schp->sch_datad[xfer->c_slot]->dm_mapsize,
1897 bus_dmamap_unload(sc->sc_dmat, schp->sch_datad[xfer->c_slot]);
1900 sc_xfer->resid -= PRREAD(sc, PRSX(chp->ch_channel, xfer->c_slot,
1917 siisata_deactivate_prb(schp, xfer->c_slot);