| /src/sys/dev/cadence/ |
| if_cemacvar.h | 61 unsigned tbqlen; member in struct:cemac_softc
|
| if_cemacvar.h | 61 unsigned tbqlen; member in struct:cemac_softc
|
| if_cemac.c | 521 sc->tbqlen = roundup(ETH_DSC_SIZE * (TX_QLEN + 1) * 2, PAGE_SIZE); 522 DPRINTFN(1,("%s: tbqlen=%i\n", __FUNCTION__, sc->tbqlen)); 525 err = bus_dmamem_alloc(sc->sc_dmat, sc->tbqlen, 0, 529 err = bus_dmamem_map(sc->sc_dmat, &segs, 1, sc->tbqlen, 534 err = bus_dmamap_create(sc->sc_dmat, sc->tbqlen, 1, 535 sc->tbqlen, MAX(16384, PAGE_SIZE), BUS_DMA_WAITOK, 541 sc->tbqpage, sc->tbqlen, NULL, BUS_DMA_WAITOK); 547 memset(sc->tbqpage, 0, sc->tbqlen);
|
| if_cemac.c | 521 sc->tbqlen = roundup(ETH_DSC_SIZE * (TX_QLEN + 1) * 2, PAGE_SIZE); 522 DPRINTFN(1,("%s: tbqlen=%i\n", __FUNCTION__, sc->tbqlen)); 525 err = bus_dmamem_alloc(sc->sc_dmat, sc->tbqlen, 0, 529 err = bus_dmamem_map(sc->sc_dmat, &segs, 1, sc->tbqlen, 534 err = bus_dmamap_create(sc->sc_dmat, sc->tbqlen, 1, 535 sc->tbqlen, MAX(16384, PAGE_SIZE), BUS_DMA_WAITOK, 541 sc->tbqpage, sc->tbqlen, NULL, BUS_DMA_WAITOK); 547 memset(sc->tbqpage, 0, sc->tbqlen);
|