Lines Matching defs:hwbuf
92 struct npehwbuf *hwbuf; /* NPE h/w buffers */
418 void *hwbuf;
437 error = bus_dmamem_map(sc->sc_dt, &seg, 1, size, &hwbuf,
447 dma->hwbuf = (void *)hwbuf;
456 dma->hwbuf = NULL;
457 bus_dmamem_unmap(sc->sc_dt, hwbuf, size);
461 error = bus_dmamap_load(sc->sc_dt, dma->buf_map, hwbuf, size, NULL,
475 struct npehwbuf *hw = &dma->hwbuf[i];
479 ((uintptr_t)hw - (uintptr_t)dma->hwbuf);
505 if (dma->hwbuf != NULL) {
511 bus_dmamem_free(sc->sc_dt, (void *)dma->hwbuf, dma->buf_map);