Searched refs:SNDRV_TRIDENT_PAGE_SIZE (Results 1 – 3 of 3) sorted by relevance
23 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))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()163 if (ptr & (SNDRV_TRIDENT_PAGE_SIZE-1)) { in is_valid_page()184 SNDRV_TRIDENT_PAGE_SIZE)) in snd_trident_alloc_sg_pages()233 SNDRV_TRIDENT_PAGE_SIZE)) in snd_trident_alloc_cont_pages()[all …]
27 #define SNDRV_TRIDENT_PAGE_SIZE 4096 macro
3319 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()