Home
last modified time | relevance | path

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

/openbmc/qemu/hw/riscv/
H A Driscv-iommu.h25 struct RISCVIOMMUState { struct
56 void (*notify)(RISCVIOMMUState *iommu, unsigned vector); argument
82 QLIST_ENTRY(RISCVIOMMUState) iommus; argument
86 void riscv_iommu_pci_setup_iommu(RISCVIOMMUState *iommu, PCIBus *bus,
92 static inline uint32_t riscv_iommu_reg_mod32(RISCVIOMMUState *s, in riscv_iommu_reg_mod32()
100 static inline void riscv_iommu_reg_set32(RISCVIOMMUState *s, unsigned idx, in riscv_iommu_reg_set32()
106 static inline uint32_t riscv_iommu_reg_get32(RISCVIOMMUState *s, unsigned idx) in riscv_iommu_reg_get32()
111 static inline uint64_t riscv_iommu_reg_mod64(RISCVIOMMUState *s, unsigned idx, in riscv_iommu_reg_mod64()
119 static inline void riscv_iommu_reg_set64(RISCVIOMMUState *s, unsigned idx, in riscv_iommu_reg_set64()
125 static inline uint64_t riscv_iommu_reg_get64(RISCVIOMMUState *s, in riscv_iommu_reg_get64()
H A Driscv-iommu.c114 static void riscv_iommu_fault(RISCVIOMMUState *s, in riscv_iommu_fault()
150 static void riscv_iommu_pri(RISCVIOMMUState *s, in riscv_iommu_pri()
1434 static void riscv_iommu_ats(RISCVIOMMUState *s, in riscv_iommu_ats()
1927 RISCVIOMMUState *s = opaque; in riscv_iommu_mmio_write()
2026 RISCVIOMMUState *s = opaque; in riscv_iommu_mmio_read()
2072 RISCVIOMMUState* s = (RISCVIOMMUState *)opaque; in riscv_iommu_trap_write()
2118 RISCVIOMMUState *s = RISCV_IOMMU(dev); in riscv_iommu_realize()
2232 RISCVIOMMUState *s = RISCV_IOMMU(dev); in riscv_iommu_unrealize()
2268 .instance_size = sizeof(RISCVIOMMUState),
2340 RISCVIOMMUState *s = (RISCVIOMMUState *) opaque; in riscv_iommu_find_as()
[all …]
H A Driscv-iommu-pci.c66 RISCVIOMMUState iommu; /* common IOMMU state */
70 static void riscv_iommu_pci_notify(RISCVIOMMUState *iommu, unsigned vector) in riscv_iommu_pci_notify()
82 RISCVIOMMUState *iommu = &s->iommu; in riscv_iommu_pci_realize()
152 RISCVIOMMUState *iommu = &s->iommu; in riscv_iommu_pci_init()
/openbmc/qemu/include/hw/riscv/
H A Diommu.h26 OBJECT_DECLARE_SIMPLE_TYPE(RISCVIOMMUState, RISCV_IOMMU)
27 typedef struct RISCVIOMMUState RISCVIOMMUState; typedef