linux-4.4.1/dma_map_ops
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
*参照元 [#zb7d666b]
#backlinks
*説明 [#udb98bb4]
-パス: [[linux-4.4.1/include/linux/dma-mapping.h]]
-FIXME: これは何?
--説明
**参考 [#z67612a7]
-ざっくり検索した結果とそのリンク。
--[[linux-4.4.1/nommu_dma_ops(global)]]: arch/sh/kernel/d...
--[[linux-4.4.1/arm_dma_ops(global)]]: arch/arm/mm/dma-ma...
--[[linux-4.4.1/arm_coherent_dma_ops(global)]]: arch/arm/...
--[[linux-4.4.1/iommu_ops(global)]]: arch/arm/mm/dma-mapp...
--[[linux-4.4.1/iommu_coherent_ops(global)]]: arch/arm/mm...
--[[linux-4.4.1/xen_swiotlb_dma_ops(global)]]: arch/arm/x...
--[[linux-4.4.1/dmabounce_ops(global)]]: arch/arm/common/...
--[[linux-4.4.1/sta2x11_dma_ops(global)]]: arch/x86/pci/s...
--[[linux-4.4.1/xen_swiotlb_dma_ops(global)]]: arch/x86/x...
--[[linux-4.4.1/calgary_dma_ops(global)]]: arch/x86/kerne...
--[[linux-4.4.1/gart_dma_ops(global)]]: arch/x86/kernel/a...
--[[linux-4.4.1/nommu_dma_ops(global)]]: arch/x86/kernel/...
--[[linux-4.4.1/swiotlb_dma_ops(global)]]: arch/x86/kerne...
--[[linux-4.4.1/sba_dma_ops(global)]]: arch/ia64/hp/commo...
--[[linux-4.4.1/sn_dma_ops(global)]]: arch/ia64/sn/pci/pc...
--[[linux-4.4.1/swiotlb_dma_ops(global)]]: arch/ia64/kern...
--[[linux-4.4.1/mips_default_dma_map_ops(global)]]: arch/...
--[[linux-4.4.1/loongson_dma_map_ops(global)]]: arch/mips...
--[[linux-4.4.1/nlm_swiotlb_dma_ops(global)]]: arch/mips/...
--[[linux-4.4.1/s390_dma_ops(global)]]: arch/s390/pci/pci...
--[[linux-4.4.1/tile_default_dma_map_ops(global)]]: arch/...
--[[linux-4.4.1/tile_pci_default_dma_map_ops(global)]]: a...
--[[linux-4.4.1/pci_swiotlb_dma_ops(global)]]: arch/tile/...
--[[linux-4.4.1/pci_hybrid_dma_ops(global)]]: arch/tile/k...
--[[linux-4.4.1/alpha_pci_ops(global)]]: arch/alpha/kerne...
--[[linux-4.4.1/alpha_noop_ops(global)]]: arch/alpha/kern...
--[[linux-4.4.1/swiotlb_dma_ops(global)]]: arch/arm64/mm/...
--[[linux-4.4.1/dummy_dma_ops(global)]]: arch/arm64/mm/dm...
--[[linux-4.4.1/iommu_dma_ops(global)]]: arch/arm64/mm/dm...
--[[linux-4.4.1/h8300_dma_map_ops(global)]]: arch/h8300/k...
--[[linux-4.4.1/sbus_dma_ops(global)]]: arch/sparc/kernel...
--[[linux-4.4.1/pci32_dma_ops(global)]]: arch/sparc/kerne...
--[[linux-4.4.1/sun4v_dma_ops(global)]]: arch/sparc/kerne...
--[[linux-4.4.1/sun4u_dma_ops(global)]]: arch/sparc/kerne...
--[[linux-4.4.1/swiotlb_dma_map_ops(global)]]: arch/unico...
--[[linux-4.4.1/hexagon_dma_ops(global)]]: arch/hexagon/k...
--[[linux-4.4.1/or1k_dma_map_ops(global)]]: arch/openrisc...
--[[linux-4.4.1/xtensa_dma_map_ops(global)]]: arch/xtensa...
--[[linux-4.4.1/dma_direct_ops(global)]]: arch/microblaze...
--[[linux-4.4.1/ps3_sb_dma_ops(global)]]: arch/powerpc/pl...
--[[linux-4.4.1/ps3_ioc0_dma_ops(global)]]: arch/powerpc/...
--[[linux-4.4.1/dma_iommu_fixed_ops(global)]]: arch/power...
--[[linux-4.4.1/swiotlb_dma_ops(global)]]: arch/powerpc/k...
--[[linux-4.4.1/dma_direct_ops(global)]]: arch/powerpc/ke...
--[[linux-4.4.1/vio_dma_mapping_ops(global)]]: arch/power...
--[[linux-4.4.1/dma_iommu_ops(global)]]: arch/powerpc/ker...
--[[linux-4.4.1/ibmebus_dma_ops(global)]]: arch/powerpc/k...
--[[linux-4.4.1/__mic_dma_ops(global)]]: drivers/misc/mic...
--[[linux-4.4.1/mic_dma_ops(global)]]: drivers/misc/mic/h...
--[[linux-4.4.1/intel_dma_ops(global)]]: drivers/iommu/in...
--[[linux-4.4.1/amd_iommu_dma_ops(global)]]: drivers/iomm...
$ grep -r 'struct dma_map_ops [^*]' | grep '='
arch/sh/kernel/dma-nommu.c:struct dma_map_ops nommu_dma_...
arch/arm/mm/dma-mapping.c:struct dma_map_ops arm_dma_ops...
arch/arm/mm/dma-mapping.c:struct dma_map_ops arm_coheren...
arch/arm/mm/dma-mapping.c:struct dma_map_ops iommu_ops = {
arch/arm/mm/dma-mapping.c:struct dma_map_ops iommu_coher...
arch/arm/xen/mm.c:static struct dma_map_ops xen_swiotlb_...
arch/arm/common/dmabounce.c:static struct dma_map_ops dm...
arch/x86/pci/sta2x11-fixup.c:static struct dma_map_ops s...
arch/x86/xen/pci-swiotlb-xen.c:static struct dma_map_ops...
arch/x86/kernel/pci-calgary_64.c:static struct dma_map_o...
arch/x86/kernel/amd_gart_64.c:static struct dma_map_ops ...
arch/x86/kernel/pci-nommu.c:struct dma_map_ops nommu_dma...
arch/x86/kernel/pci-swiotlb.c:static struct dma_map_ops ...
arch/ia64/hp/common/sba_iommu.c:struct dma_map_ops sba_d...
arch/ia64/sn/pci/pci_dma.c:static struct dma_map_ops sn_...
arch/ia64/kernel/pci-swiotlb.c:struct dma_map_ops swiotl...
arch/mips/mm/dma-default.c:static struct dma_map_ops mip...
arch/mips/loongson64/common/dma-swiotlb.c:static struct ...
arch/mips/netlogic/common/nlm-dma.c:struct dma_map_ops n...
arch/s390/pci/pci_dma.c:struct dma_map_ops s390_dma_ops ...
arch/tile/kernel/pci-dma.c:static struct dma_map_ops til...
arch/tile/kernel/pci-dma.c:static struct dma_map_ops til...
arch/tile/kernel/pci-dma.c:static struct dma_map_ops pci...
arch/tile/kernel/pci-dma.c:static struct dma_map_ops pci...
arch/alpha/kernel/pci_iommu.c:struct dma_map_ops alpha_p...
arch/alpha/kernel/pci-noop.c:struct dma_map_ops alpha_no...
arch/arm64/mm/dma-mapping.c:static struct dma_map_ops sw...
arch/arm64/mm/dma-mapping.c:struct dma_map_ops dummy_dma...
arch/arm64/mm/dma-mapping.c:static struct dma_map_ops io...
arch/h8300/kernel/dma.c:struct dma_map_ops h8300_dma_map...
arch/sparc/kernel/ioport.c:static struct dma_map_ops sbu...
arch/sparc/kernel/ioport.c:struct dma_map_ops pci32_dma_...
arch/sparc/kernel/pci_sun4v.c:static struct dma_map_ops ...
arch/sparc/kernel/iommu.c:static struct dma_map_ops sun4...
arch/unicore32/mm/dma-swiotlb.c:struct dma_map_ops swiot...
arch/hexagon/kernel/dma.c:struct dma_map_ops hexagon_dma...
arch/openrisc/kernel/dma.c:struct dma_map_ops or1k_dma_m...
arch/xtensa/kernel/pci-dma.c:struct dma_map_ops xtensa_d...
arch/microblaze/kernel/dma.c:struct dma_map_ops dma_dire...
arch/powerpc/platforms/ps3/system-bus.c:static struct dm...
arch/powerpc/platforms/ps3/system-bus.c:static struct dm...
arch/powerpc/platforms/cell/iommu.c:struct dma_map_ops d...
arch/powerpc/kernel/dma-swiotlb.c:struct dma_map_ops swi...
arch/powerpc/kernel/dma.c:struct dma_map_ops dma_direct_...
arch/powerpc/kernel/vio.c:struct dma_map_ops vio_dma_map...
arch/powerpc/kernel/dma-iommu.c:struct dma_map_ops dma_i...
arch/powerpc/kernel/ibmebus.c:static struct dma_map_ops ...
drivers/misc/mic/host/mic_boot.c:static struct dma_map_o...
drivers/misc/mic/host/mic_boot.c:static struct dma_map_o...
drivers/iommu/intel-iommu.c:struct dma_map_ops intel_dma...
drivers/iommu/amd_iommu.c:static struct dma_map_ops amd_...
*実装 [#z39a6233]
/*
* A dma_addr_t can hold any valid DMA or bus address fo...
* It can be given to a device to use as a DMA source or...
* reference a dma_addr_t directly because there may be ...
* its physical address space and the bus address space.
*/
struct dma_map_ops {
void* (*alloc)(struct device *dev, size_t size,
dma_addr_t *dma_handle, ...
struct dma_attrs *attrs);
-
--[[linux-4.4.1/device]]
--[[linux-4.4.1/dma_addr_t]]
--[[linux-4.4.1/gfp_t]]
--[[linux-4.4.1/dma_attrs]]
void (*free)(struct device *dev, size_t size,
void *vaddr, dma_addr_t dm...
struct dma_attrs *attrs);
int (*mmap)(struct device *, struct vm_area_stru...
void *, dma_addr_t, size_t, st...
-
--[[linux-4.4.1/vm_area_struct]]
int (*get_sgtable)(struct device *dev, struct sg...
dma_addr_t, size_t, struct dm...
-
--[[linux-4.4.1/sg_table]]
dma_addr_t (*map_page)(struct device *dev, struc...
unsigned long offset, siz...
enum dma_data_direction d...
struct dma_attrs *attrs);
-
--[[linux-4.4.1/page]]
--[[linux-4.4.1/dma_data_direction]]
void (*unmap_page)(struct device *dev, dma_addr_...
size_t size, enum dma_data_di...
struct dma_attrs *attrs);
/*
* map_sg returns 0 on error and a value > 0 on ...
* It should never return a value < 0.
*/
int (*map_sg)(struct device *dev, struct scatter...
int nents, enum dma_data_direction...
struct dma_attrs *attrs);
-
--[[linux-4.4.1/scatterlist]]
void (*unmap_sg)(struct device *dev,
struct scatterlist *sg, int nen...
enum dma_data_direction dir,
struct dma_attrs *attrs);
void (*sync_single_for_cpu)(struct device *dev,
dma_addr_t dma_handl...
enum dma_data_direct...
void (*sync_single_for_device)(struct device *dev,
dma_addr_t dma_ha...
enum dma_data_dir...
void (*sync_sg_for_cpu)(struct device *dev,
struct scatterlist *sg, ...
enum dma_data_direction ...
void (*sync_sg_for_device)(struct device *dev,
struct scatterlist *s...
enum dma_data_directi...
int (*mapping_error)(struct device *dev, dma_add...
int (*dma_supported)(struct device *dev, u64 mas...
int (*set_dma_mask)(struct device *dev, u64 mask);
#ifdef ARCH_HAS_DMA_GET_REQUIRED_MASK
-
--[[linux-4.4.1/ARCH_HAS_DMA_GET_REQUIRED_MASK]]
u64 (*get_required_mask)(struct device *dev);
#endif
int is_phys;
};
*コメント [#r12500ed]
終了行:
*参照元 [#zb7d666b]
#backlinks
*説明 [#udb98bb4]
-パス: [[linux-4.4.1/include/linux/dma-mapping.h]]
-FIXME: これは何?
--説明
**参考 [#z67612a7]
-ざっくり検索した結果とそのリンク。
--[[linux-4.4.1/nommu_dma_ops(global)]]: arch/sh/kernel/d...
--[[linux-4.4.1/arm_dma_ops(global)]]: arch/arm/mm/dma-ma...
--[[linux-4.4.1/arm_coherent_dma_ops(global)]]: arch/arm/...
--[[linux-4.4.1/iommu_ops(global)]]: arch/arm/mm/dma-mapp...
--[[linux-4.4.1/iommu_coherent_ops(global)]]: arch/arm/mm...
--[[linux-4.4.1/xen_swiotlb_dma_ops(global)]]: arch/arm/x...
--[[linux-4.4.1/dmabounce_ops(global)]]: arch/arm/common/...
--[[linux-4.4.1/sta2x11_dma_ops(global)]]: arch/x86/pci/s...
--[[linux-4.4.1/xen_swiotlb_dma_ops(global)]]: arch/x86/x...
--[[linux-4.4.1/calgary_dma_ops(global)]]: arch/x86/kerne...
--[[linux-4.4.1/gart_dma_ops(global)]]: arch/x86/kernel/a...
--[[linux-4.4.1/nommu_dma_ops(global)]]: arch/x86/kernel/...
--[[linux-4.4.1/swiotlb_dma_ops(global)]]: arch/x86/kerne...
--[[linux-4.4.1/sba_dma_ops(global)]]: arch/ia64/hp/commo...
--[[linux-4.4.1/sn_dma_ops(global)]]: arch/ia64/sn/pci/pc...
--[[linux-4.4.1/swiotlb_dma_ops(global)]]: arch/ia64/kern...
--[[linux-4.4.1/mips_default_dma_map_ops(global)]]: arch/...
--[[linux-4.4.1/loongson_dma_map_ops(global)]]: arch/mips...
--[[linux-4.4.1/nlm_swiotlb_dma_ops(global)]]: arch/mips/...
--[[linux-4.4.1/s390_dma_ops(global)]]: arch/s390/pci/pci...
--[[linux-4.4.1/tile_default_dma_map_ops(global)]]: arch/...
--[[linux-4.4.1/tile_pci_default_dma_map_ops(global)]]: a...
--[[linux-4.4.1/pci_swiotlb_dma_ops(global)]]: arch/tile/...
--[[linux-4.4.1/pci_hybrid_dma_ops(global)]]: arch/tile/k...
--[[linux-4.4.1/alpha_pci_ops(global)]]: arch/alpha/kerne...
--[[linux-4.4.1/alpha_noop_ops(global)]]: arch/alpha/kern...
--[[linux-4.4.1/swiotlb_dma_ops(global)]]: arch/arm64/mm/...
--[[linux-4.4.1/dummy_dma_ops(global)]]: arch/arm64/mm/dm...
--[[linux-4.4.1/iommu_dma_ops(global)]]: arch/arm64/mm/dm...
--[[linux-4.4.1/h8300_dma_map_ops(global)]]: arch/h8300/k...
--[[linux-4.4.1/sbus_dma_ops(global)]]: arch/sparc/kernel...
--[[linux-4.4.1/pci32_dma_ops(global)]]: arch/sparc/kerne...
--[[linux-4.4.1/sun4v_dma_ops(global)]]: arch/sparc/kerne...
--[[linux-4.4.1/sun4u_dma_ops(global)]]: arch/sparc/kerne...
--[[linux-4.4.1/swiotlb_dma_map_ops(global)]]: arch/unico...
--[[linux-4.4.1/hexagon_dma_ops(global)]]: arch/hexagon/k...
--[[linux-4.4.1/or1k_dma_map_ops(global)]]: arch/openrisc...
--[[linux-4.4.1/xtensa_dma_map_ops(global)]]: arch/xtensa...
--[[linux-4.4.1/dma_direct_ops(global)]]: arch/microblaze...
--[[linux-4.4.1/ps3_sb_dma_ops(global)]]: arch/powerpc/pl...
--[[linux-4.4.1/ps3_ioc0_dma_ops(global)]]: arch/powerpc/...
--[[linux-4.4.1/dma_iommu_fixed_ops(global)]]: arch/power...
--[[linux-4.4.1/swiotlb_dma_ops(global)]]: arch/powerpc/k...
--[[linux-4.4.1/dma_direct_ops(global)]]: arch/powerpc/ke...
--[[linux-4.4.1/vio_dma_mapping_ops(global)]]: arch/power...
--[[linux-4.4.1/dma_iommu_ops(global)]]: arch/powerpc/ker...
--[[linux-4.4.1/ibmebus_dma_ops(global)]]: arch/powerpc/k...
--[[linux-4.4.1/__mic_dma_ops(global)]]: drivers/misc/mic...
--[[linux-4.4.1/mic_dma_ops(global)]]: drivers/misc/mic/h...
--[[linux-4.4.1/intel_dma_ops(global)]]: drivers/iommu/in...
--[[linux-4.4.1/amd_iommu_dma_ops(global)]]: drivers/iomm...
$ grep -r 'struct dma_map_ops [^*]' | grep '='
arch/sh/kernel/dma-nommu.c:struct dma_map_ops nommu_dma_...
arch/arm/mm/dma-mapping.c:struct dma_map_ops arm_dma_ops...
arch/arm/mm/dma-mapping.c:struct dma_map_ops arm_coheren...
arch/arm/mm/dma-mapping.c:struct dma_map_ops iommu_ops = {
arch/arm/mm/dma-mapping.c:struct dma_map_ops iommu_coher...
arch/arm/xen/mm.c:static struct dma_map_ops xen_swiotlb_...
arch/arm/common/dmabounce.c:static struct dma_map_ops dm...
arch/x86/pci/sta2x11-fixup.c:static struct dma_map_ops s...
arch/x86/xen/pci-swiotlb-xen.c:static struct dma_map_ops...
arch/x86/kernel/pci-calgary_64.c:static struct dma_map_o...
arch/x86/kernel/amd_gart_64.c:static struct dma_map_ops ...
arch/x86/kernel/pci-nommu.c:struct dma_map_ops nommu_dma...
arch/x86/kernel/pci-swiotlb.c:static struct dma_map_ops ...
arch/ia64/hp/common/sba_iommu.c:struct dma_map_ops sba_d...
arch/ia64/sn/pci/pci_dma.c:static struct dma_map_ops sn_...
arch/ia64/kernel/pci-swiotlb.c:struct dma_map_ops swiotl...
arch/mips/mm/dma-default.c:static struct dma_map_ops mip...
arch/mips/loongson64/common/dma-swiotlb.c:static struct ...
arch/mips/netlogic/common/nlm-dma.c:struct dma_map_ops n...
arch/s390/pci/pci_dma.c:struct dma_map_ops s390_dma_ops ...
arch/tile/kernel/pci-dma.c:static struct dma_map_ops til...
arch/tile/kernel/pci-dma.c:static struct dma_map_ops til...
arch/tile/kernel/pci-dma.c:static struct dma_map_ops pci...
arch/tile/kernel/pci-dma.c:static struct dma_map_ops pci...
arch/alpha/kernel/pci_iommu.c:struct dma_map_ops alpha_p...
arch/alpha/kernel/pci-noop.c:struct dma_map_ops alpha_no...
arch/arm64/mm/dma-mapping.c:static struct dma_map_ops sw...
arch/arm64/mm/dma-mapping.c:struct dma_map_ops dummy_dma...
arch/arm64/mm/dma-mapping.c:static struct dma_map_ops io...
arch/h8300/kernel/dma.c:struct dma_map_ops h8300_dma_map...
arch/sparc/kernel/ioport.c:static struct dma_map_ops sbu...
arch/sparc/kernel/ioport.c:struct dma_map_ops pci32_dma_...
arch/sparc/kernel/pci_sun4v.c:static struct dma_map_ops ...
arch/sparc/kernel/iommu.c:static struct dma_map_ops sun4...
arch/unicore32/mm/dma-swiotlb.c:struct dma_map_ops swiot...
arch/hexagon/kernel/dma.c:struct dma_map_ops hexagon_dma...
arch/openrisc/kernel/dma.c:struct dma_map_ops or1k_dma_m...
arch/xtensa/kernel/pci-dma.c:struct dma_map_ops xtensa_d...
arch/microblaze/kernel/dma.c:struct dma_map_ops dma_dire...
arch/powerpc/platforms/ps3/system-bus.c:static struct dm...
arch/powerpc/platforms/ps3/system-bus.c:static struct dm...
arch/powerpc/platforms/cell/iommu.c:struct dma_map_ops d...
arch/powerpc/kernel/dma-swiotlb.c:struct dma_map_ops swi...
arch/powerpc/kernel/dma.c:struct dma_map_ops dma_direct_...
arch/powerpc/kernel/vio.c:struct dma_map_ops vio_dma_map...
arch/powerpc/kernel/dma-iommu.c:struct dma_map_ops dma_i...
arch/powerpc/kernel/ibmebus.c:static struct dma_map_ops ...
drivers/misc/mic/host/mic_boot.c:static struct dma_map_o...
drivers/misc/mic/host/mic_boot.c:static struct dma_map_o...
drivers/iommu/intel-iommu.c:struct dma_map_ops intel_dma...
drivers/iommu/amd_iommu.c:static struct dma_map_ops amd_...
*実装 [#z39a6233]
/*
* A dma_addr_t can hold any valid DMA or bus address fo...
* It can be given to a device to use as a DMA source or...
* reference a dma_addr_t directly because there may be ...
* its physical address space and the bus address space.
*/
struct dma_map_ops {
void* (*alloc)(struct device *dev, size_t size,
dma_addr_t *dma_handle, ...
struct dma_attrs *attrs);
-
--[[linux-4.4.1/device]]
--[[linux-4.4.1/dma_addr_t]]
--[[linux-4.4.1/gfp_t]]
--[[linux-4.4.1/dma_attrs]]
void (*free)(struct device *dev, size_t size,
void *vaddr, dma_addr_t dm...
struct dma_attrs *attrs);
int (*mmap)(struct device *, struct vm_area_stru...
void *, dma_addr_t, size_t, st...
-
--[[linux-4.4.1/vm_area_struct]]
int (*get_sgtable)(struct device *dev, struct sg...
dma_addr_t, size_t, struct dm...
-
--[[linux-4.4.1/sg_table]]
dma_addr_t (*map_page)(struct device *dev, struc...
unsigned long offset, siz...
enum dma_data_direction d...
struct dma_attrs *attrs);
-
--[[linux-4.4.1/page]]
--[[linux-4.4.1/dma_data_direction]]
void (*unmap_page)(struct device *dev, dma_addr_...
size_t size, enum dma_data_di...
struct dma_attrs *attrs);
/*
* map_sg returns 0 on error and a value > 0 on ...
* It should never return a value < 0.
*/
int (*map_sg)(struct device *dev, struct scatter...
int nents, enum dma_data_direction...
struct dma_attrs *attrs);
-
--[[linux-4.4.1/scatterlist]]
void (*unmap_sg)(struct device *dev,
struct scatterlist *sg, int nen...
enum dma_data_direction dir,
struct dma_attrs *attrs);
void (*sync_single_for_cpu)(struct device *dev,
dma_addr_t dma_handl...
enum dma_data_direct...
void (*sync_single_for_device)(struct device *dev,
dma_addr_t dma_ha...
enum dma_data_dir...
void (*sync_sg_for_cpu)(struct device *dev,
struct scatterlist *sg, ...
enum dma_data_direction ...
void (*sync_sg_for_device)(struct device *dev,
struct scatterlist *s...
enum dma_data_directi...
int (*mapping_error)(struct device *dev, dma_add...
int (*dma_supported)(struct device *dev, u64 mas...
int (*set_dma_mask)(struct device *dev, u64 mask);
#ifdef ARCH_HAS_DMA_GET_REQUIRED_MASK
-
--[[linux-4.4.1/ARCH_HAS_DMA_GET_REQUIRED_MASK]]
u64 (*get_required_mask)(struct device *dev);
#endif
int is_phys;
};
*コメント [#r12500ed]
ページ名: