Lines Matching refs:txring_hd_ptr
161 int txring_hd_ptr; /* where to put next xmits */ member
486 sc->txring_hd_ptr = 0; in cgem_setup_descs()
778 &sc->txring_m_dmamap[sc->txring_hd_ptr])) { in cgem_start_locked()
784 sc->txring_m_dmamap[sc->txring_hd_ptr], m, segs, &nsegs, in cgem_start_locked()
794 sc->txring_m_dmamap[sc->txring_hd_ptr]); in cgem_start_locked()
795 sc->txring_m_dmamap[sc->txring_hd_ptr] = NULL; in cgem_start_locked()
800 sc->txring_m_dmamap[sc->txring_hd_ptr], m, segs, in cgem_start_locked()
808 sc->txring_m_dmamap[sc->txring_hd_ptr]); in cgem_start_locked()
809 sc->txring_m_dmamap[sc->txring_hd_ptr] = NULL; in cgem_start_locked()
813 sc->txring_m[sc->txring_hd_ptr] = m; in cgem_start_locked()
817 sc->txring_m_dmamap[sc->txring_hd_ptr], in cgem_start_locked()
821 wrap = sc->txring_hd_ptr + nsegs + TX_MAX_DMA_SEGS >= in cgem_start_locked()
830 sc->txring[sc->txring_hd_ptr + i].addr = in cgem_start_locked()
833 sc->txring[sc->txring_hd_ptr + i].addrhi = in cgem_start_locked()
843 sc->txring[sc->txring_hd_ptr + i].ctl = ctl; in cgem_start_locked()
846 sc->txring_m[sc->txring_hd_ptr + i] = NULL; in cgem_start_locked()
850 sc->txring_hd_ptr = 0; in cgem_start_locked()
852 sc->txring_hd_ptr += nsegs; in cgem_start_locked()
1202 sc->txring_hd_ptr = 0; in cgem_stop()