Home
last modified time | relevance | path

Searched refs:dma_addr_t (Results 1 – 25 of 116) sorted by relevance

12345

/include/linux/
Ddma-direct.h22 dma_addr_t dma_start;
54 static inline dma_addr_t translate_phys_to_dma(struct device *dev, in translate_phys_to_dma()
61 return (dma_addr_t)paddr - m->offset; in translate_phys_to_dma()
68 dma_addr_t dma_addr) in translate_dma_to_phys()
85 static inline dma_addr_t phys_to_dma_unencrypted(struct device *dev, in phys_to_dma_unencrypted()
99 static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) in phys_to_dma()
104 static inline phys_addr_t dma_to_phys(struct device *dev, dma_addr_t dma_addr) in dma_to_phys()
126 static inline bool dma_capable(struct device *dev, dma_addr_t addr, size_t size, in dma_capable()
129 dma_addr_t end = addr + size - 1; in dma_capable()
141 void *dma_direct_alloc(struct device *dev, size_t size, dma_addr_t *dma_handle,
[all …]
Ddma-mapping.h91 #define DMA_MAPPING_ERROR (~(dma_addr_t)0)
96 void debug_dma_mapping_error(struct device *dev, dma_addr_t dma_addr);
101 dma_addr_t dma_addr) in debug_dma_mapping_error()
111 static inline int dma_mapping_error(struct device *dev, dma_addr_t dma_addr) in dma_mapping_error()
120 dma_addr_t dma_map_page_attrs(struct device *dev, struct page *page,
123 void dma_unmap_page_attrs(struct device *dev, dma_addr_t addr, size_t size,
132 dma_addr_t dma_map_resource(struct device *dev, phys_addr_t phys_addr,
134 void dma_unmap_resource(struct device *dev, dma_addr_t addr, size_t size,
136 void dma_sync_single_for_cpu(struct device *dev, dma_addr_t addr, size_t size,
138 void dma_sync_single_for_device(struct device *dev, dma_addr_t addr,
[all …]
Dpci-dma-compat.h18 dma_addr_t *dma_handle) in pci_alloc_consistent()
25 dma_addr_t *dma_handle) in pci_zalloc_consistent()
32 void *vaddr, dma_addr_t dma_handle) in pci_free_consistent()
37 static inline dma_addr_t
44 pci_unmap_single(struct pci_dev *hwdev, dma_addr_t dma_addr, in pci_unmap_single()
50 static inline dma_addr_t
58 pci_unmap_page(struct pci_dev *hwdev, dma_addr_t dma_address, in pci_unmap_page()
79 pci_dma_sync_single_for_cpu(struct pci_dev *hwdev, dma_addr_t dma_handle, in pci_dma_sync_single_for_cpu()
86 pci_dma_sync_single_for_device(struct pci_dev *hwdev, dma_addr_t dma_handle, in pci_dma_sync_single_for_device()
107 pci_dma_mapping_error(struct pci_dev *pdev, dma_addr_t dma_addr) in pci_dma_mapping_error()
Ddma-map-ops.h17 dma_addr_t *dma_handle, gfp_t gfp,
20 dma_addr_t dma_handle, unsigned long attrs);
22 dma_addr_t *dma_handle, enum dma_data_direction dir,
25 dma_addr_t dma_handle, enum dma_data_direction dir);
32 void *, dma_addr_t, size_t, unsigned long attrs);
35 void *cpu_addr, dma_addr_t dma_addr, size_t size,
38 dma_addr_t (*map_page)(struct device *dev, struct page *page,
41 void (*unmap_page)(struct device *dev, dma_addr_t dma_handle,
53 dma_addr_t (*map_resource)(struct device *dev, phys_addr_t phys_addr,
56 void (*unmap_resource)(struct device *dev, dma_addr_t dma_handle,
[all …]
Ddmapool.h27 dma_addr_t *handle);
28 void dma_pool_free(struct dma_pool *pool, void *vaddr, dma_addr_t addr);
43 dma_addr_t *handle) { return NULL; } in dma_pool_alloc()
45 dma_addr_t addr) { } in dma_pool_free()
53 dma_addr_t *handle) in dma_pool_zalloc()
Dpch_dma.h20 dma_addr_t tx_reg;
21 dma_addr_t rx_reg;
Dshdma-base.h95 dma_addr_t (*slave_addr)(struct shdma_chan *);
97 dma_addr_t, dma_addr_t, size_t *);
98 int (*set_slave)(struct shdma_chan *, int, dma_addr_t, bool);
Dvme.h130 void *vme_alloc_consistent(struct vme_resource *, size_t, dma_addr_t *);
132 dma_addr_t);
140 unsigned long long, dma_addr_t, u32, u32);
142 unsigned long long *, dma_addr_t *, u32 *, u32 *);
160 struct vme_dma_attr *vme_dma_pci_attribute(dma_addr_t);
Dgenalloc.h157 dma_addr_t *dma);
159 dma_addr_t *dma, genpool_algo_t algo, void *data);
161 dma_addr_t *dma, int align);
162 extern void *gen_pool_dma_zalloc(struct gen_pool *pool, size_t size, dma_addr_t *dma);
164 dma_addr_t *dma, genpool_algo_t algo, void *data);
166 dma_addr_t *dma, int align);
/include/linux/soc/ti/
Dknav_qmss.h74 dma_addr_t knav_queue_pop(void *qhandle, unsigned *size);
75 int knav_queue_push(void *qhandle, dma_addr_t dma,
85 dma_addr_t *dma, unsigned *dma_sz);
86 void *knav_pool_desc_unmap(void *ph, dma_addr_t dma, unsigned dma_sz);
87 dma_addr_t knav_pool_desc_virt_to_dma(void *ph, void *virt);
88 void *knav_pool_desc_dma_to_virt(void *ph, dma_addr_t dma);
/include/linux/dma/
Dk3-udma-glue.h32 dma_addr_t desc_dma);
34 dma_addr_t *desc_dma);
40 void *data, void (*cleanup)(void *data, dma_addr_t desc_dma));
47 dma_addr_t *addr);
49 dma_addr_t *addr);
119 dma_addr_t desc_dma);
121 u32 flow_num, dma_addr_t *desc_dma);
133 void (*cleanup)(void *data, dma_addr_t desc_dma),
142 dma_addr_t *addr);
144 dma_addr_t *addr);
/include/net/
Dxsk_buff_pool.h23 dma_addr_t dma;
24 dma_addr_t frame_dma;
32 dma_addr_t *dma_pages;
61 dma_addr_t *dma_pages;
110 dma_addr_t xp_raw_get_dma(struct xsk_buff_pool *pool, u64 addr);
111 static inline dma_addr_t xp_get_dma(struct xdp_buff_xsk *xskb) in xp_get_dma()
116 static inline dma_addr_t xp_get_frame_dma(struct xdp_buff_xsk *xskb) in xp_get_frame_dma()
127 void xp_dma_sync_for_device_slow(struct xsk_buff_pool *pool, dma_addr_t dma,
130 dma_addr_t dma, size_t size) in xp_dma_sync_for_device()
Dxdp_sock_drv.h61 static inline dma_addr_t xsk_buff_xdp_get_dma(struct xdp_buff *xdp) in xsk_buff_xdp_get_dma()
68 static inline dma_addr_t xsk_buff_xdp_get_frame_dma(struct xdp_buff *xdp) in xsk_buff_xdp_get_frame_dma()
92 static inline dma_addr_t xsk_buff_raw_get_dma(struct xsk_buff_pool *pool, in xsk_buff_raw_get_dma()
114 dma_addr_t dma, in xsk_buff_raw_dma_sync_for_device()
200 static inline dma_addr_t xsk_buff_xdp_get_dma(struct xdp_buff *xdp) in xsk_buff_xdp_get_dma()
205 static inline dma_addr_t xsk_buff_xdp_get_frame_dma(struct xdp_buff *xdp) in xsk_buff_xdp_get_frame_dma()
224 static inline dma_addr_t xsk_buff_raw_get_dma(struct xsk_buff_pool *pool, in xsk_buff_raw_get_dma()
240 dma_addr_t dma, in xsk_buff_raw_dma_sync_for_device()
Dpage_pool.h223 (sizeof(dma_addr_t) > sizeof(unsigned long))
225 static inline dma_addr_t page_pool_get_dma_addr(struct page *page) in page_pool_get_dma_addr()
227 dma_addr_t ret = page->dma_addr; in page_pool_get_dma_addr()
230 ret |= (dma_addr_t)page->dma_addr_upper << 16 << 16; in page_pool_get_dma_addr()
235 static inline void page_pool_set_dma_addr(struct page *page, dma_addr_t addr) in page_pool_set_dma_addr()
/include/linux/mailbox/
Dbrcm-message.h25 dma_addr_t cmd_dma_addr;
32 dma_addr_t resp;
34 dma_addr_t data;
/include/soc/fsl/
Ddpaa2-fd.h103 static inline dma_addr_t dpaa2_fd_get_addr(const struct dpaa2_fd *fd) in dpaa2_fd_get_addr()
105 return (dma_addr_t)le64_to_cpu(fd->simple.addr); in dpaa2_fd_get_addr()
113 static inline void dpaa2_fd_set_addr(struct dpaa2_fd *fd, dma_addr_t addr) in dpaa2_fd_set_addr()
166 static inline dma_addr_t dpaa2_fd_get_flc(const struct dpaa2_fd *fd) in dpaa2_fd_get_flc()
168 return (dma_addr_t)le64_to_cpu(fd->simple.flc); in dpaa2_fd_get_flc()
176 static inline void dpaa2_fd_set_flc(struct dpaa2_fd *fd, dma_addr_t flc_addr) in dpaa2_fd_set_flc()
309 static inline dma_addr_t dpaa2_sg_get_addr(const struct dpaa2_sg_entry *sg) in dpaa2_sg_get_addr()
311 return (dma_addr_t)le64_to_cpu(sg->addr); in dpaa2_sg_get_addr()
319 static inline void dpaa2_sg_set_addr(struct dpaa2_sg_entry *sg, dma_addr_t addr) in dpaa2_sg_set_addr()
479 static inline dma_addr_t dpaa2_fl_get_addr(const struct dpaa2_fl_entry *fle) in dpaa2_fl_get_addr()
[all …]
/include/soc/tegra/
Divc.h20 dma_addr_t phys;
95 dma_addr_t rx_phys, void *tx, dma_addr_t tx_phys,
/include/media/
Dvideobuf2-dma-contig.h19 static inline dma_addr_t
22 dma_addr_t *addr = vb2_plane_cookie(vb, plane_no); in vb2_dma_contig_plane_dma_addr()
Dvideobuf-dma-sg.h54 dma_addr_t *dma_addr;
58 dma_addr_t bus_addr;
/include/xen/
Dswiotlb-xen.h8 void xen_dma_sync_for_cpu(struct device *dev, dma_addr_t handle,
10 void xen_dma_sync_for_device(struct device *dev, dma_addr_t handle,
/include/linux/soc/nxp/
Dlpc32xx-misc.h15 extern u32 lpc32xx_return_iram(void __iomem **mapbase, dma_addr_t *dmaaddr);
19 static inline u32 lpc32xx_return_iram(void __iomem **mapbase, dma_addr_t *dmaaddr) in lpc32xx_return_iram()
/include/xen/arm/
Dpage-coherent.h9 dma_addr_t *dma_handle, gfp_t flags, unsigned long attrs) in xen_alloc_coherent_pages()
15 void *cpu_addr, dma_addr_t dma_handle, unsigned long attrs) in xen_free_coherent_pages()
/include/linux/qed/
Dqed_fcoe_if.h38 dma_addr_t sq_pbl_addr;
39 dma_addr_t sq_curr_page_addr;
40 dma_addr_t sq_next_page_addr;
146 u32 handle, dma_addr_t terminate_params);
Dqed_ll2_if.h82 dma_addr_t rx_buf_addr;
115 dma_addr_t rx_buf_addr,
122 dma_addr_t first_frag_addr,
130 dma_addr_t first_frag_addr,
174 dma_addr_t first_frag;
/include/trace/hooks/
Diommu.h25 TP_PROTO(struct device *dev, struct iova_domain *iovad, dma_addr_t iova, size_t size),
29 TP_PROTO(struct iova_domain *iovad, dma_addr_t iova, size_t size),

12345