Searched refs:MC_RXDMABUFS (Results 1 - 4 of 4) sorted by relevance

/netbsd-current/sys/arch/mac68k/dev/
H A Dif_mcvar.h47 #ifndef MC_RXDMABUFS
48 #define MC_RXDMABUFS 4 macro
50 #if (MC_RXDMABUFS < 2)
54 #define MC_NPAGES ((MC_RXDMABUFS * 0x800 + PAGE_SIZE - 1) / PAGE_SIZE)
/netbsd-current/sys/arch/macppc/dev/
H A Dif_mcvar.h47 #ifndef MC_RXDMABUFS
48 #define MC_RXDMABUFS 2 macro
50 #if (MC_RXDMABUFS < 2)
54 #define MC_NPAGES ((MC_RXDMABUFS * 0x800 + PAGE_SIZE - 1) / PAGE_SIZE)
H A Dif_mc.c239 for (n = 0; n < MC_RXDMABUFS; n++, i++) {
240 if (i == MC_RXDMABUFS)
310 for (i = 0; i < MC_RXDMABUFS; i++) {
/netbsd-current/sys/arch/mac68k/obio/
H A Dif_mc_obio.c149 if (bus_dmamem_alloc(sc->sc_dmat, MC_RXDMABUFS * 0x800, 0, 0,
156 MC_RXDMABUFS * 0x800, (void*)&sc->sc_rxbuf,
174 if (bus_dmamap_create(sc->sc_dmat, MC_RXDMABUFS * 0x800, 1,
175 MC_RXDMABUFS * 0x800, 0, BUS_DMA_NOWAIT, &sc->sc_dmam_rx) != 0) {
181 MC_RXDMABUFS * 0x800, NULL, BUS_DMA_NOWAIT) != 0) {
296 head = MC_RXDMABUFS - bufsleft;
390 psc_reg4(PSC_ENETRD_LEN + set) = MC_RXDMABUFS;

Completed in 193 milliseconds