Lines Matching refs:device
34 * @fault_addr: the device (virtual) address that the System MMU tried to
37 typedef int (*rockchip_iommu_fault_handler_t)(struct device *dev, enum rk_iommu_inttype itype,
41 struct device;
43 static inline int rockchip_iovmm_activate(struct device *dev)
48 static inline void rockchip_iovmm_deactivate(struct device *dev)
52 static inline dma_addr_t rockchip_iovmm_map(struct device *dev, struct scatterlist *sg, off_t offset, size_t size)
57 static inline void rockchip_iovmm_unmap(struct device *dev, dma_addr_t iova)
61 static inline int rockchip_iovmm_map_oto(struct device *dev, phys_addr_t phys, size_t size)
66 static inline void rockchip_iovmm_unmap_oto(struct device *dev, phys_addr_t phys)
70 static inline void rockchip_iovmm_set_fault_handler(struct device *dev, rockchip_iommu_fault_handler_t handler)
73 static inline int rockchip_iovmm_invalidate_tlb(struct device *dev)