Lines Matching refs:sc_rdata
809 (void **)&sc->sc_rdata.stge_tx_ring, BUS_DMA_NOWAIT | in stge_dma_alloc()
819 sc->sc_cdata.stge_tx_ring_map, sc->sc_rdata.stge_tx_ring, in stge_dma_alloc()
826 sc->sc_rdata.stge_tx_ring_paddr = ctx.stge_busaddr; in stge_dma_alloc()
830 (void **)&sc->sc_rdata.stge_rx_ring, BUS_DMA_NOWAIT | in stge_dma_alloc()
840 sc->sc_cdata.stge_rx_ring_map, sc->sc_rdata.stge_rx_ring, in stge_dma_alloc()
847 sc->sc_rdata.stge_rx_ring_paddr = ctx.stge_busaddr; in stge_dma_alloc()
894 if (sc->sc_rdata.stge_tx_ring_paddr) in stge_dma_free()
897 if (sc->sc_rdata.stge_tx_ring) in stge_dma_free()
899 sc->sc_rdata.stge_tx_ring, in stge_dma_free()
901 sc->sc_rdata.stge_tx_ring = NULL; in stge_dma_free()
902 sc->sc_rdata.stge_tx_ring_paddr = 0; in stge_dma_free()
908 if (sc->sc_rdata.stge_rx_ring_paddr) in stge_dma_free()
911 if (sc->sc_rdata.stge_rx_ring) in stge_dma_free()
913 sc->sc_rdata.stge_rx_ring, in stge_dma_free()
915 sc->sc_rdata.stge_rx_ring = NULL; in stge_dma_free()
916 sc->sc_rdata.stge_rx_ring_paddr = 0; in stge_dma_free()
1106 tfd = &sc->sc_rdata.stge_tx_ring[si]; in stge_encap()
1542 control = le64toh(sc->sc_rdata.stge_tx_ring[cons].tfd_control); in stge_txeof()
1573 rfd = &sc->sc_rdata.stge_rx_ring[idx]; in stge_discard_rxbuf()
1642 status64 = le64toh(sc->sc_rdata.stge_rx_ring[cons].rfd_status); in stge_rxeof()
2365 rd = &sc->sc_rdata; in stge_init_tx_ring()
2394 rd = &sc->sc_rdata; in stge_init_rx_ring()
2460 rfd = &sc->sc_rdata.stge_rx_ring[idx]; in stge_newbuf()