Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/sound/pci/trident/
H A Dtrident_memory.c32 #define ALIGN_PAGE_SIZE PAGE_SIZE /* minimum page size for allocation */ macro
49 #define ALIGN_PAGE_SIZE PAGE_SIZE macro
74 #define ALIGN_PAGE_SIZE (SNDRV_TRIDENT_PAGE_SIZE * UNIT_PAGES) macro
81 #define get_aligned_page(offset) ((offset) / ALIGN_PAGE_SIZE)
82 #define aligned_page_offset(page) ((page) * ALIGN_PAGE_SIZE)
113 ptr += offset % ALIGN_PAGE_SIZE; in offset_ptr()
131 psize = get_aligned_page(size + ALIGN_PAGE_SIZE -1); in search_empty()
144 blk = __snd_util_memblk_new(hdr, psize * ALIGN_PAGE_SIZE, p->prev); in search_empty()
/kernel/linux/linux-6.6/sound/pci/trident/
H A Dtrident_memory.c29 #define ALIGN_PAGE_SIZE PAGE_SIZE /* minimum page size for allocation */ macro
44 #define ALIGN_PAGE_SIZE PAGE_SIZE macro
68 #define ALIGN_PAGE_SIZE (SNDRV_TRIDENT_PAGE_SIZE * UNIT_PAGES) macro
75 #define get_aligned_page(offset) ((offset) / ALIGN_PAGE_SIZE)
76 #define aligned_page_offset(page) ((page) * ALIGN_PAGE_SIZE)
114 psize = get_aligned_page(size + ALIGN_PAGE_SIZE -1); in search_empty()
127 blk = __snd_util_memblk_new(hdr, psize * ALIGN_PAGE_SIZE, p->prev); in search_empty()

Completed in 2 milliseconds