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()
186 struct io_pgtable_cfg *cfg) in paddr_to_iopte()
203 struct io_pgtable_cfg *cfg) in iopte_to_paddr()
237 struct io_pgtable_cfg *cfg = &data->iop.cfg; in __arm_v7s_alloc_table() local
289 struct io_pgtable_cfg *cfg = &data->iop.cfg; in __arm_v7s_free_table() local
303 struct io_pgtable_cfg *cfg) in __arm_v7s_pte_sync()
312 int num_entries, struct io_pgtable_cfg *cfg) in __arm_v7s_set_pte()
323 struct io_pgtable_cfg *cfg) in arm_v7s_prot_to_pte()
422 struct io_pgtable_cfg *cfg = &data->iop.cfg; in arm_v7s_init_pte() local
458 struct io_pgtable_cfg *cfg) in arm_v7s_install_table()
483 struct io_pgtable_cfg *cfg = &data->iop.cfg; in __arm_v7s_map() local
616 struct io_pgtable_cfg *cfg = &data->iop.cfg; in arm_v7s_split_blk_unmap() local
785 static struct io_pgtable *arm_v7s_alloc_pgtable(struct io_pgtable_cfg *cfg, in arm_v7s_alloc_pgtable()
918 struct io_pgtable_cfg cfg = { in arm_v7s_do_selftests() local