Home
last modified time | relevance | path

Searched refs:dma_addr (Results 1 – 19 of 19) sorted by relevance

/include/linux/
Ddma-direct.h68 dma_addr_t dma_addr) in translate_dma_to_phys() argument
73 if (dma_addr >= m->dma_start && dma_addr - m->dma_start < m->size) in translate_dma_to_phys()
74 return (phys_addr_t)dma_addr + m->offset; in translate_dma_to_phys()
104 static inline phys_addr_t dma_to_phys(struct device *dev, dma_addr_t dma_addr) in dma_to_phys() argument
109 paddr = translate_dma_to_phys(dev, dma_addr); in dma_to_phys()
111 paddr = dma_addr; in dma_to_phys()
144 dma_addr_t dma_addr, unsigned long attrs);
148 struct page *page, dma_addr_t dma_addr,
Ddma-mapping.h80 void debug_dma_mapping_error(struct device *dev, dma_addr_t dma_addr);
85 dma_addr_t dma_addr) in debug_dma_mapping_error() argument
95 static inline int dma_mapping_error(struct device *dev, dma_addr_t dma_addr) in dma_mapping_error() argument
97 debug_dma_mapping_error(dev, dma_addr); in dma_mapping_error()
99 if (unlikely(dma_addr == DMA_MAPPING_ERROR)) in dma_mapping_error()
137 void *cpu_addr, dma_addr_t dma_addr, size_t size,
140 void *cpu_addr, dma_addr_t dma_addr, size_t size,
149 bool dma_need_sync(struct device *dev, dma_addr_t dma_addr);
213 static inline int dma_mapping_error(struct device *dev, dma_addr_t dma_addr) in dma_mapping_error() argument
236 struct sg_table *sgt, void *cpu_addr, dma_addr_t dma_addr, in dma_get_sgtable_attrs() argument
[all …]
Dism.h22 dma_addr_t dma_addr; member
Ddma-map-ops.h46 void *cpu_addr, dma_addr_t dma_addr, size_t size,
239 void *cpu_addr, dma_addr_t dma_addr, size_t size,
242 void *cpu_addr, dma_addr_t dma_addr, size_t size,
344 dma_addr_t dma_addr, unsigned long attrs);
Dmhi.h516 dma_addr_t dma_addr; member
Dswitchtec.h54 u64 dma_addr; member
Dhisi_acc_qm.h525 int hisi_qm_mb(struct hisi_qm *qm, u8 cmd, dma_addr_t dma_addr, u16 queue,
Dmm_types.h128 unsigned long dma_addr; member
/include/trace/events/
Dhabanalabs.h54 TP_PROTO(struct device *dev, u64 cpu_addr, u64 dma_addr, size_t size, const char *caller),
56 TP_ARGS(dev, cpu_addr, dma_addr, size, caller),
61 __field(u64, dma_addr)
69 __entry->dma_addr = dma_addr;
77 __entry->dma_addr,
83 TP_PROTO(struct device *dev, u64 cpu_addr, u64 dma_addr, size_t size, const char *caller),
84 TP_ARGS(dev, cpu_addr, dma_addr, size, caller));
87 TP_PROTO(struct device *dev, u64 cpu_addr, u64 dma_addr, size_t size, const char *caller),
88 TP_ARGS(dev, cpu_addr, dma_addr, size, caller));
Drpcrdma.h1787 u64 dma_addr,
1791 TP_ARGS(rdma, dma_addr, length),
1794 __field(u64, dma_addr)
1801 __entry->dma_addr = dma_addr;
1809 __entry->dma_addr, __entry->length
1817 u64 dma_addr, \
1820 TP_ARGS(rdma, dma_addr, length))
/include/sound/
Dcompress_driver.h55 dma_addr_t dma_addr; member
237 runtime->dma_addr = bufp->addr; in snd_compr_set_runtime_buffer()
242 runtime->dma_addr = 0; in snd_compr_set_runtime_buffer()
Dpcm.h424 dma_addr_t dma_addr; /* physical bus address (not accessible from main CPU) */ member
1241 runtime->dma_addr = bufp->addr; in snd_pcm_set_runtime_buffer()
1246 runtime->dma_addr = 0; in snd_pcm_set_runtime_buffer()
/include/rdma/
Dib_umem.h138 dma_addr_t dma_addr; in ib_umem_find_best_pgoff() local
140 dma_addr = sg_dma_address(sg) + (umem->address & ~PAGE_MASK); in ib_umem_find_best_pgoff()
142 dma_addr & pgoff_bitmask); in ib_umem_find_best_pgoff()
Dib_verbs.h4046 static inline void *ib_virt_dma_to_ptr(u64 dma_addr) in ib_virt_dma_to_ptr() argument
4049 return (void *)(uintptr_t)dma_addr; in ib_virt_dma_to_ptr()
4059 static inline struct page *ib_virt_dma_to_page(u64 dma_addr) in ib_virt_dma_to_page() argument
4061 return virt_to_page(ib_virt_dma_to_ptr(dma_addr)); in ib_virt_dma_to_page()
4069 static inline int ib_dma_mapping_error(struct ib_device *dev, u64 dma_addr) in ib_dma_mapping_error() argument
4073 return dma_mapping_error(dev->dma_device, dma_addr); in ib_dma_mapping_error()
/include/net/page_pool/
Dhelpers.h212 dma_addr_t ret = page->dma_addr; in page_pool_get_dma_addr()
222 page->dma_addr = addr; in page_pool_set_dma_addr()
/include/media/
Dvideobuf-dma-sg.h54 dma_addr_t *dma_addr; member
/include/net/
Dsmc.h41 dma_addr_t dma_addr; member
/include/drm/
Ddrm_gem_dma_helper.h23 dma_addr_t dma_addr; member
/include/linux/comedi/
Dcomedidev.h221 dma_addr_t dma_addr; member