Lines Matching refs:SMMUv3State

49 static void smmuv3_trigger_irq(SMMUv3State *s, SMMUIrq irq,  in smmuv3_trigger_irq()
87 static void smmuv3_write_gerrorn(SMMUv3State *s, uint32_t new_gerrorn) in smmuv3_write_gerrorn()
144 static MemTxResult smmuv3_write_eventq(SMMUv3State *s, Evt *evt) in smmuv3_write_eventq()
168 void smmuv3_record_event(SMMUv3State *s, SMMUEventInfo *info) in smmuv3_record_event()
259 static void smmuv3_init_regs(SMMUv3State *s) in smmuv3_init_regs()
321 static int smmu_get_ste(SMMUv3State *s, dma_addr_t addr, STE *buf, in smmu_get_ste()
344 static SMMUTranslationStatus smmuv3_do_translate(SMMUv3State *s, hwaddr addr,
351 static int smmu_get_cd(SMMUv3State *s, STE *ste, SMMUTransCfg *cfg, in smmu_get_cd()
429 static int decode_ste_s2_cfg(SMMUv3State *s, SMMUTransCfg *cfg, in decode_ste_s2_cfg()
546 static int decode_ste(SMMUv3State *s, SMMUTransCfg *cfg, in decode_ste()
631 static int smmu_find_ste(SMMUv3State *s, uint32_t sid, STE *ste, in smmu_find_ste()
714 static int decode_cd(SMMUv3State *s, SMMUTransCfg *cfg, in decode_cd()
828 SMMUv3State *s = sdev->smmu; in smmuv3_decode_config()
872 SMMUv3State *s = sdev->smmu; in smmuv3_get_config()
903 SMMUv3State *s = sdev->smmu; in smmuv3_flush_config()
911 static SMMUTranslationStatus smmuv3_do_translate(SMMUv3State *s, hwaddr addr, in smmuv3_do_translate()
1041 SMMUv3State *s = sdev->smmu; in smmuv3_translate()
1234 SMMUv3State *smmuv3 = ARM_SMMUV3(s); in smmuv3_range_inval()
1294 static int smmuv3_cmdq_consume(SMMUv3State *s) in smmuv3_cmdq_consume()
1525 static MemTxResult smmu_writell(SMMUv3State *s, hwaddr offset, in smmu_writell()
1560 static MemTxResult smmu_writel(SMMUv3State *s, hwaddr offset, in smmu_writel()
1679 SMMUv3State *s = ARM_SMMUV3(sys); in smmu_write_mmio()
1701 static MemTxResult smmu_readll(SMMUv3State *s, hwaddr offset, in smmu_readll()
1726 static MemTxResult smmu_readl(SMMUv3State *s, hwaddr offset, in smmu_readl()
1828 SMMUv3State *s = ARM_SMMUV3(sys); in smmu_read_mmio()
1864 static void smmu_init_irq(SMMUv3State *s, SysBusDevice *dev) in smmu_init_irq()
1875 SMMUv3State *s = ARM_SMMUV3(obj); in smmu_reset_hold()
1888 SMMUv3State *s = ARM_SMMUV3(sys); in smmu_realize()
1926 SMMUv3State *s = opaque; in smmuv3_gbpa_needed()
1938 VMSTATE_UINT32(gbpa, SMMUv3State),
1949 VMSTATE_UINT32(features, SMMUv3State),
1950 VMSTATE_UINT8(sid_size, SMMUv3State),
1951 VMSTATE_UINT8(sid_split, SMMUv3State),
1953 VMSTATE_UINT32_ARRAY(cr, SMMUv3State, 3),
1954 VMSTATE_UINT32(cr0ack, SMMUv3State),
1955 VMSTATE_UINT32(statusr, SMMUv3State),
1956 VMSTATE_UINT32(irq_ctrl, SMMUv3State),
1957 VMSTATE_UINT32(gerror, SMMUv3State),
1958 VMSTATE_UINT32(gerrorn, SMMUv3State),
1959 VMSTATE_UINT64(gerror_irq_cfg0, SMMUv3State),
1960 VMSTATE_UINT32(gerror_irq_cfg1, SMMUv3State),
1961 VMSTATE_UINT32(gerror_irq_cfg2, SMMUv3State),
1962 VMSTATE_UINT64(strtab_base, SMMUv3State),
1963 VMSTATE_UINT32(strtab_base_cfg, SMMUv3State),
1964 VMSTATE_UINT64(eventq_irq_cfg0, SMMUv3State),
1965 VMSTATE_UINT32(eventq_irq_cfg1, SMMUv3State),
1966 VMSTATE_UINT32(eventq_irq_cfg2, SMMUv3State),
1968 VMSTATE_STRUCT(cmdq, SMMUv3State, 0, vmstate_smmuv3_queue, SMMUQueue),
1969 VMSTATE_STRUCT(eventq, SMMUv3State, 0, vmstate_smmuv3_queue, SMMUQueue),
1986 DEFINE_PROP_STRING("stage", SMMUv3State, stage),
2015 SMMUv3State *s3 = sdev->smmu; in smmuv3_notify_flag_changed()
2053 .instance_size = sizeof(SMMUv3State),