Searched refs:it_map (Results 1 – 8 of 8) sorted by relevance
/arch/powerpc/kernel/ |
D | iommu.c | 259 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/ |
D | tce_64.c | 121 tbl->it_map = (unsigned long*)bmppages; in tce_table_setparms() 123 memset(tbl->it_map, 0, bitmapsz); in tce_table_setparms()
|
D | pci-calgary_64.c | 222 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/ |
D | calgary.h | 37 unsigned long *it_map; /* A simple allocation bitmap for now */ member
|
/arch/powerpc/include/asm/ |
D | iommu.h | 112 unsigned long *it_map; /* A simple allocation bitmap for now */ member
|
/arch/powerpc/platforms/powernv/ |
D | pci-p5ioc2.c | 100 if (!tbl->it_map) { in pnv_pci_p5ioc2_dma_dev_setup()
|
/arch/powerpc/sysdev/ |
D | dart_iommu.c | 313 set_bit(iommu_table_dart.it_size - 1, iommu_table_dart.it_map); in iommu_table_dart_setup()
|
/arch/powerpc/platforms/cell/ |
D | iommu.c | 527 __set_bit(0, window->table.it_map); in cell_iommu_setup_window()
|