Home
last modified time | relevance | path

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

/arch/powerpc/kernel/
Diommu.c125 n = iommu_area_alloc(tbl->it_map, limit, start, npages, in iommu_range_alloc()
238 bitmap_clear(tbl->it_map, free_entry, npages); in __iommu_free()
471 __set_bit(index, tbl->it_map); in iommu_table_clear()
482 __clear_bit(index, tbl->it_map); in iommu_table_clear()
507 tbl->it_map = page_address(page); in iommu_init_table()
508 memset(tbl->it_map, 0, sz); in iommu_init_table()
516 set_bit(0, tbl->it_map); in iommu_init_table()
538 if (!tbl || !tbl->it_map) { in iommu_free_table()
547 if (tbl->it_map[i] != 0) { in iommu_free_table()
559 free_pages((unsigned long) tbl->it_map, order); in iommu_free_table()
/arch/x86/include/asm/
Dcalgary.h37 unsigned long *it_map; /* A simple allocation bitmap for now */ member
/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.c220 bitmap_set(tbl->it_map, index, npages); in iommu_range_reserve()
240 offset = iommu_area_alloc(tbl->it_map, tbl->it_size, tbl->it_hint, in iommu_range_alloc()
245 offset = iommu_area_alloc(tbl->it_map, tbl->it_size, 0, in iommu_range_alloc()
311 bitmap_clear(tbl->it_map, entry, npages); in iommu_free()
819 free_pages((unsigned long)tbl->it_map, get_order(bitmapsz)); in calgary_free_bus()
820 tbl->it_map = NULL; in calgary_free_bus()
1308 set_bit(index, tbl->it_map); in calgary_init_bitmap_from_tce_table()
/arch/powerpc/include/asm/
Diommu.h68 unsigned long *it_map; /* A simple allocation bitmap for now */ member
/arch/powerpc/platforms/powernv/
Dpci-p5ioc2.c91 if (phb->p5ioc2.iommu_table.it_map == NULL) in pnv_pci_p5ioc2_dma_dev_setup()
/arch/powerpc/sysdev/
Ddart_iommu.c294 set_bit(iommu_table_dart.it_size - 1, iommu_table_dart.it_map); in iommu_table_dart_setup()
/arch/powerpc/platforms/cell/
Diommu.c518 __set_bit(0, window->table.it_map); in cell_iommu_setup_window()