/* flush_iotlb_all - Clear all iommu tlb entries @obj: target iommu  */
void flush_iotlb_all(struct iommu *obj)
/* flush_iotlb_all - Clear all iommu tlb entries @obj: target iommu  */
void flush_iotlb_all(struct iommu *obj)
{
	struct iotlb_lock l;
	clk_enable(obj->clk);
	l.base = 0;
	l.vict = 0;
	iotlb_lock_set(obj, &l);
	iommu_write_reg(obj, 1, MMU_GFLUSH);
	clk_disable(obj->clk);
}