Lines Matching refs:__va
133 #define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT)
142 * On Book-E parts we need __va to parse the device tree and we can't
161 * existing equation for the __va()/__pa() translations:
163 * __va(x) = (x) - PHYSICAL_START + KERNELBASE
179 * Now __va(1MB) = (0x100000) - (0x4000000) + 0xc0000000
187 * __va(x) = (x) - [ PHYSICAL_START - Effective KERNELBASE ]
195 * To make the cost of __va() / __pa() more light weight, we introduce
204 * __va(x) = x - PHYSICAL_START + Effective KERNELBASE
212 * the other definitions for __va & __pa.
215 #define __va(x) ((void *)(unsigned long)((phys_addr_t)(x) + VIRT_PHYS_OFFSET))
227 #define __va(x) \
240 #define __va(x) ((void *)(unsigned long)((phys_addr_t)(x) + PAGE_OFFSET - MEMORY_START))