Lines Matching refs:physaddr
150 if (md->physaddr) in proto_busdma_md_destroy_internal()
195 md->physaddr = pmap_kextract((uintptr_t)(md->virtaddr)); in proto_busdma_mem_alloc()
212 ioc->u.md.phys_addr = md->physaddr; in proto_busdma_mem_alloc()
305 md->physaddr = pmap_extract(pmap, ioc->u.md.virt_addr); in proto_busdma_md_load()
307 ioc->u.md.phys_addr = md->physaddr; in proto_busdma_md_load()
315 if (!md->physaddr) in proto_busdma_md_unload()
318 md->physaddr = 0; in proto_busdma_md_unload()
332 if (!md->physaddr) in proto_busdma_sync()
484 proto_busdma_mmap_allowed(struct proto_busdma *busdma, vm_paddr_t physaddr) in proto_busdma_mmap_allowed() argument
493 if (physaddr >= trunc_page(md->physaddr) && in proto_busdma_mmap_allowed()
494 physaddr <= trunc_page(md->physaddr + md->tag->maxsz)) { in proto_busdma_mmap_allowed()