Searched refs:cmode (Results 1 – 2 of 2) sorted by relevance
306 void kernel_set_cachemode(void *addr, unsigned long size, int cmode) in kernel_set_cachemode() argument314 switch (cmode) { in kernel_set_cachemode()316 cmode = _PAGE_CACHE040; in kernel_set_cachemode()320 cmode = _PAGE_NOCACHE_S; in kernel_set_cachemode()323 cmode = _PAGE_NOCACHE; in kernel_set_cachemode()326 cmode = _PAGE_CACHE040W; in kernel_set_cachemode()330 switch (cmode) { in kernel_set_cachemode()334 cmode = _PAGE_NOCACHE030; in kernel_set_cachemode()338 cmode = 0; in kernel_set_cachemode()356 _CACHEMASK040) | cmode; in kernel_set_cachemode()[all …]
125 extern void kernel_set_cachemode(void *addr, unsigned long size, int cmode);