Lines Matching refs:sc_txdmadesc
197 err = bus_dmamem_alloc(sc->sc_dmadesc_tag, (void **)&sc->sc_txdmadesc,
201 sc->sc_txdmadesc, 128*sizeof(struct glc_dmadesc), glc_getphys,
663 bzero(&sc->sc_txdmadesc[idx], sizeof(sc->sc_txdmadesc[idx]));
664 sc->sc_txdmadesc[idx].paddr = segs[i].ds_addr;
665 sc->sc_txdmadesc[idx].len = segs[i].ds_len;
666 sc->sc_txdmadesc[idx].next = sc->sc_txdmadesc_phys +
668 sc->sc_txdmadesc[idx].cmd_stat |= GELIC_CMDSTAT_NOIPSEC;
672 sc->sc_txdmadesc[idx].next = 0;
673 sc->sc_txdmadesc[idx].cmd_stat |= GELIC_CMDSTAT_LAST;
677 sc->sc_txdmadesc[idx].cmd_stat |= GELIC_CMDSTAT_CSUM_TCP;
679 sc->sc_txdmadesc[idx].cmd_stat |= GELIC_CMDSTAT_CSUM_UDP;
680 sc->sc_txdmadesc[idx].cmd_stat |= GELIC_DESCR_OWNED;
696 sc->sc_txdmadesc[idx].next = firstslotphys;
790 if (sc->sc_txdmadesc[txs->txs_lastdesc].cmd_stat
803 if ((sc->sc_txdmadesc[txs->txs_lastdesc].cmd_stat & 0xf0000000)
810 if (sc->sc_txdmadesc[txs->txs_lastdesc].cmd_stat &