Lines Matching refs:dmasize
551 int datain, size_t *dmasize) in esp_dma_setup() argument
558 esc->sc_dmasize = *dmasize; in esp_dma_setup()
652 int datain, size_t *dmasize) in esp_quick_dma_setup() argument
666 esc->sc_dmasize = *dmasize; in esp_quick_dma_setup()
1087 int datain, size_t *dmasize) in esp_av_dma_setup() argument
1100 if (*dmasize == 0) { in esp_av_dma_setup()
1130 if (__predict_false(*dmasize % 16 || (uintptr_t)*addr & 0xf)) { in esp_av_dma_setup()
1133 datain ? "read" : "write", *addr, *dmasize); in esp_av_dma_setup()
1135 *dmasize = uimin(*dmasize, NBPG); in esp_av_dma_setup()
1140 memset(esc->sc_obuf, 0, roundup2(*dmasize, 16)); in esp_av_dma_setup()
1141 memcpy(esc->sc_obuf, *addr, *dmasize); in esp_av_dma_setup()
1147 *dmasize, NULL, BUS_DMA_NOWAIT); in esp_av_dma_setup()
1152 *dmasize = esc->sc_dmap->dm_segs[0].ds_len; in esp_av_dma_setup()
1153 esc->sc_dmasize = *dmasize; in esp_av_dma_setup()