Home
last modified time | relevance | path

Searched refs:num_tsb_entries (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/arch/sparc/kernel/
Diommu.c97 unsigned long i, order, sz, num_tsb_entries; in iommu_table_init() local
100 num_tsb_entries = tsbsize / sizeof(iopte_t); in iommu_table_init()
109 sz = num_tsb_entries / 8; in iommu_table_init()
115 iommu_tbl_pool_init(&iommu->tbl, num_tsb_entries, IO_PAGE_SHIFT, in iommu_table_init()
140 for (i = 0; i < num_tsb_entries; i++) in iommu_table_init()
Dldc.c1043 unsigned long sz, num_tsb_entries, tsbsize, order; in ldc_iommu_init() local
1050 num_tsb_entries = LDC_IOTABLE_SIZE; in ldc_iommu_init()
1051 tsbsize = num_tsb_entries * sizeof(struct ldc_mtable_entry); in ldc_iommu_init()
1054 sz = num_tsb_entries / 8; in ldc_iommu_init()
1061 iommu_tbl_pool_init(iommu, num_tsb_entries, PAGE_SHIFT, in ldc_iommu_init()
1082 num_tsb_entries); in ldc_iommu_init()
1104 unsigned long num_tsb_entries, tsbsize, order; in ldc_iommu_release() local
1108 num_tsb_entries = iommu->poolsize * iommu->nr_pools; in ldc_iommu_release()
1109 tsbsize = num_tsb_entries * sizeof(struct ldc_mtable_entry); in ldc_iommu_release()
Dpci_sun4v.c870 unsigned long num_tsb_entries, sz; in pci_sun4v_iommu_init() local
885 num_tsb_entries = vdma[1] / IO_PAGE_SIZE; in pci_sun4v_iommu_init()
896 sz = (num_tsb_entries + 7) / 8; in pci_sun4v_iommu_init()
903 iommu_tbl_pool_init(&iommu->tbl, num_tsb_entries, IO_PAGE_SHIFT, in pci_sun4v_iommu_init()