Lines Matching defs:address
120 * @address: address to remap
122 * The returned physical address is the physical (CPU) mapping for
123 * the memory address given. It is only valid to use this function on
131 static inline phys_addr_t virt_to_phys(volatile void *address)
133 return __pa(address);
137 * phys_to_virt - map physical address to virtual
138 * @address: address to remap
140 * The returned virtual address is a current CPU mapping for
141 * the memory address given. It is only valid to use this function on
149 static inline void *phys_to_virt(phys_addr_t address)
151 return __va(address);
155 * Change "struct page" to physical address.
160 * ISA I/O bus memory addresses are 1:1 with the physical address.
161 * However, we truncate the address to unsigned int to avoid undesirable
164 static inline unsigned int isa_virt_to_bus(volatile void *address)
166 return (unsigned int)virt_to_phys(address);
182 * @offset: bus address of the memory
188 * address is not guaranteed to be usable directly as a virtual
189 * address.