Home
last modified time | relevance | path

Searched refs:dmaaddr (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/arm/allwinner/
H A Da10_codec.c145 void *dmaaddr; member
843 error = bus_dmamem_alloc(sc->dmat, &ch->dmaaddr, in a10codec_chan_init()
849 error = bus_dmamap_load(sc->dmat, ch->dmamap, ch->dmaaddr, in a10codec_chan_init()
855 memset(ch->dmaaddr, 0, sc->dmasize); in a10codec_chan_init()
857 if (sndbuf_setup(ch->buffer, ch->dmaaddr, sc->dmasize) != 0) { in a10codec_chan_init()
873 bus_dmamem_free(sc->dmat, ch->dmaaddr, ch->dmamap); in a10codec_chan_free()
/freebsd/sys/dev/bwn/
H A Dif_bwn.c3030 struct bwn_dmadesc_generic *desc, bus_addr_t dmaaddr, uint16_t bufsize, in bwn_dma_32_getdesc()
3047 addr = (dmaaddr & dt->addr_mask) | dt->base_addr; in bwn_dma_32_setdesc()
3048 addrext = ((dmaaddr & dt->addrext_mask) >> dma->addrext_shift); in bwn_dma_32_setdesc()
3123 struct bwn_dmadesc_generic *desc, bus_addr_t dmaaddr, uint16_t bufsize, in bwn_dma_64_getdesc()
3143 addr = (dmaaddr & dt->addr_mask) | dt->base_addr; in bwn_dma_64_setdesc()
3146 addrext = ((dmaaddr & dt->addrext_mask) >> dma->addrext_shift); in bwn_dma_64_setdesc()
3038 bwn_dma_32_setdesc(struct bwn_dma_ring * dr,struct bwn_dmadesc_generic * desc,bus_addr_t dmaaddr,uint16_t bufsize,int start,int end,int irq) bwn_dma_32_setdesc() argument
3131 bwn_dma_64_setdesc(struct bwn_dma_ring * dr,struct bwn_dmadesc_generic * desc,bus_addr_t dmaaddr,uint16_t bufsize,int start,int end,int irq) bwn_dma_64_setdesc() argument