Searched refs:iommu_state (Results 1 – 12 of 12) sorted by relevance
/openbsd/sys/arch/sparc64/dev/ |
H A D | iommuvar.h | 49 struct iommu_state *sb_iommu; /* Associated IOMMU */ 96 struct iommu_state *ims_iommu; 104 void (*ihw_enable)(struct iommu_state *); 121 struct iommu_state { struct 143 void iommu_init(char *, const struct iommu_hw *, struct iommu_state *, argument 145 void iommu_reset(struct iommu_state *); 146 paddr_t iommu_extract(struct iommu_state *, bus_addr_t); 147 int64_t iommu_lookup_tte(struct iommu_state *, bus_addr_t); 148 int64_t iommu_fetch_tte(struct iommu_state *, paddr_t);
|
H A D | viommu.c | 79 void viommu_enter(struct iommu_state *, struct strbuf_ctl *, bus_addr_t, 81 void viommu_remove(struct iommu_state *, struct strbuf_ctl *, bus_addr_t); 82 int viommu_dvmamap_load_seg(bus_dma_tag_t, struct iommu_state *, 84 int viommu_dvmamap_load_mlist(bus_dma_tag_t, struct iommu_state *, 106 viommu_init(char *name, struct iommu_state *is, int tsbsize, in viommu_init() 219 struct iommu_state *is, bus_size_t size, int nsegments, in viommu_dvmamap_create() 284 struct iommu_state *is; in viommu_dvmamap_load() 470 struct iommu_state *is; in viommu_dvmamap_load_raw() 720 viommu_dvmamap_load_seg(bus_dma_tag_t t, struct iommu_state *is, in viommu_dvmamap_load_seg() 796 viommu_dvmamap_load_mlist(bus_dma_tag_t t, struct iommu_state *is, in viommu_dvmamap_load_mlist() [all …]
|
H A D | iommu.c | 105 void iommu_hw_enable(struct iommu_state *); 118 iommu_hw_enable(struct iommu_state *is) in iommu_hw_enable() 270 iommu_reset(struct iommu_state *is) in iommu_reset() 435 iommu_extract(struct iommu_state *is, bus_addr_t dva) in iommu_extract() 463 iommu_fetch_tte(struct iommu_state *is, paddr_t pa) in iommu_fetch_tte() 610 struct iommu_state *is = sb->sb_iommu; in iommu_dvmamap_create() 684 struct iommu_state *is; in iommu_dvmamap_load() 893 struct iommu_state *is; in iommu_dvmamap_load_raw() 1325 struct iommu_state *is; in iommu_dvmamap_unload() 1532 struct iommu_state *is; in _iommu_dvmamap_sync() [all …]
|
H A D | viommuvar.h | 24 void viommu_init(char *, struct iommu_state *, int, u_int32_t); 28 struct iommu_state *, bus_size_t, int, bus_size_t, bus_size_t,
|
H A D | sbusvar.h | 103 struct iommu_state sc_is; /* IOMMU state, see iommureg.h */
|
H A D | pyrovar.h | 73 struct iommu_state pp_is;
|
H A D | schizovar.h | 49 struct iommu_state sp_is;
|
H A D | psychovar.h | 118 struct iommu_state *sc_is;
|
H A D | pyro.c | 139 void pyro_iommu_enable(struct iommu_state *); 294 struct iommu_state *is = &pbm->pp_is; in pyro_init_iommu() 322 pyro_iommu_enable(struct iommu_state *is) in pyro_iommu_enable()
|
H A D | vpci.c | 87 struct iommu_state vp_is; 238 struct iommu_state *is = &pbm->vp_is; in vpci_init_iommu()
|
H A D | psycho.c | 488 sc->sc_is = malloc(sizeof(struct iommu_state), in psycho_attach() 868 struct iommu_state *is = sc->sc_is; in psycho_iommu_init()
|
H A D | schizo.c | 389 struct iommu_state *is = &pbm->sp_is; in schizo_init_iommu()
|