Lines Matching defs:phys_addr
48 * outside the usual physical memory. If phys_addr is NULL then
55 io_map(vm_offset_t phys_addr, vm_size_t size, unsigned int flags)
68 if (phys_addr != 0) { /* If they supplied a physical address, use it */
70 size = round_page(size + (phys_addr & PAGE_MASK)); /* Make sure we map all of it */
74 (void)mapping_make(kernel_pmap, (addr64_t)start, (ppnum_t)(phys_addr >> 12),
78 return (start + (phys_addr & PAGE_MASK)); /* Pass back the physical address */
110 vm_offset_t io_map_spec(vm_offset_t phys_addr, vm_size_t size, unsigned int flags)
117 return io_map(phys_addr, size, flags); /* Map the address */
123 size = round_page(size + (phys_addr - (phys_addr & -PAGE_SIZE))); /* Extend the length to include it all */
126 (void)mapping_make(kernel_pmap, (addr64_t)start, (ppnum_t)(phys_addr >> 12),
130 return (start + (phys_addr & PAGE_MASK));