Home
last modified time | relevance | path

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

/openbmc/linux/sound/pci/trident/
H A Dtrident_memory.c23 (trident)->tlb.entries[page] = cpu_to_le32((addr) & ~(SNDRV_TRIDENT_PAGE_SIZE-1))
25 (dma_addr_t)le32_to_cpu((trident->tlb.entries[page]) & ~(SNDRV_TRIDENT_PAGE_SIZE - 1))
56 __set_tlb_bus(trident, page+1, addr + SNDRV_TRIDENT_PAGE_SIZE); in set_tlb_bus()
67 #define UNIT_PAGES (PAGE_SIZE / SNDRV_TRIDENT_PAGE_SIZE)
68 #define ALIGN_PAGE_SIZE (SNDRV_TRIDENT_PAGE_SIZE * UNIT_PAGES)
87 addr += SNDRV_TRIDENT_PAGE_SIZE; in set_tlb_bus()
146 if (ptr & (SNDRV_TRIDENT_PAGE_SIZE-1)) { in is_valid_page()
167 SNDRV_TRIDENT_PAGE_SIZE)) in snd_trident_alloc_sg_pages()
213 SNDRV_TRIDENT_PAGE_SIZE)) in snd_trident_alloc_cont_pages()
229 addr += SNDRV_TRIDENT_PAGE_SIZE) { in snd_trident_alloc_cont_pages()
H A Dtrident.h27 #define SNDRV_TRIDENT_PAGE_SIZE 4096 macro
H A Dtrident_main.c3334 SNDRV_TRIDENT_PAGE_SIZE); in snd_trident_tlb_alloc()
3339 memset(trident->tlb.silent_page->area, 0, SNDRV_TRIDENT_PAGE_SIZE); in snd_trident_tlb_alloc()
3341 …trident->tlb.entries[i] = cpu_to_le32(trident->tlb.silent_page->addr & ~(SNDRV_TRIDENT_PAGE_SIZE-1… in snd_trident_tlb_alloc()
3344 trident->tlb.memhdr = snd_util_memhdr_new(SNDRV_TRIDENT_PAGE_SIZE * SNDRV_TRIDENT_MAX_PAGES); in snd_trident_tlb_alloc()