D | trident_memory.c | 22 #define __set_tlb_bus(trident,page,ptr,addr) \ argument 23 do { (trident)->tlb.entries[page] = cpu_to_le32((addr) & ~(SNDRV_TRIDENT_PAGE_SIZE-1)); \ 24 (trident)->tlb.shadow_entries[page] = (ptr); } while (0) 25 #define __tlb_to_ptr(trident,page) \ argument 26 (void*)((trident)->tlb.shadow_entries[page]) 27 #define __tlb_to_addr(trident,page) \ argument 28 (dma_addr_t)le32_to_cpu((trident->tlb.entries[page]) & ~(SNDRV_TRIDENT_PAGE_SIZE - 1)) 35 #define set_tlb_bus(trident,page,ptr,addr) __set_tlb_bus(trident,page,ptr,addr) argument 37 #define set_silent_tlb(trident,page) __set_tlb_bus(trident, page, (unsigned long)trident->tlb.silen… argument 43 #define page_to_ptr(trident,page) __tlb_to_ptr(trident, page) argument [all …]
|