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

/linux-4.4.14/sound/pci/trident/
H A Dtrident_memory.c47 #define ALIGN_PAGE_SIZE PAGE_SIZE /* minimum page size for allocation */ macro
64 #define ALIGN_PAGE_SIZE PAGE_SIZE macro
89 #define ALIGN_PAGE_SIZE (SNDRV_TRIDENT_PAGE_SIZE * UNIT_PAGES) macro
96 #define get_aligned_page(offset) ((offset) / ALIGN_PAGE_SIZE)
97 #define aligned_page_offset(page) ((page) * ALIGN_PAGE_SIZE)
128 ptr += offset % ALIGN_PAGE_SIZE; offset_ptr()
146 psize = get_aligned_page(size + ALIGN_PAGE_SIZE -1); search_empty()
159 blk = __snd_util_memblk_new(hdr, psize * ALIGN_PAGE_SIZE, p->prev); search_empty()

Completed in 82 milliseconds