Something went wrong. Try again.
(I'm so sorry!) Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637/* SPDX-License-Identifier: GPL-2.0-only *//* * omap iommu: simple virtual address space management * * Copyright (C) 2008-2009 Nokia Corporation * * Written by Hiroshi DOYU <Hiroshi.DOYU@nokia.com> */
#ifndef _OMAP_IOMMU_H_#define _OMAP_IOMMU_H_
struct iommu_domain;
#ifdef CONFIG_OMAP_IOMMUextern void omap_iommu_save_ctx(struct device *dev);extern void omap_iommu_restore_ctx(struct device *dev);
int omap_iommu_domain_deactivate(struct iommu_domain *domain);int omap_iommu_domain_activate(struct iommu_domain *domain);#elsestatic inline void omap_iommu_save_ctx(struct device *dev) {}static inline void omap_iommu_restore_ctx(struct device *dev) {}
static inline int omap_iommu_domain_deactivate(struct iommu_domain *domain){ return -ENODEV;}
static inline int omap_iommu_domain_activate(struct iommu_domain *domain){ return -ENODEV;}#endif
#endif