Home
last modified time | relevance | path

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

/linux-6.1.9/sound/pci/trident/
Dtrident_memory.c67 #define UNIT_PAGES (PAGE_SIZE / SNDRV_TRIDENT_PAGE_SIZE) macro
68 #define ALIGN_PAGE_SIZE (SNDRV_TRIDENT_PAGE_SIZE * UNIT_PAGES)
69 #define MAX_ALIGN_PAGES (SNDRV_TRIDENT_MAX_PAGES / UNIT_PAGES)
77 #define page_to_addr(trident,page) __tlb_to_addr(trident, (page) * UNIT_PAGES)
84 page *= UNIT_PAGES; in set_tlb_bus()
85 for (i = 0; i < UNIT_PAGES; i++, page++) { in set_tlb_bus()
93 page *= UNIT_PAGES; in set_silent_tlb()
94 for (i = 0; i < UNIT_PAGES; i++, page++) in set_silent_tlb()
/linux-6.1.9/sound/pci/emu10k1/
Dmemory.c27 #define UNIT_PAGES (PAGE_SIZE / EMUPAGESIZE) macro
28 #define MAX_ALIGN_PAGES0 (MAXPAGES0 / UNIT_PAGES)
29 #define MAX_ALIGN_PAGES1 (MAXPAGES1 / UNIT_PAGES)
45 page *= UNIT_PAGES; in set_ptb_entry()
46 for (i = 0; i < UNIT_PAGES; i++, page++) { in set_ptb_entry()
56 page *= UNIT_PAGES; in set_silent_ptb()
57 for (i = 0; i < UNIT_PAGES; i++, page++) { in set_silent_ptb()