/kernel/linux/linux-5.10/include/linux/ |
D | dma-mapping.h | 74 #define DMA_MAPPING_ERROR (~(dma_addr_t)0) 79 void debug_dma_mapping_error(struct device *dev, dma_addr_t dma_addr); 84 dma_addr_t dma_addr) in debug_dma_mapping_error() 94 static inline int dma_mapping_error(struct device *dev, dma_addr_t dma_addr) in dma_mapping_error() 103 dma_addr_t dma_map_page_attrs(struct device *dev, struct page *page, 106 void dma_unmap_page_attrs(struct device *dev, dma_addr_t addr, size_t size, 113 dma_addr_t dma_map_resource(struct device *dev, phys_addr_t phys_addr, 115 void dma_unmap_resource(struct device *dev, dma_addr_t addr, size_t size, 117 void dma_sync_single_for_cpu(struct device *dev, dma_addr_t addr, size_t size, 119 void dma_sync_single_for_device(struct device *dev, dma_addr_t addr, [all …]
|
D | dma-direct.h | 22 dma_addr_t dma_start; 27 static inline dma_addr_t translate_phys_to_dma(struct device *dev, in translate_phys_to_dma() 34 return (dma_addr_t)paddr - m->offset; in translate_phys_to_dma() 41 dma_addr_t dma_addr) in translate_dma_to_phys() 58 static inline dma_addr_t phys_to_dma_unencrypted(struct device *dev, in phys_to_dma_unencrypted() 72 static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) in phys_to_dma() 77 static inline phys_addr_t dma_to_phys(struct device *dev, dma_addr_t dma_addr) in dma_to_phys() 99 static inline bool dma_capable(struct device *dev, dma_addr_t addr, size_t size, in dma_capable() 102 dma_addr_t end = addr + size - 1; in dma_capable() 114 void *dma_direct_alloc(struct device *dev, size_t size, dma_addr_t *dma_handle, [all …]
|
D | dma-map-ops.h | 16 dma_addr_t *dma_handle, gfp_t gfp, 19 dma_addr_t dma_handle, unsigned long attrs); 21 dma_addr_t *dma_handle, enum dma_data_direction dir, 24 dma_addr_t dma_handle, enum dma_data_direction dir); 26 dma_addr_t *dma_handle, enum dma_data_direction dir, 29 dma_addr_t dma_handle, enum dma_data_direction dir); 31 void *, dma_addr_t, size_t, unsigned long attrs); 34 void *cpu_addr, dma_addr_t dma_addr, size_t size, 37 dma_addr_t (*map_page)(struct device *dev, struct page *page, 40 void (*unmap_page)(struct device *dev, dma_addr_t dma_handle, [all …]
|
D | pci-dma-compat.h | 18 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()
|
/kernel/linux/linux-5.10/kernel/dma/ |
D | debug.h | 14 int direction, dma_addr_t dma_addr); 16 extern void debug_dma_unmap_page(struct device *dev, dma_addr_t addr, 26 dma_addr_t dma_addr, void *virt); 29 void *virt, dma_addr_t addr); 33 dma_addr_t dma_addr); 35 extern void debug_dma_unmap_resource(struct device *dev, dma_addr_t dma_addr, 39 dma_addr_t dma_handle, size_t size, 43 dma_addr_t dma_handle, 56 int direction, dma_addr_t dma_addr) in debug_dma_map_page() 60 static inline void debug_dma_unmap_page(struct device *dev, dma_addr_t addr, in debug_dma_unmap_page() [all …]
|
/kernel/linux/linux-5.10/arch/alpha/kernel/ |
D | proto.h | 23 extern void apecs_pci_tbi(struct pci_controller *, dma_addr_t, dma_addr_t); 32 extern void cia_pci_tbi(struct pci_controller *, dma_addr_t, dma_addr_t); 44 extern void lca_pci_tbi(struct pci_controller *, dma_addr_t, dma_addr_t); 51 extern void marvel_pci_tbi(struct pci_controller *, dma_addr_t, dma_addr_t); 66 extern void mcpcia_pci_tbi(struct pci_controller *, dma_addr_t, dma_addr_t); 81 extern void t2_pci_tbi(struct pci_controller *, dma_addr_t, dma_addr_t); 88 extern void titan_pci_tbi(struct pci_controller *, dma_addr_t, dma_addr_t); 96 extern void tsunami_pci_tbi(struct pci_controller *, dma_addr_t, dma_addr_t); 103 extern void wildfire_pci_tbi(struct pci_controller *, dma_addr_t, dma_addr_t);
|
/kernel/linux/linux-5.10/drivers/crypto/caam/ |
D | pdb.h | 510 dma_addr_t f_dma; 511 dma_addr_t g_dma; 512 dma_addr_t n_dma; 513 dma_addr_t e_dma; 529 dma_addr_t g_dma; 530 dma_addr_t f_dma; 531 dma_addr_t n_dma; 532 dma_addr_t d_dma; 553 dma_addr_t g_dma; 554 dma_addr_t f_dma; [all …]
|
D | caamalg_qi2.h | 62 dma_addr_t cscn_dma; 113 dma_addr_t iv_dma; 115 dma_addr_t qm_sg_dma; 117 dma_addr_t assoclen_dma; 133 dma_addr_t iv_dma; 135 dma_addr_t qm_sg_dma; 147 dma_addr_t qm_sg_dma; 184 dma_addr_t fd_flt_dma; 186 dma_addr_t flc_dma;
|
/kernel/linux/linux-5.10/drivers/dma/ |
D | coh901318.h | 37 dma_addr_t src_addr; 38 dma_addr_t dst_addr; 39 dma_addr_t link_addr; 42 dma_addr_t phy_this; 97 dma_addr_t src, unsigned int size, 98 dma_addr_t dst, u32 ctrl_chained, u32 ctrl_last); 115 dma_addr_t buf, unsigned int size, 116 dma_addr_t dev_addr, u32 ctrl_chained, u32 ctrl_last, 137 dma_addr_t dev_addr, u32 ctrl_chained,
|
D | coh901318_lli.c | 61 dma_addr_t phy; in coh901318_lli_alloc() 144 dma_addr_t source, unsigned int size, in coh901318_lli_fill_memcpy() 145 dma_addr_t destination, u32 ctrl_chained, in coh901318_lli_fill_memcpy() 149 dma_addr_t src = source; in coh901318_lli_fill_memcpy() 150 dma_addr_t dst = destination; in coh901318_lli_fill_memcpy() 177 dma_addr_t buf, unsigned int size, in coh901318_lli_fill_single() 178 dma_addr_t dev_addr, u32 ctrl_chained, u32 ctrl_eom, in coh901318_lli_fill_single() 182 dma_addr_t src; in coh901318_lli_fill_single() 183 dma_addr_t dst; in coh901318_lli_fill_single() 234 dma_addr_t dev_addr, u32 ctrl_chained, u32 ctrl, in coh901318_lli_fill_sg() [all …]
|
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/ |
D | dma-octeon.c | 31 dma_addr_t (*phys_to_dma)(struct device *dev, phys_addr_t paddr); 32 phys_addr_t (*dma_to_phys)(struct device *dev, dma_addr_t daddr); 35 static dma_addr_t octeon_hole_phys_to_dma(phys_addr_t paddr) in octeon_hole_phys_to_dma() 43 static phys_addr_t octeon_hole_dma_to_phys(dma_addr_t daddr) in octeon_hole_dma_to_phys() 51 static dma_addr_t octeon_gen1_phys_to_dma(struct device *dev, phys_addr_t paddr) in octeon_gen1_phys_to_dma() 58 static phys_addr_t octeon_gen1_dma_to_phys(struct device *dev, dma_addr_t daddr) in octeon_gen1_dma_to_phys() 73 static dma_addr_t octeon_gen2_phys_to_dma(struct device *dev, phys_addr_t paddr) in octeon_gen2_phys_to_dma() 78 static phys_addr_t octeon_gen2_dma_to_phys(struct device *dev, dma_addr_t daddr) in octeon_gen2_dma_to_phys() 88 static dma_addr_t octeon_big_phys_to_dma(struct device *dev, phys_addr_t paddr) in octeon_big_phys_to_dma() 100 static phys_addr_t octeon_big_dma_to_phys(struct device *dev, dma_addr_t daddr) in octeon_big_dma_to_phys() [all …]
|
/kernel/linux/linux-5.10/arch/arm/include/asm/ |
D | dma-direct.h | 12 static inline dma_addr_t pfn_to_dma(struct device *dev, unsigned long pfn) in pfn_to_dma() 16 return (dma_addr_t)__pfn_to_bus(pfn); in pfn_to_dma() 19 static inline unsigned long dma_to_pfn(struct device *dev, dma_addr_t addr) in dma_to_pfn() 28 static inline dma_addr_t virt_to_dma(struct device *dev, void *addr) in virt_to_dma() 33 return (dma_addr_t)__virt_to_bus((unsigned long)(addr)); in virt_to_dma() 36 static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) in phys_to_dma() 42 static inline phys_addr_t dma_to_phys(struct device *dev, dma_addr_t dev_addr) in dma_to_phys()
|
/kernel/linux/linux-5.10/drivers/staging/media/sunxi/cedrus/ |
D | cedrus.h | 115 dma_addr_t mv_col_buf_dma; 119 dma_addr_t pic_info_buf_dma; 122 dma_addr_t neighbor_info_buf_dma; 124 dma_addr_t deblk_buf_dma; 127 dma_addr_t intra_pred_buf_dma; 132 dma_addr_t mv_col_buf_addr; 136 dma_addr_t neighbor_info_buf_addr; 195 static inline dma_addr_t cedrus_buf_addr(struct vb2_buffer *buf, in cedrus_buf_addr() 199 dma_addr_t addr = vb2_dma_contig_plane_dma_addr(buf, 0); in cedrus_buf_addr() 201 return addr + (pix_fmt ? (dma_addr_t)pix_fmt->bytesperline * in cedrus_buf_addr() [all …]
|
/kernel/linux/linux-5.10/drivers/scsi/bnx2fc/ |
D | bnx2fc.h | 214 dma_addr_t *task_ctx_dma; 216 dma_addr_t task_ctx_bd_dma; 221 dma_addr_t hash_tbl_pbl_dma; 223 dma_addr_t t2_hash_tbl_dma; 225 dma_addr_t t2_hash_tbl_ptr_dma; 228 dma_addr_t dummy_buf_dma; 237 dma_addr_t stats_buf_dma; 323 dma_addr_t sq_dma; 329 dma_addr_t cq_dma; 335 dma_addr_t rq_dma; [all …]
|
/kernel/linux/linux-5.10/include/linux/soc/ti/ |
D | knav_qmss.h | 74 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);
|
/kernel/linux/linux-5.10/drivers/crypto/ccree/ |
D | cc_aead.h | 70 dma_addr_t mac_buf_dma_addr; /* internal ICV DMA buffer */ 72 dma_addr_t ccm_iv0_dma_addr; 73 dma_addr_t icv_dma_addr; /* Phys. address of ICV */ 77 dma_addr_t gcm_iv_inc1_dma_addr; 79 dma_addr_t gcm_iv_inc2_dma_addr; 80 dma_addr_t hkey_dma_addr; /* Phys. address of hkey */ 81 dma_addr_t gcm_block_len_dma_addr; /* Phys. address of gcm block len */
|
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/sec2/ |
D | sec.h | 13 dma_addr_t pbuf_dma; 15 dma_addr_t c_ivin_dma; 17 dma_addr_t out_mac_dma; 23 dma_addr_t c_in_dma; 25 dma_addr_t c_out_dma; 27 dma_addr_t c_ivin_dma; 35 dma_addr_t out_mac_dma; 79 dma_addr_t a_key_dma; 90 dma_addr_t c_key_dma;
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | intel_iommu.h | 20 TP_PROTO(struct device *dev, dma_addr_t dev_addr, phys_addr_t phys_addr, 27 __field(dma_addr_t, dev_addr) 47 TP_PROTO(struct device *dev, dma_addr_t dev_addr, phys_addr_t phys_addr, 53 TP_PROTO(struct device *dev, dma_addr_t dev_addr, phys_addr_t phys_addr, 59 TP_PROTO(struct device *dev, dma_addr_t dev_addr, size_t size), 65 __field(dma_addr_t, dev_addr) 82 TP_PROTO(struct device *dev, dma_addr_t dev_addr, size_t size), 87 TP_PROTO(struct device *dev, dma_addr_t dev_addr, size_t size), 92 TP_PROTO(struct device *dev, dma_addr_t dev_addr, size_t size), 104 __field(dma_addr_t, dev_addr)
|
/kernel/linux/linux-5.10/drivers/scsi/megaraid/ |
D | megaraid_mbox.h | 132 dma_addr_t mbox_dma_h; 135 dma_addr_t sgl_dma_h; 137 dma_addr_t pthru_dma_h; 139 dma_addr_t epthru_dma_h; 140 dma_addr_t buf_dma_h; 186 dma_addr_t una_mbox64_dma; 189 dma_addr_t mbox_dma; 212 dma_addr_t sysfs_buffer_dma;
|
/kernel/linux/linux-5.10/include/soc/fsl/ |
D | dpaa2-fd.h | 103 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 …]
|
/kernel/linux/linux-5.10/drivers/dma/ioat/ |
D | dma.h | 91 dma_addr_t hw; 97 dma_addr_t last_completion; 109 dma_addr_t completion_dma; 155 dma_addr_t dma; 358 ioat_dma_prep_memcpy_lock(struct dma_chan *c, dma_addr_t dma_dest, 359 dma_addr_t dma_src, size_t len, unsigned long flags); 363 ioat_prep_xor(struct dma_chan *chan, dma_addr_t dest, dma_addr_t *src, 366 ioat_prep_xor_val(struct dma_chan *chan, dma_addr_t *src, 370 ioat_prep_pq(struct dma_chan *chan, dma_addr_t *dst, dma_addr_t *src, 374 ioat_prep_pq_val(struct dma_chan *chan, dma_addr_t *pq, dma_addr_t *src, [all …]
|
/kernel/linux/linux-5.10/include/net/ |
D | xsk_buff_pool.h | 23 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()
|
/kernel/linux/linux-5.10/drivers/net/vmxnet3/ |
D | vmxnet3_int.h | 136 dma_addr_t basePA; 168 dma_addr_t basePA; 184 dma_addr_t basePA; 198 dma_addr_t dma_addr; 243 dma_addr_t buf_info_pa; 268 dma_addr_t dma_addr; 285 dma_addr_t basePA; 301 dma_addr_t buf_info_pa; 364 dma_addr_t shared_pa; 365 dma_addr_t queue_desc_pa; [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/ |
D | ce.h | 96 dma_addr_t base_addr_ce_space_unaligned; 107 dma_addr_t base_addr_ce_space; 153 dma_addr_t paddr_rri; 176 dma_addr_t buffer, 184 dma_addr_t buffer, 197 dma_addr_t paddr); 238 dma_addr_t *bufferp); 251 dma_addr_t *bufferp, 313 dma_addr_t paddr); 319 dma_addr_t *nbytesp); [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/cisco/enic/ |
D | enic_res.h | 44 void *os_buf, dma_addr_t dma_addr, unsigned int len, in enic_queue_wq_desc_ex() 70 void *os_buf, dma_addr_t dma_addr, unsigned int len, in enic_queue_wq_desc_cont() 79 dma_addr_t dma_addr, unsigned int len, int vlan_tag_insert, in enic_queue_wq_desc() 89 void *os_buf, dma_addr_t dma_addr, unsigned int len, in enic_queue_wq_desc_csum() 101 void *os_buf, dma_addr_t dma_addr, unsigned int len, in enic_queue_wq_desc_csum_l4() 112 void *os_buf, dma_addr_t dma_addr, unsigned int len, in enic_queue_wq_desc_tso() 124 dma_addr_t dma_addr, unsigned int len) in enic_queue_rq_desc() 146 int enic_set_rss_key(struct enic *enic, dma_addr_t key_pa, u64 len); 147 int enic_set_rss_cpu(struct enic *enic, dma_addr_t cpu_pa, u64 len);
|