*参照元 [#b9d14756]
#backlinks

*説明 [#iac75df6]
-パス: [[linux-4.4.1/arch/arm/mm/dma-mapping.c]]

-FIXME: これは何?
--説明


**参考 [#u52f7042]

-ざっくり検索した結果とそのリンク。
--[[linux-4.4.1/nommu_dma_ops(global)]]
--[[linux-4.4.1/arm_dma_ops(global)]]
--[[linux-4.4.1/arm_coherent_dma_ops(global)]]
--[[linux-4.4.1/iommu_ops(global)]]
--[[linux-4.4.1/iommu_coherent_ops(global)]]
--[[linux-4.4.1/xen_swiotlb_dma_ops(global)]]
--[[linux-4.4.1/dmabounce_ops(global)]]
--[[linux-4.4.1/sta2x11_dma_ops(global)]]
--[[linux-4.4.1/xen_swiotlb_dma_ops(global)]]
--[[linux-4.4.1/calgary_dma_ops(global)]]
--[[linux-4.4.1/gart_dma_ops(global)]]
--[[linux-4.4.1/nommu_dma_ops(global)]]
--[[linux-4.4.1/swiotlb_dma_ops(global)]]
--[[linux-4.4.1/sba_dma_ops(global)]]
--[[linux-4.4.1/sn_dma_ops(global)]]
--[[linux-4.4.1/swiotlb_dma_ops(global)]]
--[[linux-4.4.1/mips_default_dma_map_ops(global)]]
--[[linux-4.4.1/loongson_dma_map_ops(global)]]
--[[linux-4.4.1/nlm_swiotlb_dma_ops(global)]]
--[[linux-4.4.1/s390_dma_ops(global)]]
--[[linux-4.4.1/tile_default_dma_map_ops(global)]]
--[[linux-4.4.1/tile_pci_default_dma_map_ops(global)]]
--[[linux-4.4.1/pci_swiotlb_dma_ops(global)]]
--[[linux-4.4.1/pci_hybrid_dma_ops(global)]]
--[[linux-4.4.1/alpha_pci_ops(global)]]
--[[linux-4.4.1/alpha_noop_ops(global)]]
--[[linux-4.4.1/swiotlb_dma_ops(global)]]
--[[linux-4.4.1/dummy_dma_ops(global)]]
--[[linux-4.4.1/iommu_dma_ops(global)]]
--[[linux-4.4.1/h8300_dma_map_ops(global)]]
--[[linux-4.4.1/sbus_dma_ops(global)]]
--[[linux-4.4.1/pci32_dma_ops(global)]]
--[[linux-4.4.1/sun4v_dma_ops(global)]]
--[[linux-4.4.1/sun4u_dma_ops(global)]]
--[[linux-4.4.1/swiotlb_dma_map_ops(global)]]
--[[linux-4.4.1/hexagon_dma_ops(global)]]
--[[linux-4.4.1/or1k_dma_map_ops(global)]]
--[[linux-4.4.1/xtensa_dma_map_ops(global)]]
--[[linux-4.4.1/dma_direct_ops(global)]]
--[[linux-4.4.1/ps3_sb_dma_ops(global)]]
--[[linux-4.4.1/ps3_ioc0_dma_ops(global)]]
--[[linux-4.4.1/dma_iommu_fixed_ops(global)]]
--[[linux-4.4.1/swiotlb_dma_ops(global)]]
--[[linux-4.4.1/dma_direct_ops(global)]]
--[[linux-4.4.1/vio_dma_mapping_ops(global)]]
--[[linux-4.4.1/dma_iommu_ops(global)]]
--[[linux-4.4.1/ibmebus_dma_ops(global)]]
--[[linux-4.4.1/__mic_dma_ops(global)]]
--[[linux-4.4.1/mic_dma_ops(global)]]
--[[linux-4.4.1/intel_dma_ops(global)]]
--[[linux-4.4.1/amd_iommu_dma_ops(global)]]

 $ grep -r 'struct dma_map_ops [^*]' | grep '='
 arch/sh/kernel/dma-nommu.c:struct dma_map_ops nommu_dma_ops = {
 arch/arm/mm/dma-mapping.c:struct dma_map_ops arm_dma_ops = {
 arch/arm/mm/dma-mapping.c:struct dma_map_ops arm_coherent_dma_ops = {
 arch/arm/mm/dma-mapping.c:struct dma_map_ops iommu_ops = {
 arch/arm/mm/dma-mapping.c:struct dma_map_ops iommu_coherent_ops = {
 arch/arm/xen/mm.c:static struct dma_map_ops xen_swiotlb_dma_ops = {
 arch/arm/common/dmabounce.c:static struct dma_map_ops dmabounce_ops = {
 arch/x86/pci/sta2x11-fixup.c:static struct dma_map_ops sta2x11_dma_ops = {
 arch/x86/xen/pci-swiotlb-xen.c:static struct dma_map_ops xen_swiotlb_dma_ops = {
 arch/x86/kernel/pci-calgary_64.c:static struct dma_map_ops calgary_dma_ops = {
 arch/x86/kernel/amd_gart_64.c:static struct dma_map_ops gart_dma_ops = {
 arch/x86/kernel/pci-nommu.c:struct dma_map_ops nommu_dma_ops = {
 arch/x86/kernel/pci-swiotlb.c:static struct dma_map_ops swiotlb_dma_ops = {
 arch/ia64/hp/common/sba_iommu.c:struct dma_map_ops sba_dma_ops = {
 arch/ia64/sn/pci/pci_dma.c:static struct dma_map_ops sn_dma_ops = {
 arch/ia64/kernel/pci-swiotlb.c:struct dma_map_ops swiotlb_dma_ops = {
 arch/mips/mm/dma-default.c:static struct dma_map_ops mips_default_dma_map_ops = {
 arch/mips/loongson64/common/dma-swiotlb.c:static struct dma_map_ops loongson_dma_map_ops = {
 arch/mips/netlogic/common/nlm-dma.c:struct dma_map_ops nlm_swiotlb_dma_ops = {
 arch/s390/pci/pci_dma.c:struct dma_map_ops s390_dma_ops = {
 arch/tile/kernel/pci-dma.c:static struct dma_map_ops tile_default_dma_map_ops = {
 arch/tile/kernel/pci-dma.c:static struct dma_map_ops tile_pci_default_dma_map_ops = {
 arch/tile/kernel/pci-dma.c:static struct dma_map_ops pci_swiotlb_dma_ops = {
 arch/tile/kernel/pci-dma.c:static struct dma_map_ops pci_hybrid_dma_ops = {
 arch/alpha/kernel/pci_iommu.c:struct dma_map_ops alpha_pci_ops = {
 arch/alpha/kernel/pci-noop.c:struct dma_map_ops alpha_noop_ops = {
 arch/arm64/mm/dma-mapping.c:static struct dma_map_ops swiotlb_dma_ops = {
 arch/arm64/mm/dma-mapping.c:struct dma_map_ops dummy_dma_ops = {
 arch/arm64/mm/dma-mapping.c:static struct dma_map_ops iommu_dma_ops = {
 arch/h8300/kernel/dma.c:struct dma_map_ops h8300_dma_map_ops = {
 arch/sparc/kernel/ioport.c:static struct dma_map_ops sbus_dma_ops = {
 arch/sparc/kernel/ioport.c:struct dma_map_ops pci32_dma_ops = {
 arch/sparc/kernel/pci_sun4v.c:static struct dma_map_ops sun4v_dma_ops = {
 arch/sparc/kernel/iommu.c:static struct dma_map_ops sun4u_dma_ops = {
 arch/unicore32/mm/dma-swiotlb.c:struct dma_map_ops swiotlb_dma_map_ops = {
 arch/hexagon/kernel/dma.c:struct dma_map_ops hexagon_dma_ops = {
 arch/openrisc/kernel/dma.c:struct dma_map_ops or1k_dma_map_ops = {
 arch/xtensa/kernel/pci-dma.c:struct dma_map_ops xtensa_dma_map_ops = {
 arch/microblaze/kernel/dma.c:struct dma_map_ops dma_direct_ops = {
 arch/powerpc/platforms/ps3/system-bus.c:static struct dma_map_ops ps3_sb_dma_ops = {
 arch/powerpc/platforms/ps3/system-bus.c:static struct dma_map_ops ps3_ioc0_dma_ops = {
 arch/powerpc/platforms/cell/iommu.c:struct dma_map_ops dma_iommu_fixed_ops = {
 arch/powerpc/kernel/dma-swiotlb.c:struct dma_map_ops swiotlb_dma_ops = {
 arch/powerpc/kernel/dma.c:struct dma_map_ops dma_direct_ops = {
 arch/powerpc/kernel/vio.c:struct dma_map_ops vio_dma_mapping_ops = {
 arch/powerpc/kernel/dma-iommu.c:struct dma_map_ops dma_iommu_ops = {
 arch/powerpc/kernel/ibmebus.c:static struct dma_map_ops ibmebus_dma_ops = {
 drivers/misc/mic/host/mic_boot.c:static struct dma_map_ops __mic_dma_ops = {
 drivers/misc/mic/host/mic_boot.c:static struct dma_map_ops mic_dma_ops = {
 drivers/iommu/intel-iommu.c:struct dma_map_ops intel_dma_ops = {
 drivers/iommu/amd_iommu.c:static struct dma_map_ops amd_iommu_dma_ops = {


*実装 [#l66403cf]
 struct dma_map_ops arm_dma_ops = {
-
--[[linux-4.4.1/dma_map_ops]]

         .alloc                  = arm_dma_alloc,
-
--[[linux-4.4.1/arm_dma_alloc()]]

         .free                   = arm_dma_free,
-
--[[linux-4.4.1/arm_dma_free()]]

         .mmap                   = arm_dma_mmap,
-
--[[linux-4.4.1/arm_dma_mmap()]]

         .get_sgtable            = arm_dma_get_sgtable,
-
--[[linux-4.4.1/arm_dma_get_sgtable()]]

         .map_page               = arm_dma_map_page,
-
--[[linux-4.4.1/arm_dma_map_page()]]

         .unmap_page             = arm_dma_unmap_page,
-
--[[linux-4.4.1/arm_dma_unmap_page()]]

         .map_sg                 = arm_dma_map_sg,
-
--[[linux-4.4.1/arm_dma_map_sg()]]

         .unmap_sg               = arm_dma_unmap_sg,
-
--[[linux-4.4.1/arm_dma_unmap_sg()]]

         .sync_single_for_cpu    = arm_dma_sync_single_for_cpu,
-
--[[linux-4.4.1/arm_dma_sync_single_for_cpu()]]

         .sync_single_for_device = arm_dma_sync_single_for_device,
-
--[[linux-4.4.1/arm_dma_sync_single_for_device()]]

         .sync_sg_for_cpu        = arm_dma_sync_sg_for_cpu,
-
--[[linux-4.4.1/arm_dma_sync_sg_for_cpu()]]

         .sync_sg_for_device     = arm_dma_sync_sg_for_device,
-
--[[linux-4.4.1/arm_dma_sync_sg_for_device()]]

         .set_dma_mask           = arm_dma_set_mask,
-
--[[linux-4.4.1/arm_dma_set_mask()]]

 };
 EXPORT_SYMBOL(arm_dma_ops);
-
--[[linux-4.4.1/EXPORT_SYMBOL()]]


*コメント [#mfb46133]

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS