/linux/include/linux/ |
A D | dma-mapping.h | 74 #define DMA_MAPPING_ERROR (~(dma_addr_t)0) 84 dma_addr_t dma_addr) in debug_dma_mapping_error() 130 dma_addr_t dma_handle, unsigned long attrs); 134 dma_addr_t dma_handle); 221 dma_addr_t dma_handle, unsigned long attrs) in dma_free_attrs() 230 void *vaddr, dma_addr_t dma_handle) in dmam_free_coherent() 416 dma_addr_t *dma_handle, gfp_t gfp) in dma_alloc_coherent() 423 void *cpu_addr, dma_addr_t dma_handle) in dma_free_coherent() 550 dma_addr_t *dma_handle, gfp_t gfp) in dmam_alloc_coherent() 557 dma_addr_t *dma_addr, gfp_t gfp) in dma_alloc_wc() [all …]
|
A 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() 102 dma_addr_t end = addr + size - 1; in dma_capable() 117 dma_addr_t dma_addr, unsigned long attrs); 119 dma_addr_t *dma_handle, enum dma_data_direction dir, gfp_t gfp); 121 struct page *page, dma_addr_t dma_addr, [all …]
|
A D | dma-map-ops.h | 16 dma_addr_t *dma_handle, gfp_t gfp, 19 dma_addr_t dma_handle, unsigned long attrs); 31 void *, dma_addr_t, size_t, unsigned long attrs); 34 void *cpu_addr, dma_addr_t dma_addr, size_t size, 61 dma_addr_t dma_handle, size_t size, 168 dma_addr_t device_addr, size_t size); 170 dma_addr_t *dma_handle, void **ret); 187 dma_addr_t *dma_handle); 194 ssize_t size, dma_addr_t *dma_handle) in dma_alloc_from_global_coherent() 247 dma_addr_t dma_start, u64 size); [all …]
|
A 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()
|
/linux/arch/alpha/kernel/ |
A 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); 62 extern void mcpcia_pci_tbi(struct pci_controller *, dma_addr_t, dma_addr_t); 77 extern void t2_pci_tbi(struct pci_controller *, dma_addr_t, dma_addr_t); 84 extern void titan_pci_tbi(struct pci_controller *, dma_addr_t, dma_addr_t); 92 extern void tsunami_pci_tbi(struct pci_controller *, dma_addr_t, dma_addr_t); 99 extern void wildfire_pci_tbi(struct pci_controller *, dma_addr_t, dma_addr_t);
|
/linux/kernel/dma/ |
A D | debug.h | 14 int direction, dma_addr_t dma_addr, 28 dma_addr_t dma_addr, void *virt, 32 void *virt, dma_addr_t addr); 36 dma_addr_t dma_addr, 43 dma_addr_t dma_handle, size_t size, 47 dma_addr_t dma_handle, 83 dma_addr_t dma_addr, void *virt, in debug_dma_alloc_coherent() 89 void *virt, dma_addr_t addr) in debug_dma_free_coherent() 95 dma_addr_t dma_addr, in debug_dma_map_resource() 107 dma_addr_t dma_handle, in debug_dma_sync_single_for_cpu() [all …]
|
/linux/drivers/crypto/caam/ |
A 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 …]
|
A 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;
|
/linux/drivers/crypto/keembay/ |
A D | ocs-aes.h | 63 dma_addr_t dma_addr; 74 dma_addr_t dst_dma_list, 75 dma_addr_t src_dma_list, 89 dma_addr_t dst_dma_list, in ocs_aes_bypass_op() 90 dma_addr_t src_dma_list, u32 src_size) in ocs_aes_bypass_op() 99 dma_addr_t dst_dma_list, 100 dma_addr_t src_dma_list, 103 dma_addr_t aad_dma_list, 111 dma_addr_t dst_dma_list, 112 dma_addr_t src_dma_list, [all …]
|
/linux/arch/mips/cavium-octeon/ |
A 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() 88 static dma_addr_t octeon_big_phys_to_dma(struct device *dev, phys_addr_t paddr) in octeon_big_phys_to_dma() 115 static dma_addr_t octeon_small_phys_to_dma(struct device *dev, in octeon_small_phys_to_dma() 131 dma_addr_t daddr) in octeon_small_dma_to_phys() 171 dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) in phys_to_dma() [all …]
|
/linux/drivers/crypto/hisilicon/sec2/ |
A D | sec.h | 13 dma_addr_t pbuf_dma; 15 dma_addr_t c_ivin_dma; 17 dma_addr_t a_ivin_dma; 19 dma_addr_t out_mac_dma; 25 dma_addr_t c_out_dma; 27 dma_addr_t c_ivin_dma; 35 dma_addr_t out_mac_dma; 37 dma_addr_t a_ivin_dma; 54 dma_addr_t in_dma; 89 dma_addr_t a_key_dma; [all …]
|
/linux/include/linux/dma/ |
A 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);
|
/linux/drivers/scsi/bnx2fc/ |
A D | bnx2fc.h | 322 dma_addr_t sq_dma; 328 dma_addr_t cq_dma; 334 dma_addr_t rq_dma; 340 dma_addr_t rq_pbl_dma; 344 dma_addr_t xferq_dma; 348 dma_addr_t confq_dma; 356 dma_addr_t conn_db_dma; 360 dma_addr_t lcq_dma; 366 dma_addr_t enbl_req_dma; 393 dma_addr_t req_buf_dma; [all …]
|
/linux/drivers/staging/media/sunxi/cedrus/ |
A D | cedrus.h | 126 dma_addr_t mv_col_buf_dma; 130 dma_addr_t pic_info_buf_dma; 133 dma_addr_t neighbor_info_buf_dma; 135 dma_addr_t deblk_buf_dma; 138 dma_addr_t intra_pred_buf_dma; 143 dma_addr_t mv_col_buf_addr; 147 dma_addr_t neighbor_info_buf_addr; 155 dma_addr_t entropy_probs_buf_dma; 222 static inline dma_addr_t cedrus_buf_addr(struct vb2_buffer *buf, in cedrus_buf_addr() 226 dma_addr_t addr = vb2_dma_contig_plane_dma_addr(buf, 0); in cedrus_buf_addr() [all …]
|
/linux/arch/arm/include/asm/ |
A 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()
|
/linux/include/soc/fsl/ |
A 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() 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() 481 return (dma_addr_t)le64_to_cpu(fle->addr); in dpaa2_fl_get_addr() 490 dma_addr_t addr) in dpaa2_fl_set_addr() 545 return (dma_addr_t)le64_to_cpu(fle->flc); in dpaa2_fl_get_flc() [all …]
|
/linux/drivers/dma/ioat/ |
A 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; 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, 378 ioat_prep_pqxor(struct dma_chan *chan, dma_addr_t dst, dma_addr_t *src, [all …]
|
A D | prep.c | 107 dma_addr_t dst = dma_dest; in ioat_dma_prep_memcpy_lock() 108 dma_addr_t src = dma_src; in ioat_dma_prep_memcpy_lock() 153 dma_addr_t dest, dma_addr_t *src, unsigned int src_cnt, in __ioat_prep_xor_lock() 245 ioat_prep_xor(struct dma_chan *chan, dma_addr_t dest, dma_addr_t *src, in ioat_prep_xor() 340 const dma_addr_t *dst, const dma_addr_t *src, in __ioat_prep_pq_lock() 464 const dma_addr_t *dst, const dma_addr_t *src, in __ioat_prep_pq16_lock() 574 ioat_prep_pq(struct dma_chan *chan, dma_addr_t *dst, dma_addr_t *src, in ioat_prep_pq() 619 ioat_prep_pq_val(struct dma_chan *chan, dma_addr_t *pq, dma_addr_t *src, in ioat_prep_pq_val() 647 ioat_prep_pqxor(struct dma_chan *chan, dma_addr_t dst, dma_addr_t *src, in ioat_prep_pqxor() 651 dma_addr_t pq[2]; in ioat_prep_pqxor() [all …]
|
/linux/drivers/crypto/ccree/ |
A 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 */
|
/linux/drivers/scsi/megaraid/ |
A 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;
|
/linux/include/linux/soc/ti/ |
A 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);
|
/linux/drivers/net/wireless/ath/ath10k/ |
A 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 …]
|
/linux/drivers/net/ethernet/cisco/enic/ |
A 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);
|
/linux/drivers/dma/ |
A D | ste_dma40_ll.c | 133 dma_addr_t data, in d40_phy_fill_lli() 135 dma_addr_t next_lli, in d40_phy_fill_lli() 213 dma_addr_t lli_phys, dma_addr_t first_phys, u32 reg_cfg, in d40_phy_buf_to_lli() 223 dma_addr_t next = lli_phys; in d40_phy_buf_to_lli() 267 dma_addr_t target, in d40_phy_sg_to_lli() 269 dma_addr_t lli_phys, in d40_phy_sg_to_lli() 279 dma_addr_t l_phys = lli_phys; in d40_phy_sg_to_lli() 287 dma_addr_t dst = target ?: sg_addr; in d40_phy_sg_to_lli() 362 dma_addr_t data, u32 data_size, in d40_log_fill_lli() 388 dma_addr_t addr, in d40_log_buf_to_lli() [all …]
|
/linux/drivers/net/ethernet/altera/ |
A D | altera_sgdma.c | 14 dma_addr_t ndesc_phys, 15 dma_addr_t raddr, 16 dma_addr_t waddr, 27 static dma_addr_t 31 static dma_addr_t 66 priv->rxdescphys = (dma_addr_t) 0; in sgdma_initialize() 295 dma_addr_t ndesc_phys, in sgdma_setup_descrip() 296 dma_addr_t raddr, in sgdma_setup_descrip() 297 dma_addr_t waddr, in sgdma_setup_descrip() 405 static dma_addr_t [all …]
|