/include/linux/ |
D | dma-direct.h | 22 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 …]
|
D | dma-mapping.h | 91 #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 …]
|
D | dmapool.h | 27 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()
|
D | dma-map-ops.h | 27 dma_addr_t *dma_handle, gfp_t gfp, 30 dma_addr_t dma_handle, unsigned long attrs); 32 dma_addr_t *dma_handle, enum dma_data_direction dir, 35 dma_addr_t dma_handle, enum dma_data_direction dir); 42 void *, dma_addr_t, size_t, unsigned long attrs); 45 void *cpu_addr, dma_addr_t dma_addr, size_t size, 48 dma_addr_t (*map_page)(struct device *dev, struct page *page, 51 void (*unmap_page)(struct device *dev, dma_addr_t dma_handle, 63 dma_addr_t (*map_resource)(struct device *dev, phys_addr_t phys_addr, 66 void (*unmap_resource)(struct device *dev, dma_addr_t dma_handle, [all …]
|
D | pch_dma.h | 20 dma_addr_t tx_reg; 21 dma_addr_t rx_reg;
|
D | shdma-base.h | 95 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);
|
D | genalloc.h | 157 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);
|
D | iova.h | 61 static inline size_t iova_offset(struct iova_domain *iovad, dma_addr_t iova) in iova_offset() 71 static inline dma_addr_t iova_dma_addr(struct iova_domain *iovad, struct iova *iova) in iova_dma_addr() 73 return (dma_addr_t)iova->pfn_lo << iova_shift(iovad); in iova_dma_addr() 76 static inline unsigned long iova_pfn(struct iova_domain *iovad, dma_addr_t iova) in iova_pfn()
|
D | nvme-fc-driver.h | 55 dma_addr_t rqstdma; 58 dma_addr_t rspdma; 122 dma_addr_t rspdma; 211 dma_addr_t cmddma; 212 dma_addr_t rspdma; 702 dma_addr_t rspdma;
|
/include/linux/soc/ti/ |
D | knav_qmss.h | 66 dma_addr_t knav_queue_pop(void *qhandle, unsigned *size); 67 int knav_queue_push(void *qhandle, dma_addr_t dma, 77 dma_addr_t *dma, unsigned *dma_sz); 78 void *knav_pool_desc_unmap(void *ph, dma_addr_t dma, unsigned dma_sz); 79 dma_addr_t knav_pool_desc_virt_to_dma(void *ph, void *virt); 80 void *knav_pool_desc_dma_to_virt(void *ph, dma_addr_t dma);
|
/include/linux/dma/ |
D | k3-udma-glue.h | 32 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/soc/fsl/ |
D | dpaa2-fd.h | 104 static inline dma_addr_t dpaa2_fd_get_addr(const struct dpaa2_fd *fd) in dpaa2_fd_get_addr() 106 return (dma_addr_t)le64_to_cpu(fd->simple.addr); in dpaa2_fd_get_addr() 114 static inline void dpaa2_fd_set_addr(struct dpaa2_fd *fd, dma_addr_t addr) in dpaa2_fd_set_addr() 167 static inline dma_addr_t dpaa2_fd_get_flc(const struct dpaa2_fd *fd) in dpaa2_fd_get_flc() 169 return (dma_addr_t)le64_to_cpu(fd->simple.flc); in dpaa2_fd_get_flc() 177 static inline void dpaa2_fd_set_flc(struct dpaa2_fd *fd, dma_addr_t flc_addr) in dpaa2_fd_set_flc() 310 static inline dma_addr_t dpaa2_sg_get_addr(const struct dpaa2_sg_entry *sg) in dpaa2_sg_get_addr() 312 return (dma_addr_t)le64_to_cpu(sg->addr); in dpaa2_sg_get_addr() 320 static inline void dpaa2_sg_set_addr(struct dpaa2_sg_entry *sg, dma_addr_t addr) in dpaa2_sg_set_addr() 480 static inline dma_addr_t dpaa2_fl_get_addr(const struct dpaa2_fl_entry *fle) in dpaa2_fl_get_addr() [all …]
|
/include/linux/mailbox/ |
D | brcm-message.h | 25 dma_addr_t cmd_dma_addr; 32 dma_addr_t resp; 34 dma_addr_t data;
|
/include/soc/tegra/ |
D | ivc.h | 20 dma_addr_t phys; 95 dma_addr_t rx_phys, void *tx, dma_addr_t tx_phys,
|
/include/net/ |
D | xsk_buff_pool.h | 24 dma_addr_t dma; 25 dma_addr_t frame_dma; 32 dma_addr_t *dma_pages; 61 dma_addr_t *dma_pages; 119 dma_addr_t *dma_pages, u64 addr) in xp_init_xskb_dma() 135 dma_addr_t xp_raw_get_dma(struct xsk_buff_pool *pool, u64 addr); 136 static inline dma_addr_t xp_get_dma(struct xdp_buff_xsk *xskb) in xp_get_dma() 141 static inline dma_addr_t xp_get_frame_dma(struct xdp_buff_xsk *xskb) in xp_get_frame_dma() 152 void xp_dma_sync_for_device_slow(struct xsk_buff_pool *pool, dma_addr_t dma, 155 dma_addr_t dma, size_t size) in xp_dma_sync_for_device()
|
D | xdp_sock_drv.h | 73 static inline dma_addr_t xsk_buff_xdp_get_dma(struct xdp_buff *xdp) in xsk_buff_xdp_get_dma() 80 static inline dma_addr_t xsk_buff_xdp_get_frame_dma(struct xdp_buff *xdp) in xsk_buff_xdp_get_frame_dma() 117 static inline dma_addr_t xsk_buff_raw_get_dma(struct xsk_buff_pool *pool, in xsk_buff_raw_get_dma() 139 dma_addr_t dma, in xsk_buff_raw_dma_sync_for_device() 229 static inline dma_addr_t xsk_buff_xdp_get_dma(struct xdp_buff *xdp) in xsk_buff_xdp_get_dma() 234 static inline dma_addr_t xsk_buff_xdp_get_frame_dma(struct xdp_buff *xdp) in xsk_buff_xdp_get_frame_dma() 266 static inline dma_addr_t xsk_buff_raw_get_dma(struct xsk_buff_pool *pool, in xsk_buff_raw_get_dma() 282 dma_addr_t dma, in xsk_buff_raw_dma_sync_for_device()
|
/include/xen/ |
D | swiotlb-xen.h | 8 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/media/ |
D | videobuf2-dma-contig.h | 19 static inline dma_addr_t 22 dma_addr_t *addr = vb2_plane_cookie(vb, plane_no); in vb2_dma_contig_plane_dma_addr()
|
D | videobuf-dma-sg.h | 54 dma_addr_t *dma_addr; 58 dma_addr_t bus_addr;
|
/include/linux/soc/nxp/ |
D | lpc32xx-misc.h | 15 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/linux/mtd/ |
D | nand-ecc-mxic.h | 23 unsigned int direction, dma_addr_t dirmap); 42 dma_addr_t dirmap) in mxic_ecc_process_data_pipelined()
|
/include/linux/qed/ |
D | qed_fcoe_if.h | 38 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);
|
D | qed_ll2_if.h | 82 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/events/ |
D | swiotlb.h | 11 TP_PROTO(struct device *dev, dma_addr_t dev_addr, size_t size), 17 __field(dma_addr_t, dev_addr)
|
/include/video/ |
D | imx-ipu-image-convert.h | 25 dma_addr_t in_phys; 26 dma_addr_t out_phys;
|