/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_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_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 | 1181 if (!ata_queue_alloc_slot(chp, &xfer->c_slot, drv_openings)) 1186 ata_queue_free_slot(chp, xfer->c_slot); 1274 KASSERT((chq->active_xfers_used & __BIT(xfer->c_slot)) == 0); 1286 chq->active_xfers_used |= __BIT(xfer->c_slot); 1348 KASSERT((chq->active_xfers_used & __BIT(xfer->c_slot)) != 0); 1358 chq->active_xfers_used &= ~__BIT(xfer->c_slot); 1361 ata_queue_free_slot(chp, xfer->c_slot); 2351 *count = (xfer->c_slot << 3);
|
ata.c | 1181 if (!ata_queue_alloc_slot(chp, &xfer->c_slot, drv_openings)) 1186 ata_queue_free_slot(chp, xfer->c_slot); 1274 KASSERT((chq->active_xfers_used & __BIT(xfer->c_slot)) == 0); 1286 chq->active_xfers_used |= __BIT(xfer->c_slot); 1348 KASSERT((chq->active_xfers_used & __BIT(xfer->c_slot)) != 0); 1358 chq->active_xfers_used &= ~__BIT(xfer->c_slot); 1361 ata_queue_free_slot(chp, xfer->c_slot); 2351 *count = (xfer->c_slot << 3);
|
ata.c | 1181 if (!ata_queue_alloc_slot(chp, &xfer->c_slot, drv_openings)) 1186 ata_queue_free_slot(chp, xfer->c_slot); 1274 KASSERT((chq->active_xfers_used & __BIT(xfer->c_slot)) == 0); 1286 chq->active_xfers_used |= __BIT(xfer->c_slot); 1348 KASSERT((chq->active_xfers_used & __BIT(xfer->c_slot)) != 0); 1358 chq->active_xfers_used &= ~__BIT(xfer->c_slot); 1361 ata_queue_free_slot(chp, xfer->c_slot); 2351 *count = (xfer->c_slot << 3);
|
atavar.h | 135 int8_t c_slot; /* queue slot # */ member in struct:ata_xfer
|
atavar.h | 135 int8_t c_slot; /* queue slot # */ member in struct:ata_xfer
|
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 in function:siisata_reset_drive 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 in function:siisata_probe_drive [all...] |
siisata.c | 549 PRSX(chp->ch_channel, xfer->c_slot, 671 uint8_t c_slot; local in function:siisata_reset_drive 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 in function:siisata_probe_drive [all...] |
siisata.c | 549 PRSX(chp->ch_channel, xfer->c_slot, 671 uint8_t c_slot; local in function:siisata_reset_drive 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 in function:siisata_probe_drive [all...] |
ahcisata_core.c | 769 uint8_t c_slot; local in function:ahci_reset_drive 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 in function:ahci_probe_drive [all...] |
ahcisata_core.c | 769 uint8_t c_slot; local in function:ahci_reset_drive 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 in function:ahci_probe_drive [all...] |
ahcisata_core.c | 769 uint8_t c_slot; local in function:ahci_reset_drive 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 in function:ahci_probe_drive [all...] |
mvsata.c | 2665 (" erqqip=%d, quetag=%d\n", erqqip, xfer->c_slot)); 2667 rv = mvsata_dma_bufload(mvport, xfer->c_slot, databuf, ata_bio->nbytes, 2673 data_dmamap = mvport->port_reqtbl[xfer->c_slot].data_dmamap; 2674 eprd = mvport->port_reqtbl[xfer->c_slot].eprd; 2688 mvsata_print_eprd(mvport, xfer->c_slot); 2691 mvport->port_reqtbl[xfer->c_slot].eprd_offset, MVSATA_EPRD_MAX_SIZE, 2798 mvport->port_reqtbl[xfer->c_slot].eprd_offset, 2884 if (i == xfer->c_slot) { 2930 rv = mvsata_dma_bufload(mvport, xfer->c_slot, databuf, 2937 data_dmamap = mvport->port_reqtbl[xfer->c_slot].data_dmamap [all...] |
mvsata.c | 2665 (" erqqip=%d, quetag=%d\n", erqqip, xfer->c_slot)); 2667 rv = mvsata_dma_bufload(mvport, xfer->c_slot, databuf, ata_bio->nbytes, 2673 data_dmamap = mvport->port_reqtbl[xfer->c_slot].data_dmamap; 2674 eprd = mvport->port_reqtbl[xfer->c_slot].eprd; 2688 mvsata_print_eprd(mvport, xfer->c_slot); 2691 mvport->port_reqtbl[xfer->c_slot].eprd_offset, MVSATA_EPRD_MAX_SIZE, 2798 mvport->port_reqtbl[xfer->c_slot].eprd_offset, 2884 if (i == xfer->c_slot) { 2930 rv = mvsata_dma_bufload(mvport, xfer->c_slot, databuf, 2937 data_dmamap = mvport->port_reqtbl[xfer->c_slot].data_dmamap [all...] |
mvsata.c | 2665 (" erqqip=%d, quetag=%d\n", erqqip, xfer->c_slot)); 2667 rv = mvsata_dma_bufload(mvport, xfer->c_slot, databuf, ata_bio->nbytes, 2673 data_dmamap = mvport->port_reqtbl[xfer->c_slot].data_dmamap; 2674 eprd = mvport->port_reqtbl[xfer->c_slot].eprd; 2688 mvsata_print_eprd(mvport, xfer->c_slot); 2691 mvport->port_reqtbl[xfer->c_slot].eprd_offset, MVSATA_EPRD_MAX_SIZE, 2798 mvport->port_reqtbl[xfer->c_slot].eprd_offset, 2884 if (i == xfer->c_slot) { 2930 rv = mvsata_dma_bufload(mvport, xfer->c_slot, databuf, 2937 data_dmamap = mvport->port_reqtbl[xfer->c_slot].data_dmamap [all...] |