Home
last modified time | relevance | path

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

/openbmc/qemu/include/hw/arm/
H A Dsmmu-common.h101 typedef struct SMMUTransCfg { struct
120 } SMMUTransCfg; argument
188 int smmu_ptw(SMMUState *bs, SMMUTransCfg *cfg, dma_addr_t iova,
196 SMMUTLBEntry *smmu_translate(SMMUState *bs, SMMUTransCfg *cfg, dma_addr_t addr,
203 SMMUTransTableInfo *select_tt(SMMUTransCfg *cfg, dma_addr_t iova);
210 SMMUTLBEntry *smmu_iotlb_lookup(SMMUState *bs, SMMUTransCfg *cfg,
212 void smmu_iotlb_insert(SMMUState *bs, SMMUTransCfg *cfg, SMMUTLBEntry *entry);
/openbmc/qemu/hw/arm/
H A Dsmmu-common.c70 SMMUTransCfg *cfg, in smmu_iotlb_lookup_all_levels()
108 SMMUTLBEntry *smmu_iotlb_lookup(SMMUState *bs, SMMUTransCfg *cfg, in smmu_iotlb_lookup()
140 void smmu_iotlb_insert(SMMUState *bs, SMMUTransCfg *cfg, SMMUTLBEntry *new) in smmu_iotlb_insert()
366 SMMUTransTableInfo *select_tt(SMMUTransCfg *cfg, dma_addr_t iova) in select_tt()
393 SMMUTransCfg *cfg, in translate_table_addr_ipa()
436 static int smmu_ptw_64_s1(SMMUState *bs, SMMUTransCfg *cfg, in smmu_ptw_64_s1()
565 static int smmu_ptw_64_s2(SMMUTransCfg *cfg, in smmu_ptw_64_s2()
680 dma_addr_t iova, SMMUTransCfg *cfg) in combine_tlb()
709 int smmu_ptw(SMMUState *bs, SMMUTransCfg *cfg, dma_addr_t iova, in smmu_ptw()
751 SMMUTLBEntry *smmu_translate(SMMUState *bs, SMMUTransCfg *cfg, dma_addr_t addr, in smmu_translate()
H A Dsmmuv3.c345 SMMUTransCfg *cfg,
351 static int smmu_get_cd(SMMUv3State *s, STE *ste, SMMUTransCfg *cfg, in smmu_get_cd()
398 static bool s2t0sz_valid(SMMUTransCfg *cfg) in s2t0sz_valid()
429 static int decode_ste_s2_cfg(SMMUv3State *s, SMMUTransCfg *cfg, in decode_ste_s2_cfg()
524 static void decode_ste_config(SMMUTransCfg *cfg, uint32_t config) in decode_ste_config()
546 static int decode_ste(SMMUv3State *s, SMMUTransCfg *cfg, in decode_ste()
714 static int decode_cd(SMMUv3State *s, SMMUTransCfg *cfg, in decode_cd()
874 SMMUTransCfg *cfg; in smmuv3_get_config()
889 cfg = g_new0(SMMUTransCfg, 1); in smmuv3_get_config()
1047 SMMUTransCfg *cfg = NULL; in smmuv3_translate()
[all …]