Home
last modified time | relevance | path

Searched refs:c_slot (Results 1 – 6 of 6) sorted by relevance

/netbsd/sys/dev/ic/
H A Dsiisata.c671 uint8_t c_slot; in siisata_reset_drive() local
689 prb = schp->sch_prb[c_slot]; in siisata_reset_drive()
698 siisata_activate_prb(schp, c_slot); in siisata_reset_drive()
719 if (slot != c_slot) in siisata_reset_drive()
746 ata_queue_free_slot(chp, c_slot); in siisata_reset_drive()
802 uint8_t c_slot; in siisata_probe_drive() local
850 prb = schp->sch_prb[c_slot]; in siisata_probe_drive()
860 PR_PXSS(c_slot)) == 0) { in siisata_probe_drive()
909 ata_queue_free_slot(chp, c_slot); in siisata_probe_drive()
972 prb = schp->sch_prb[xfer->c_slot]; in siisata_cmd_start()
[all …]
H A Dahcisata_core.c773 uint8_t c_slot; in ahci_reset_drive() local
791 ata_queue_free_slot(chp, c_slot); in ahci_reset_drive()
845 uint32_t *sigp, uint8_t c_slot) in ahci_do_reset_drive() argument
893 cmd_h = &achp->ahcic_cmdh[c_slot]; in ahci_do_reset_drive()
894 cmd_tbl = achp->ahcic_cmd_tbl[c_slot]; in ahci_do_reset_drive()
1060 uint8_t c_slot; in ahci_probe_drive() local
1089 &sig, c_slot); in ahci_probe_drive()
1132 ata_queue_free_slot(chp, c_slot); in ahci_probe_drive()
1179 int slot = xfer->c_slot; in ahci_cmd_start()
1373 AHCI_CMDH_SYNC(sc, achp, xfer->c_slot, in ahci_cmd_done()
[all …]
H A Dmvsata.c2674 eprd = mvport->port_reqtbl[xfer->c_slot].eprd; in mvsata_edma_enqueue()
2688 mvsata_print_eprd(mvport, xfer->c_slot); in mvsata_edma_enqueue()
2884 if (i == xfer->c_slot) { in mvsata_edma_rqq_remove()
2938 eprd = mvport->port_reqtbl[xfer->c_slot].eprd; in mvsata_bdma_init()
2952 mvsata_print_eprd(mvport, xfer->c_slot); in mvsata_bdma_init()
2955 mvport->port_reqtbl[xfer->c_slot].eprd_offset, in mvsata_bdma_init()
2958 mvport->port_reqtbl[xfer->c_slot].eprd_offset; in mvsata_bdma_init()
3553 mvport->port_reqtbl[xfer->c_slot].eprd_offset; in mvsata_edma_setup_crqb()
3572 htole16(rw | CRQB_CHOSTQUETAG(xfer->c_slot) | in mvsata_edma_setup_crqb()
3799 mvport->port_reqtbl[xfer->c_slot].eprd_offset; in mvsata_edma_setup_crqb_gen2e()
[all …]
/netbsd/sys/dev/ata/
H A Data_subr.c95 if (xfer->c_slot == hwslot) in ata_queue_hwslot_to_xfer()
249 ATADEBUG_PRINT(("%s: slot %d\n", __func__, xfer->c_slot), in ata_timeout()
300 ata_queue_alloc_slot(struct ata_channel *chp, uint8_t *c_slot, in ata_queue_alloc_slot() argument
323 *c_slot = avail - 1; in ata_queue_alloc_slot()
324 chq->queue_xfers_avail &= ~__BIT(*c_slot); in ata_queue_alloc_slot()
326 KASSERT((chq->active_xfers_used & __BIT(*c_slot)) == 0); in ata_queue_alloc_slot()
331 ata_queue_free_slot(struct ata_channel *chp, uint8_t c_slot) in ata_queue_free_slot() argument
337 KASSERT((chq->active_xfers_used & __BIT(c_slot)) == 0); in ata_queue_free_slot()
338 KASSERT((chq->queue_xfers_avail & __BIT(c_slot)) == 0); in ata_queue_free_slot()
340 chq->queue_xfers_avail |= __BIT(c_slot); in ata_queue_free_slot()
H A Data.c1181 if (!ata_queue_alloc_slot(chp, &xfer->c_slot, drv_openings)) in atastart()
1186 ata_queue_free_slot(chp, xfer->c_slot); in atastart()
1274 KASSERT((chq->active_xfers_used & __BIT(xfer->c_slot)) == 0); in ata_activate_xfer_locked()
1286 chq->active_xfers_used |= __BIT(xfer->c_slot); in ata_activate_xfer_locked()
1348 KASSERT((chq->active_xfers_used & __BIT(xfer->c_slot)) != 0); in ata_deactivate_xfer()
1358 chq->active_xfers_used &= ~__BIT(xfer->c_slot); in ata_deactivate_xfer()
1361 ata_queue_free_slot(chp, xfer->c_slot); in ata_deactivate_xfer()
2351 *count = (xfer->c_slot << 3); in atacmd_toncq()
H A Datavar.h135 int8_t c_slot; /* queue slot # */ member