Home
last modified time | relevance | path

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

/linux-3.4.99/sound/pci/trident/
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)
106 page *= UNIT_PAGES; in set_tlb_bus()
107 for (i = 0; i < UNIT_PAGES; i++, page++) { in set_tlb_bus()
116 page *= UNIT_PAGES; in set_silent_tlb()
117 for (i = 0; i < UNIT_PAGES; i++, page++) in set_silent_tlb()
/linux-3.4.99/sound/pci/emu10k1/
Dmemory.c39 #define UNIT_PAGES (PAGE_SIZE / EMUPAGESIZE) macro
40 #define MAX_ALIGN_PAGES (MAXPAGES / UNIT_PAGES)
57 page *= UNIT_PAGES; in set_ptb_entry()
58 for (i = 0; i < UNIT_PAGES; i++, page++) { in set_ptb_entry()
66 page *= UNIT_PAGES; in set_silent_ptb()
67 for (i = 0; i < UNIT_PAGES; i++, page++) in set_silent_ptb()