| /src/sys/dev/ata/ |
| ata_subr.c | 95 if (xfer->c_slot == hwslot) 249 ATADEBUG_PRINT(("%s: slot %d\n", __func__, xfer->c_slot), 300 ata_queue_alloc_slot(struct ata_channel *chp, uint8_t *c_slot, 323 *c_slot = avail - 1; 324 chq->queue_xfers_avail &= ~__BIT(*c_slot); 326 KASSERT((chq->active_xfers_used & __BIT(*c_slot)) == 0); 331 ata_queue_free_slot(struct ata_channel *chp, uint8_t c_slot) 337 KASSERT((chq->active_xfers_used & __BIT(c_slot)) == 0); 338 KASSERT((chq->queue_xfers_avail & __BIT(c_slot)) == 0); 340 chq->queue_xfers_avail |= __BIT(c_slot); [all...] |
| ata.c | 1219 if (!ata_queue_alloc_slot(chp, &xfer->c_slot, drv_openings)) 1224 ata_queue_free_slot(chp, xfer->c_slot); 1312 KASSERT((chq->active_xfers_used & __BIT(xfer->c_slot)) == 0); 1324 chq->active_xfers_used |= __BIT(xfer->c_slot); 1386 KASSERT((chq->active_xfers_used & __BIT(xfer->c_slot)) != 0); 1396 chq->active_xfers_used &= ~__BIT(xfer->c_slot); 1399 ata_queue_free_slot(chp, xfer->c_slot); 2394 *count = (xfer->c_slot << 3);
|
| atavar.h | 135 int8_t c_slot; /* queue slot # */ member in struct:ata_xfer
|
| /src/sys/dev/ic/ |
| siisata.c | 549 PRSX(chp->ch_channel, xfer->c_slot, 671 uint8_t c_slot; local 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); 802 uint8_t c_slot; local [all...] |
| ahcisata_core.c | 769 uint8_t c_slot; local 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; local [all...] |
| mvsata.c | 2661 (" erqqip=%d, quetag=%d\n", erqqip, xfer->c_slot)); 2663 rv = mvsata_dma_bufload(mvport, xfer->c_slot, databuf, ata_bio->nbytes, 2669 data_dmamap = mvport->port_reqtbl[xfer->c_slot].data_dmamap; 2670 eprd = mvport->port_reqtbl[xfer->c_slot].eprd; 2684 mvsata_print_eprd(mvport, xfer->c_slot); 2687 mvport->port_reqtbl[xfer->c_slot].eprd_offset, MVSATA_EPRD_MAX_SIZE, 2794 mvport->port_reqtbl[xfer->c_slot].eprd_offset, 2880 if (i == xfer->c_slot) { 2926 rv = mvsata_dma_bufload(mvport, xfer->c_slot, databuf, 2933 data_dmamap = mvport->port_reqtbl[xfer->c_slot].data_dmamap [all...] |