Searched refs:io_tlb_default_mem (Results 1 – 7 of 7) sorted by relevance
74 struct io_tlb_mem io_tlb_default_mem; variable161 if (!io_tlb_default_mem.nslabs) in swiotlb_max_segment()163 return rounddown(io_tlb_default_mem.nslabs << IO_TLB_SHIFT, PAGE_SIZE); in swiotlb_max_segment()191 struct io_tlb_mem *mem = &io_tlb_default_mem; in swiotlb_print_info()248 struct io_tlb_mem *mem = &io_tlb_default_mem; in swiotlb_update_mem_attributes()310 struct io_tlb_mem *mem = &io_tlb_default_mem; in swiotlb_init_remap()391 struct io_tlb_mem *mem = &io_tlb_default_mem; in swiotlb_init_late()467 struct io_tlb_mem *mem = &io_tlb_default_mem; in swiotlb_exit()922 *val = mem_used(&io_tlb_default_mem); in io_tlb_used_get()930 mem->debugfs = debugfs_create_dir(dirname, io_tlb_default_mem.debugfs); in swiotlb_create_debugfs_files()[all …]
128 if (!io_tlb_default_mem.nslabs) { in xen_mm_init()
93 if (!io_tlb_default_mem.nslabs) { in pci_xen_swiotlb_init_late()
106 extern struct io_tlb_mem io_tlb_default_mem;
384 return xen_phys_to_dma(hwdev, io_tlb_default_mem.end - 1) <= mask; in xen_swiotlb_dma_supported()
667 io_tlb_default_mem.start & ~((1ull << 22) - 1); in octeon_pci_setup()
2997 dev->dma_io_tlb_mem = &io_tlb_default_mem; in device_initialize()