Home
last modified time | relevance | path

Searched refs:SNDRV_TRIDENT_MAX_PAGES (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/sound/pci/trident/
Dtrident_memory.c33 #define MAX_ALIGN_PAGES SNDRV_TRIDENT_MAX_PAGES /* maxmium aligned pages */
50 #define MAX_ALIGN_PAGES (SNDRV_TRIDENT_MAX_PAGES / 2)
75 #define MAX_ALIGN_PAGES (SNDRV_TRIDENT_MAX_PAGES / UNIT_PAGES)
183 runtime->dma_bytes > SNDRV_TRIDENT_MAX_PAGES * in snd_trident_alloc_sg_pages()
232 runtime->dma_bytes > SNDRV_TRIDENT_MAX_PAGES * in snd_trident_alloc_cont_pages()
Dtrident.h30 #define SNDRV_TRIDENT_MAX_PAGES 4096 macro
Dtrident_main.c3304 2 * SNDRV_TRIDENT_MAX_PAGES * 4, &trident->tlb.buffer) < 0) { in snd_trident_tlb_alloc()
3308 …lb.entries = (__le32 *)ALIGN((unsigned long)trident->tlb.buffer.area, SNDRV_TRIDENT_MAX_PAGES * 4); in snd_trident_tlb_alloc()
3309 trident->tlb.entries_dmaaddr = ALIGN(trident->tlb.buffer.addr, SNDRV_TRIDENT_MAX_PAGES * 4); in snd_trident_tlb_alloc()
3312 vmalloc(array_size(SNDRV_TRIDENT_MAX_PAGES, in snd_trident_tlb_alloc()
3324 for (i = 0; i < SNDRV_TRIDENT_MAX_PAGES; i++) { in snd_trident_tlb_alloc()
3330 trident->tlb.memhdr = snd_util_memhdr_new(SNDRV_TRIDENT_PAGE_SIZE * SNDRV_TRIDENT_MAX_PAGES); in snd_trident_tlb_alloc()