Home
last modified time | relevance | path

Searched refs:SNDRV_TRIDENT_PAGE_SIZE (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/sound/pci/trident/
H A Dtrident_memory.c23 do { (trident)->tlb.entries[page] = cpu_to_le32((addr) & ~(SNDRV_TRIDENT_PAGE_SIZE-1)); \
28 (dma_addr_t)le32_to_cpu((trident->tlb.entries[page]) & ~(SNDRV_TRIDENT_PAGE_SIZE - 1))
31 /* page size == SNDRV_TRIDENT_PAGE_SIZE */
48 /* page size == SNDRV_TRIDENT_PAGE_SIZE x 2*/
62 __set_tlb_bus(trident, page+1, ptr + SNDRV_TRIDENT_PAGE_SIZE, addr + SNDRV_TRIDENT_PAGE_SIZE); in set_tlb_bus()
73 #define UNIT_PAGES (PAGE_SIZE / SNDRV_TRIDENT_PAGE_SIZE)
74 #define ALIGN_PAGE_SIZE (SNDRV_TRIDENT_PAGE_SIZE * UNIT_PAGES)
94 ptr += SNDRV_TRIDENT_PAGE_SIZE; in set_tlb_bus()
95 addr += SNDRV_TRIDENT_PAGE_SIZE; in set_tlb_bus()
[all...]
H A Dtrident.h27 #define SNDRV_TRIDENT_PAGE_SIZE 4096 macro
H A Dtrident_main.c3319 SNDRV_TRIDENT_PAGE_SIZE, &trident->tlb.silent_page) < 0) { in snd_trident_tlb_alloc()
3323 memset(trident->tlb.silent_page.area, 0, SNDRV_TRIDENT_PAGE_SIZE); in snd_trident_tlb_alloc()
3325 trident->tlb.entries[i] = cpu_to_le32(trident->tlb.silent_page.addr & ~(SNDRV_TRIDENT_PAGE_SIZE-1)); 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()
/kernel/linux/linux-6.6/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))
28 /* page size == SNDRV_TRIDENT_PAGE_SIZE */
43 /* page size == SNDRV_TRIDENT_PAGE_SIZE x 2*/
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()
[all...]
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()

Completed in 13 milliseconds