diff options
Diffstat (limited to 'drivers/iommu/omap-iommu.c')
-rw-r--r-- | drivers/iommu/omap-iommu.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/drivers/iommu/omap-iommu.c b/drivers/iommu/omap-iommu.c index b92b6fc33690..91711126cb25 100644 --- a/drivers/iommu/omap-iommu.c +++ b/drivers/iommu/omap-iommu.c | |||
@@ -203,20 +203,6 @@ static void iommu_disable(struct omap_iommu *obj) | |||
203 | /* | 203 | /* |
204 | * TLB operations | 204 | * TLB operations |
205 | */ | 205 | */ |
206 | void omap_iotlb_cr_to_e(struct cr_regs *cr, struct iotlb_entry *e) | ||
207 | { | ||
208 | BUG_ON(!cr || !e); | ||
209 | |||
210 | e->da = cr->cam & MMU_CAM_VATAG_MASK; | ||
211 | e->pa = cr->ram & MMU_RAM_PADDR_MASK; | ||
212 | e->valid = cr->cam & MMU_CAM_V; | ||
213 | e->pgsz = cr->cam & MMU_CAM_PGSZ_MASK; | ||
214 | e->endian = cr->ram & MMU_RAM_ENDIAN_MASK; | ||
215 | e->elsz = cr->ram & MMU_RAM_ELSZ_MASK; | ||
216 | e->mixed = cr->ram & MMU_RAM_MIXED; | ||
217 | } | ||
218 | EXPORT_SYMBOL_GPL(omap_iotlb_cr_to_e); | ||
219 | |||
220 | static inline int iotlb_cr_valid(struct cr_regs *cr) | 206 | static inline int iotlb_cr_valid(struct cr_regs *cr) |
221 | { | 207 | { |
222 | if (!cr) | 208 | if (!cr) |
@@ -595,13 +581,6 @@ size_t omap_dump_tlb_entries(struct omap_iommu *obj, char *buf, ssize_t bytes) | |||
595 | } | 581 | } |
596 | EXPORT_SYMBOL_GPL(omap_dump_tlb_entries); | 582 | EXPORT_SYMBOL_GPL(omap_dump_tlb_entries); |
597 | 583 | ||
598 | int omap_foreach_iommu_device(void *data, int (*fn)(struct device *, void *)) | ||
599 | { | ||
600 | return driver_for_each_device(&omap_iommu_driver.driver, | ||
601 | NULL, data, fn); | ||
602 | } | ||
603 | EXPORT_SYMBOL_GPL(omap_foreach_iommu_device); | ||
604 | |||
605 | #endif /* CONFIG_OMAP_IOMMU_DEBUG */ | 584 | #endif /* CONFIG_OMAP_IOMMU_DEBUG */ |
606 | 585 | ||
607 | /* | 586 | /* |