Home
last modified time | relevance | path

Searched refs:wrpmem (Results 1 – 4 of 4) sorted by relevance

/openbsd/sys/dev/ic/
H A Dqwxvar.h780 struct qwx_dmamem *wrpmem; member
H A Dqwzvar.h791 struct qwz_dmamem *wrpmem; member
H A Dqwz.c18542 if (hal->wrpmem == NULL) { in qwz_hal_alloc_cont_wrp()
18543 hal->wrpmem = qwz_dmamem_alloc(sc->sc_dmat, size, PAGE_SIZE); in qwz_hal_alloc_cont_wrp()
18544 if (hal->wrpmem == NULL) { in qwz_hal_alloc_cont_wrp()
18552 hal->wrp.vaddr = QWZ_DMA_KVA(hal->wrpmem); in qwz_hal_alloc_cont_wrp()
18553 hal->wrp.paddr = QWZ_DMA_DVA(hal->wrpmem); in qwz_hal_alloc_cont_wrp()
18562 if (hal->wrpmem == NULL) in qwz_hal_free_cont_wrp()
18567 qwz_dmamem_free(sc->sc_dmat, hal->wrpmem); in qwz_hal_free_cont_wrp()
18568 hal->wrpmem = NULL; in qwz_hal_free_cont_wrp()
H A Dqwx.c20438 if (hal->wrpmem == NULL) { in qwx_hal_alloc_cont_wrp()
20439 hal->wrpmem = qwx_dmamem_alloc(sc->sc_dmat, size, PAGE_SIZE); in qwx_hal_alloc_cont_wrp()
20440 if (hal->wrpmem == NULL) { in qwx_hal_alloc_cont_wrp()
20448 hal->wrp.vaddr = QWX_DMA_KVA(hal->wrpmem); in qwx_hal_alloc_cont_wrp()
20449 hal->wrp.paddr = QWX_DMA_DVA(hal->wrpmem); in qwx_hal_alloc_cont_wrp()
20458 if (hal->wrpmem == NULL) in qwx_hal_free_cont_wrp()
20463 qwx_dmamem_free(sc->sc_dmat, hal->wrpmem); in qwx_hal_free_cont_wrp()
20464 hal->wrpmem = NULL; in qwx_hal_free_cont_wrp()