D | trident_memory.c | 22 #define __set_tlb_bus(trident,page,addr) \ argument 23 (trident)->tlb.entries[page] = cpu_to_le32((addr) & ~(SNDRV_TRIDENT_PAGE_SIZE-1)) 24 #define __tlb_to_addr(trident,page) \ argument 25 (dma_addr_t)le32_to_cpu((trident->tlb.entries[page]) & ~(SNDRV_TRIDENT_PAGE_SIZE - 1)) 32 #define set_tlb_bus(trident,page,addr) __set_tlb_bus(trident,page,addr) argument 34 #define set_silent_tlb(trident,page) __set_tlb_bus(trident, page, trident->tlb.silent_page->addr) argument 40 #define page_to_addr(trident,page) __tlb_to_addr(trident, page) argument 48 #define page_to_addr(trident,page) __tlb_to_addr(trident, (page) << 1) argument 51 static inline void set_tlb_bus(struct snd_trident *trident, int page, in set_tlb_bus() argument 55 __set_tlb_bus(trident, page, addr); in set_tlb_bus() [all …]
|