Searched refs:dmamapxfer (Results 1 – 2 of 2) sorted by relevance
| /openbsd/src/sys/dev/ic/ |
| D | trm.c | 384 printf("pSRB->dmamapxfer=0x%x\n", (u_int32_t)pSRB->dmamapxfer); in trm_scsi_cmd() 388 if ((error = bus_dmamap_load(sc->sc_dmatag, pSRB->dmamapxfer, in trm_scsi_cmd() 401 bus_dmamap_sync(sc->sc_dmatag, pSRB->dmamapxfer, in trm_scsi_cmd() 402 0, pSRB->dmamapxfer->dm_mapsize, in trm_scsi_cmd() 408 for (i = 0; i < pSRB->dmamapxfer->dm_nsegs; i++) { in trm_scsi_cmd() 409 pSRB->SegmentX[i].address = pSRB->dmamapxfer->dm_segs[i].ds_addr; in trm_scsi_cmd() 410 pSRB->SegmentX[i].length = pSRB->dmamapxfer->dm_segs[i].ds_len; in trm_scsi_cmd() 413 pSRB->SRBSGCount = pSRB->dmamapxfer->dm_nsegs; in trm_scsi_cmd() 1930 bus_dmamap_sync(sc->sc_dmatag, pSRB->dmamapxfer, in trm_FinishSRB() 1931 0, pSRB->dmamapxfer->dm_mapsize, in trm_FinishSRB() [all …]
|
| D | trm.h | 72 bus_dmamap_t dmamapxfer; member
|