Home
last modified time | relevance | path

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

/Linux-v5.10/sound/pci/trident/
Dtrident_memory.c39 #define get_aligned_page(offset) ((offset) >> 12) macro
51 #define get_aligned_page(offset) ((offset) >> 13) macro
81 #define get_aligned_page(offset) ((offset) / ALIGN_PAGE_SIZE) macro
112 ptr = page_to_ptr(trident, get_aligned_page(offset)); in offset_ptr()
131 psize = get_aligned_page(size + ALIGN_PAGE_SIZE -1); in search_empty()
/Linux-v5.10/sound/pci/emu10k1/
Dmemory.c31 #define get_aligned_page(offset) ((offset) >> PAGE_SHIFT) macro
83 blk->first_page = get_aligned_page(blk->mem.offset); in emu10k1_memblk_init()
84 blk->last_page = get_aligned_page(blk->mem.offset + blk->mem.size - 1); in emu10k1_memblk_init()
208 psize = get_aligned_page(size + PAGE_SIZE -1); in search_empty()
574 page = get_aligned_page(offset); in snd_emu10k1_synth_bzero()
604 page = get_aligned_page(offset); in snd_emu10k1_synth_copy_from_user()