Home
last modified time | relevance | path

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

/Linux-v5.10/sound/pci/trident/
Dtrident_memory.c73 #define UNIT_PAGES (PAGE_SIZE / SNDRV_TRIDENT_PAGE_SIZE) macro
74 #define ALIGN_PAGE_SIZE (SNDRV_TRIDENT_PAGE_SIZE * UNIT_PAGES)
75 #define MAX_ALIGN_PAGES (SNDRV_TRIDENT_MAX_PAGES / UNIT_PAGES)
83 #define page_to_ptr(trident,page) __tlb_to_ptr(trident, (page) * UNIT_PAGES)
84 #define page_to_addr(trident,page) __tlb_to_addr(trident, (page) * UNIT_PAGES)
91 page *= UNIT_PAGES; in set_tlb_bus()
92 for (i = 0; i < UNIT_PAGES; i++, page++) { in set_tlb_bus()
101 page *= UNIT_PAGES; in set_silent_tlb()
102 for (i = 0; i < UNIT_PAGES; i++, page++) in set_silent_tlb()
/Linux-v5.10/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()