Searched refs:MEMSIZE (Results 1 - 2 of 2) sorted by relevance
/openbsd-current/sys/dev/sbus/ |
H A D | if_le.c | 76 #define MEMSIZE 0x4000 /* LANCE memory size */ macro 197 if ((error = bus_dmamap_create(dmatag, MEMSIZE, 1, MEMSIZE, 0, 204 if ((error = bus_dmamem_alloc(dmatag, MEMSIZE, 0, 0, 211 if ((error = bus_dmamem_map(dmatag, &seg, rseg, MEMSIZE, 221 MEMSIZE, NULL, BUS_DMA_NOWAIT|BUS_DMA_COHERENT|BUS_DMA_24BIT)) != 0) { 224 bus_dmamem_unmap(dmatag, sc->sc_mem, MEMSIZE); 229 sc->sc_memsize = MEMSIZE;
|
H A D | if_le_ledma.c | 79 #define MEMSIZE (16*1024) /* LANCE memory size */ macro 338 sc->sc_memsize = MEMSIZE; 341 if ((error = bus_dmamap_create(dmatag, MEMSIZE, 1, MEMSIZE, 349 if ((error = bus_dmamem_alloc(dmatag, MEMSIZE, 0, LEDMA_BOUNDARY, 357 if ((error = bus_dmamem_map(dmatag, &seg, rseg, MEMSIZE, 368 MEMSIZE, NULL, BUS_DMA_NOWAIT|BUS_DMA_COHERENT)) != 0) { 372 bus_dmamem_unmap(dmatag, sc->sc_mem, MEMSIZE);
|
Completed in 61 milliseconds