Lines Matching refs:x
31 #define UL(x) _AC(x, UL) argument
212 #define __pv_add_carry_stub(x, y) \ argument
220 : "r" (x), "I" (__PV_BITS_31_24) \
223 static inline phys_addr_t __virt_to_phys(unsigned long x) in __virt_to_phys() argument
228 __pv_stub(x, t, "add", __PV_BITS_31_24); in __virt_to_phys()
231 __pv_add_carry_stub(x, t); in __virt_to_phys()
236 static inline unsigned long __phys_to_virt(phys_addr_t x) in __phys_to_virt() argument
246 __pv_stub((unsigned long) x, t, "sub", __PV_BITS_31_24); in __phys_to_virt()
255 static inline phys_addr_t __virt_to_phys(unsigned long x) in __virt_to_phys() argument
257 return (phys_addr_t)x - PAGE_OFFSET + PHYS_OFFSET; in __virt_to_phys()
260 static inline unsigned long __phys_to_virt(phys_addr_t x) in __phys_to_virt() argument
262 return x - PHYS_OFFSET + PAGE_OFFSET; in __phys_to_virt()
278 static inline phys_addr_t virt_to_phys(const volatile void *x) in virt_to_phys() argument
280 return __virt_to_phys((unsigned long)(x)); in virt_to_phys()
284 static inline void *phys_to_virt(phys_addr_t x) in phys_to_virt() argument
286 return (void *)__phys_to_virt(x); in phys_to_virt()
292 #define __pa(x) __virt_to_phys((unsigned long)(x)) argument
293 #define __va(x) ((void *)__phys_to_virt((phys_addr_t)(x))) argument
296 extern phys_addr_t (*arch_virt_to_idmap)(unsigned long x);
303 static inline phys_addr_t __virt_to_idmap(unsigned long x) in __virt_to_idmap() argument
306 return arch_virt_to_idmap(x); in __virt_to_idmap()
308 return __virt_to_phys(x); in __virt_to_idmap()
311 #define virt_to_idmap(x) __virt_to_idmap((unsigned long)(x)) argument
322 #define __pfn_to_bus(x) __pfn_to_phys(x) argument
323 #define __bus_to_pfn(x) __phys_to_pfn(x) argument
328 static inline __deprecated unsigned long virt_to_bus(void *x) in virt_to_bus() argument
330 return __virt_to_bus((unsigned long)x); in virt_to_bus()
334 static inline __deprecated void *bus_to_virt(unsigned long x) in bus_to_virt() argument
336 return (void *)__bus_to_virt(x); in bus_to_virt()