Home
last modified time | relevance | path

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

/linux/drivers/iommu/
H A Dio-pgtable-dart.c71 int tbl_bits; member
171 ((1 << data->tbl_bits) - 1); in dart_get_table()
364 int tbl_bits, bits_per_level, va_bits, pg_shift; in dart_alloc_pgtable() local
371 tbl_bits = max_t(int, 0, va_bits - (bits_per_level * DART_LEVELS)); in dart_alloc_pgtable()
372 if ((1 << tbl_bits) > DART_MAX_TABLES) in dart_alloc_pgtable()
379 data->tbl_bits = tbl_bits; in dart_alloc_pgtable()
413 cfg->apple_dart_cfg.n_ttbrs = 1 << data->tbl_bits; in apple_dart_alloc_pgtable()
440 for (i = 0; i < (1 << data->tbl_bits) && data->pgd[i]; ++i) { in apple_dart_free_pgtable()