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

/linux-4.4.14/sound/pci/trident/
H A Dtrident_memory.c88 #define UNIT_PAGES (PAGE_SIZE / SNDRV_TRIDENT_PAGE_SIZE) macro
89 #define ALIGN_PAGE_SIZE (SNDRV_TRIDENT_PAGE_SIZE * UNIT_PAGES)
90 #define MAX_ALIGN_PAGES (SNDRV_TRIDENT_MAX_PAGES / UNIT_PAGES)
98 #define page_to_ptr(trident,page) __tlb_to_ptr(trident, (page) * UNIT_PAGES)
99 #define page_to_addr(trident,page) __tlb_to_addr(trident, (page) * UNIT_PAGES)
101 /* fill TLB entries -- UNIT_PAGES entries must be filled */ set_tlb_bus()
106 page *= UNIT_PAGES; set_tlb_bus()
107 for (i = 0; i < UNIT_PAGES; i++, page++) { set_tlb_bus()
116 page *= UNIT_PAGES; set_silent_tlb()
117 for (i = 0; i < UNIT_PAGES; i++, page++) set_silent_tlb()
/linux-4.4.14/sound/pci/emu10k1/
H A Dmemory.c39 #define UNIT_PAGES (PAGE_SIZE / EMUPAGESIZE) macro
40 #define MAX_ALIGN_PAGES0 (MAXPAGES0 / UNIT_PAGES)
41 #define MAX_ALIGN_PAGES1 (MAXPAGES1 / UNIT_PAGES)
54 /* fill PTB entries -- we need to fill UNIT_PAGES entries */ set_ptb_entry()
58 page *= UNIT_PAGES; set_ptb_entry()
59 for (i = 0; i < UNIT_PAGES; i++, page++) { set_ptb_entry()
67 page *= UNIT_PAGES; set_silent_ptb()
68 for (i = 0; i < UNIT_PAGES; i++, page++) set_silent_ptb()

Completed in 62 milliseconds