Home
last modified time | relevance | path

Searched refs:it_map (Results 1 – 8 of 8) sorted by relevance

/arch/powerpc/kernel/
Diommu.c259 n = iommu_area_alloc(tbl->it_map, limit, start, npages, tbl->it_offset, in iommu_range_alloc()
414 bitmap_clear(tbl->it_map, free_entry, npages); in __iommu_free()
631 __set_bit(index, tbl->it_map); in iommu_table_clear()
642 __clear_bit(index, tbl->it_map); in iommu_table_clear()
668 tbl->it_map = page_address(page); in iommu_init_table()
669 memset(tbl->it_map, 0, sz); in iommu_init_table()
677 set_bit(0, tbl->it_map); in iommu_init_table()
721 if (!tbl->it_map) { in iommu_free_table()
731 clear_bit(0, tbl->it_map); in iommu_free_table()
734 if (!bitmap_empty(tbl->it_map, tbl->it_size)) in iommu_free_table()
[all …]
/arch/x86/kernel/
Dtce_64.c121 tbl->it_map = (unsigned long*)bmppages; in tce_table_setparms()
123 memset(tbl->it_map, 0, bitmapsz); in tce_table_setparms()
Dpci-calgary_64.c222 bitmap_set(tbl->it_map, index, npages); in iommu_range_reserve()
242 offset = iommu_area_alloc(tbl->it_map, tbl->it_size, tbl->it_hint, in iommu_range_alloc()
247 offset = iommu_area_alloc(tbl->it_map, tbl->it_size, 0, in iommu_range_alloc()
313 bitmap_clear(tbl->it_map, entry, npages); in iommu_free()
818 free_pages((unsigned long)tbl->it_map, get_order(bitmapsz)); in calgary_free_bus()
819 tbl->it_map = NULL; in calgary_free_bus()
1314 set_bit(index, tbl->it_map); in calgary_init_bitmap_from_tce_table()
/arch/x86/include/asm/
Dcalgary.h37 unsigned long *it_map; /* A simple allocation bitmap for now */ member
/arch/powerpc/include/asm/
Diommu.h112 unsigned long *it_map; /* A simple allocation bitmap for now */ member
/arch/powerpc/platforms/powernv/
Dpci-p5ioc2.c100 if (!tbl->it_map) { in pnv_pci_p5ioc2_dma_dev_setup()
/arch/powerpc/sysdev/
Ddart_iommu.c313 set_bit(iommu_table_dart.it_size - 1, iommu_table_dart.it_map); in iommu_table_dart_setup()
/arch/powerpc/platforms/cell/
Diommu.c527 __set_bit(0, window->table.it_map); in cell_iommu_setup_window()