Lines Matching refs:sc_rxdsoft
299 &sc->sc_rxdsoft[i].rxds_buf, BUS_DMA_WAITOK, in cas_attach()
300 &sc->sc_rxdsoft[i].rxds_dmamap)) != 0) { in cas_attach()
308 sc->sc_rxdsoft[i].rxds_paddr = 0; in cas_attach()
310 sc->sc_rxdsoft[i].rxds_dmamap, sc->sc_rxdsoft[i].rxds_buf, in cas_attach()
312 sc->sc_rxdsoft[i].rxds_paddr == 0) { in cas_attach()
432 if (sc->sc_rxdsoft[i].rxds_paddr != 0) in cas_attach()
434 sc->sc_rxdsoft[i].rxds_dmamap); in cas_attach()
437 if (sc->sc_rxdsoft[i].rxds_buf != NULL) in cas_attach()
439 sc->sc_rxdsoft[i].rxds_buf, in cas_attach()
440 sc->sc_rxdsoft[i].rxds_dmamap); in cas_attach()
483 if (sc->sc_rxdsoft[i].rxds_dmamap != NULL) in cas_detach()
485 sc->sc_rxdsoft[i].rxds_dmamap, in cas_detach()
488 if (sc->sc_rxdsoft[i].rxds_paddr != 0) in cas_detach()
490 sc->sc_rxdsoft[i].rxds_dmamap); in cas_detach()
492 if (sc->sc_rxdsoft[i].rxds_buf != NULL) in cas_detach()
494 sc->sc_rxdsoft[i].rxds_buf, in cas_detach()
495 sc->sc_rxdsoft[i].rxds_dmamap); in cas_detach()
619 sc->sc_rxdsoft[sc->sc_rxdptr].rxds_paddr = segs[0].ds_addr; in cas_rxdma_callback()
1717 rxds = &sc->sc_rxdsoft[idx]; in cas_rint()
1756 rxds = &sc->sc_rxdsoft[idx]; in cas_rint()
1786 rxds2 = &sc->sc_rxdsoft[idx2]; in cas_rint()
1868 rxds = &sc->sc_rxdsoft[idx]; in cas_free()
1889 bus_dmamap_sync(sc->sc_rdmatag, sc->sc_rxdsoft[idx].rxds_dmamap, in cas_add_rxdesc()