Searched refs:get_aligned_page (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/sound/pci/trident/
H A Dtrident_memory.c54 #define get_aligned_page(offset) ((offset) >> 12) macro
66 #define get_aligned_page(offset) ((offset) >> 13) macro
96 #define get_aligned_page(offset) ((offset) / ALIGN_PAGE_SIZE) macro
127 ptr = page_to_ptr(trident, get_aligned_page(offset)); offset_ptr()
146 psize = get_aligned_page(size + ALIGN_PAGE_SIZE -1); search_empty()
/linux-4.4.14/sound/pci/emu10k1/
H A Dmemory.c43 #define get_aligned_page(offset) ((offset) >> PAGE_SHIFT) macro
91 blk->first_page = get_aligned_page(blk->mem.offset); emu10k1_memblk_init()
92 blk->last_page = get_aligned_page(blk->mem.offset + blk->mem.size - 1); emu10k1_memblk_init()
212 psize = get_aligned_page(size + PAGE_SIZE -1); search_empty()
534 page = get_aligned_page(offset); snd_emu10k1_synth_bzero()
564 page = get_aligned_page(offset); snd_emu10k1_synth_copy_from_user()

Completed in 330 milliseconds