Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/iommu/
Dio-pgtable-dart.c70 int tbl_bits; member
176 ((1 << data->tbl_bits) - 1); in dart_get_table()
370 int tbl_bits, bits_per_level, va_bits, pg_shift; in dart_alloc_pgtable() local
377 tbl_bits = max_t(int, 0, va_bits - (bits_per_level * DART_LEVELS)); in dart_alloc_pgtable()
378 if ((1 << tbl_bits) > DART_MAX_TABLES) in dart_alloc_pgtable()
385 data->tbl_bits = tbl_bits; in dart_alloc_pgtable()
419 cfg->apple_dart_cfg.n_ttbrs = 1 << data->tbl_bits; in apple_dart_alloc_pgtable()
445 for (i = 0; i < (1 << data->tbl_bits) && data->pgd[i]; ++i) { in apple_dart_free_pgtable()