Lines Matching defs:cfg
51 #define _ARM_V7S_LVL_BITS(lvl, cfg) ((lvl) == 1 ? ((cfg)->ias - 20) : 8) argument
55 #define ARM_V7S_PTES_PER_LVL(lvl, cfg) (1 << _ARM_V7S_LVL_BITS(lvl, cfg)) argument
56 #define ARM_V7S_TABLE_SIZE(lvl, cfg) \ argument
62 #define _ARM_V7S_IDX_MASK(lvl, cfg) (ARM_V7S_PTES_PER_LVL(lvl, cfg) - 1) argument
63 #define ARM_V7S_LVL_IDX(addr, lvl, cfg) ({ \ argument
179 static bool arm_v7s_is_mtk_enabled(struct io_pgtable_cfg *cfg) in arm_v7s_is_mtk_enabled()
197 struct io_pgtable_cfg *cfg) in paddr_to_iopte()
208 struct io_pgtable_cfg *cfg) in iopte_to_paddr()
242 struct io_pgtable_cfg *cfg = &data->iop.cfg; in __arm_v7s_alloc_table() local
302 struct io_pgtable_cfg *cfg = &data->iop.cfg; in __arm_v7s_free_table() local
316 struct io_pgtable_cfg *cfg) in __arm_v7s_pte_sync()
325 int num_entries, struct io_pgtable_cfg *cfg) in __arm_v7s_set_pte()
336 struct io_pgtable_cfg *cfg) in arm_v7s_prot_to_pte()
435 struct io_pgtable_cfg *cfg = &data->iop.cfg; in arm_v7s_init_pte() local
471 struct io_pgtable_cfg *cfg) in arm_v7s_install_table()
501 struct io_pgtable_cfg *cfg = &data->iop.cfg; in __arm_v7s_map() local
634 struct io_pgtable_cfg *cfg = &data->iop.cfg; in arm_v7s_split_blk_unmap() local
796 static struct io_pgtable *arm_v7s_alloc_pgtable(struct io_pgtable_cfg *cfg, in arm_v7s_alloc_pgtable()
947 struct io_pgtable_cfg cfg = { in arm_v7s_do_selftests() local