linux-4.4.1/iommu_ops
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
*参照元 [#j02ed86a]
#backlinks
*説明 [#v9c36bc6]
-パス: [[linux-4.4.1/include/linux/iommu.h]]
-FIXME: これは何?
--説明
**参考 [#n29a51b5]
-[[linux-4.4.1/msm_iommu_ops(global)]] : drivers/iomm...
-[[linux-4.4.1/omap_iommu_ops(global)]] : drivers/iomm...
-[[linux-4.4.1/exynos_iommu_ops(global)]] : drivers/iomm...
-[[linux-4.4.1/arm_smmu_ops(global)]] : drivers/iomm...
--[[linux-4.4.1/arm_smmu_ops(global)(smmu-v3)]]
-[[linux-4.4.1/s390_iommu_ops(global)]] : drivers/iomm...
-[[linux-4.4.1/amd_iommu_ops(global)]] : drivers/iomm...
-[[linux-4.4.1/gart_iommu_ops(global)]] : drivers/iomm...
-[[linux-4.4.1/arm_smmu_ops(global)]] : drivers/iomm...
--[[linux-4.4.1/arm_smmu_ops(global)(smmu)]]
-[[linux-4.4.1/tegra_smmu_ops(global)]] : drivers/iomm...
-[[linux-4.4.1/intel_iommu_ops(global)]] : drivers/iomm...
-[[linux-4.4.1/rk_iommu_ops(global)]] : drivers/iomm...
-[[linux-4.4.1/ipmmu_ops(global)]] : drivers/iomm...
-[[linux-4.4.1/shmobile_iommu_ops(global)]]: drivers/iomm...
-[[linux-4.4.1/fsl_pamu_ops(global)]] : drivers/iomm...
$ egrep -r 'struct iommu_ops [^*]' . | grep '='
drivers/iommu/msm_iommu.c:static const struct iommu_ops ...
drivers/iommu/omap-iommu.c:static const struct iommu_ops...
drivers/iommu/exynos-iommu.c:static struct iommu_ops exy...
drivers/iommu/arm-smmu-v3.c:static struct iommu_ops arm_...
drivers/iommu/s390-iommu.c:static struct iommu_ops s390_...
drivers/iommu/amd_iommu.c:static const struct iommu_ops ...
drivers/iommu/tegra-gart.c:static const struct iommu_ops...
drivers/iommu/arm-smmu.c:static struct iommu_ops arm_smm...
drivers/iommu/tegra-smmu.c:static const struct iommu_ops...
drivers/iommu/intel-iommu.c:static const struct iommu_op...
drivers/iommu/rockchip-iommu.c:static const struct iommu...
drivers/iommu/ipmmu-vmsa.c:static const struct iommu_ops...
drivers/iommu/shmobile-iommu.c:static const struct iommu...
drivers/iommu/fsl_pamu_domain.c:static const struct iomm...
*実装 [#n9a339a2]
/**
* struct iommu_ops - iommu ops and capabilities
* @domain_init: init iommu domain
* @domain_destroy: destroy iommu domain
* @attach_dev: attach device to an iommu domain
* @detach_dev: detach device from an iommu domain
* @map: map a physically contiguous memory region to an...
* @unmap: unmap a physically contiguous memory region f...
* @map_sg: map a scatter-gather list of physically cont...
* to an iommu domain
* @iova_to_phys: translate iova to physical address
* @add_device: add device to iommu grouping
* @remove_device: remove device from iommu grouping
* @domain_get_attr: Query domain attributes
* @domain_set_attr: Change domain attributes
* @of_xlate: add OF master IDs to iommu grouping
* @pgsize_bitmap: bitmap of supported page sizes
* @priv: per-instance data private to the iommu driver
*/
struct iommu_ops {
bool (*capable)(enum iommu_cap);
-
--[[linux-4.4.1/iommu_cap]]
/* Domain allocation and freeing by the iommu driver */
struct iommu_domain *(*domain_alloc)(unsigned iommu_dom...
void (*domain_free)(struct iommu_domain *);
-
--[[linux-4.4.1/iommu_domain]]
int (*attach_dev)(struct iommu_domain *domain, struct d...
void (*detach_dev)(struct iommu_domain *domain, struct ...
-
--[[linux-4.4.1/device]]
int (*map)(struct iommu_domain *domain, unsigned long i...
phys_addr_t paddr, size_t size, int prot);
size_t (*unmap)(struct iommu_domain *domain, unsigned l...
size_t size);
size_t (*map_sg)(struct iommu_domain *domain, unsigned ...
struct scatterlist *sg, unsigned int nents, int prot);
-
--[[linux-4.4.1/phys_addr_t]]
--[[linux-4.4.1/scatterlist]]
phys_addr_t (*iova_to_phys)(struct iommu_domain *domain...
-
--[[linux-4.4.1/dma_addr_t]]
int (*add_device)(struct device *dev);
void (*remove_device)(struct device *dev);
struct iommu_group *(*device_group)(struct device *dev);
-
--[[linux-4.4.1/iommu_group]]
int (*domain_get_attr)(struct iommu_domain *domain,
enum iommu_attr attr, void *data);
int (*domain_set_attr)(struct iommu_domain *domain,
enum iommu_attr attr, void *data);
-
--[[linux-4.4.1/iommu_attr]]
/* Request/Free a list of direct mapping requirements f...
void (*get_dm_regions)(struct device *dev, struct list_...
void (*put_dm_regions)(struct device *dev, struct list_...
-
--[[linux-4.4.1/list_head]]
/* Window handling functions */
int (*domain_window_enable)(struct iommu_domain *domain...
phys_addr_t paddr, u64 size, int prot);
void (*domain_window_disable)(struct iommu_domain *doma...
/* Set the numer of window per domain */
int (*domain_set_windows)(struct iommu_domain *domain, ...
/* Get the numer of window per domain */
u32 (*domain_get_windows)(struct iommu_domain *domain);
#ifdef CONFIG_OF_IOMMU
-
--[[linux-4.4.1/CONFIG_OF_IOMMU]]
int (*of_xlate)(struct device *dev, struct of_phandle_a...
-
--[[linux-4.4.1/of_phandle_args]]
#endif
unsigned long pgsize_bitmap;
void *priv;
};
*コメント [#da17bbcf]
終了行:
*参照元 [#j02ed86a]
#backlinks
*説明 [#v9c36bc6]
-パス: [[linux-4.4.1/include/linux/iommu.h]]
-FIXME: これは何?
--説明
**参考 [#n29a51b5]
-[[linux-4.4.1/msm_iommu_ops(global)]] : drivers/iomm...
-[[linux-4.4.1/omap_iommu_ops(global)]] : drivers/iomm...
-[[linux-4.4.1/exynos_iommu_ops(global)]] : drivers/iomm...
-[[linux-4.4.1/arm_smmu_ops(global)]] : drivers/iomm...
--[[linux-4.4.1/arm_smmu_ops(global)(smmu-v3)]]
-[[linux-4.4.1/s390_iommu_ops(global)]] : drivers/iomm...
-[[linux-4.4.1/amd_iommu_ops(global)]] : drivers/iomm...
-[[linux-4.4.1/gart_iommu_ops(global)]] : drivers/iomm...
-[[linux-4.4.1/arm_smmu_ops(global)]] : drivers/iomm...
--[[linux-4.4.1/arm_smmu_ops(global)(smmu)]]
-[[linux-4.4.1/tegra_smmu_ops(global)]] : drivers/iomm...
-[[linux-4.4.1/intel_iommu_ops(global)]] : drivers/iomm...
-[[linux-4.4.1/rk_iommu_ops(global)]] : drivers/iomm...
-[[linux-4.4.1/ipmmu_ops(global)]] : drivers/iomm...
-[[linux-4.4.1/shmobile_iommu_ops(global)]]: drivers/iomm...
-[[linux-4.4.1/fsl_pamu_ops(global)]] : drivers/iomm...
$ egrep -r 'struct iommu_ops [^*]' . | grep '='
drivers/iommu/msm_iommu.c:static const struct iommu_ops ...
drivers/iommu/omap-iommu.c:static const struct iommu_ops...
drivers/iommu/exynos-iommu.c:static struct iommu_ops exy...
drivers/iommu/arm-smmu-v3.c:static struct iommu_ops arm_...
drivers/iommu/s390-iommu.c:static struct iommu_ops s390_...
drivers/iommu/amd_iommu.c:static const struct iommu_ops ...
drivers/iommu/tegra-gart.c:static const struct iommu_ops...
drivers/iommu/arm-smmu.c:static struct iommu_ops arm_smm...
drivers/iommu/tegra-smmu.c:static const struct iommu_ops...
drivers/iommu/intel-iommu.c:static const struct iommu_op...
drivers/iommu/rockchip-iommu.c:static const struct iommu...
drivers/iommu/ipmmu-vmsa.c:static const struct iommu_ops...
drivers/iommu/shmobile-iommu.c:static const struct iommu...
drivers/iommu/fsl_pamu_domain.c:static const struct iomm...
*実装 [#n9a339a2]
/**
* struct iommu_ops - iommu ops and capabilities
* @domain_init: init iommu domain
* @domain_destroy: destroy iommu domain
* @attach_dev: attach device to an iommu domain
* @detach_dev: detach device from an iommu domain
* @map: map a physically contiguous memory region to an...
* @unmap: unmap a physically contiguous memory region f...
* @map_sg: map a scatter-gather list of physically cont...
* to an iommu domain
* @iova_to_phys: translate iova to physical address
* @add_device: add device to iommu grouping
* @remove_device: remove device from iommu grouping
* @domain_get_attr: Query domain attributes
* @domain_set_attr: Change domain attributes
* @of_xlate: add OF master IDs to iommu grouping
* @pgsize_bitmap: bitmap of supported page sizes
* @priv: per-instance data private to the iommu driver
*/
struct iommu_ops {
bool (*capable)(enum iommu_cap);
-
--[[linux-4.4.1/iommu_cap]]
/* Domain allocation and freeing by the iommu driver */
struct iommu_domain *(*domain_alloc)(unsigned iommu_dom...
void (*domain_free)(struct iommu_domain *);
-
--[[linux-4.4.1/iommu_domain]]
int (*attach_dev)(struct iommu_domain *domain, struct d...
void (*detach_dev)(struct iommu_domain *domain, struct ...
-
--[[linux-4.4.1/device]]
int (*map)(struct iommu_domain *domain, unsigned long i...
phys_addr_t paddr, size_t size, int prot);
size_t (*unmap)(struct iommu_domain *domain, unsigned l...
size_t size);
size_t (*map_sg)(struct iommu_domain *domain, unsigned ...
struct scatterlist *sg, unsigned int nents, int prot);
-
--[[linux-4.4.1/phys_addr_t]]
--[[linux-4.4.1/scatterlist]]
phys_addr_t (*iova_to_phys)(struct iommu_domain *domain...
-
--[[linux-4.4.1/dma_addr_t]]
int (*add_device)(struct device *dev);
void (*remove_device)(struct device *dev);
struct iommu_group *(*device_group)(struct device *dev);
-
--[[linux-4.4.1/iommu_group]]
int (*domain_get_attr)(struct iommu_domain *domain,
enum iommu_attr attr, void *data);
int (*domain_set_attr)(struct iommu_domain *domain,
enum iommu_attr attr, void *data);
-
--[[linux-4.4.1/iommu_attr]]
/* Request/Free a list of direct mapping requirements f...
void (*get_dm_regions)(struct device *dev, struct list_...
void (*put_dm_regions)(struct device *dev, struct list_...
-
--[[linux-4.4.1/list_head]]
/* Window handling functions */
int (*domain_window_enable)(struct iommu_domain *domain...
phys_addr_t paddr, u64 size, int prot);
void (*domain_window_disable)(struct iommu_domain *doma...
/* Set the numer of window per domain */
int (*domain_set_windows)(struct iommu_domain *domain, ...
/* Get the numer of window per domain */
u32 (*domain_get_windows)(struct iommu_domain *domain);
#ifdef CONFIG_OF_IOMMU
-
--[[linux-4.4.1/CONFIG_OF_IOMMU]]
int (*of_xlate)(struct device *dev, struct of_phandle_a...
-
--[[linux-4.4.1/of_phandle_args]]
#endif
unsigned long pgsize_bitmap;
void *priv;
};
*コメント [#da17bbcf]
ページ名: