| /OK3568_Linux_fs/kernel/scripts/coccinelle/api/alloc/ |
| H A D | alloc_cast.cocci | 36 dma_alloc_coherent\|devm_kmalloc\|devm_kzalloc\| 59 dma_alloc_coherent\|devm_kmalloc\|devm_kzalloc\| 82 dma_alloc_coherent\|devm_kmalloc\|devm_kzalloc\| 99 dma_alloc_coherent\|devm_kmalloc\|devm_kzalloc\|
|
| /OK3568_Linux_fs/kernel/drivers/crypto/qat/qat_common/ |
| H A D | qat_asym_algs.c | 290 qat_req->src_align = dma_alloc_coherent(dev, in qat_dh_compute_value() 318 qat_req->dst_align = dma_alloc_coherent(dev, ctx->p_size, in qat_dh_compute_value() 405 ctx->p = dma_alloc_coherent(dev, ctx->p_size, &ctx->dma_p, GFP_KERNEL); in qat_dh_set_params() 416 ctx->g = dma_alloc_coherent(dev, ctx->p_size, &ctx->dma_g, GFP_KERNEL); in qat_dh_set_params() 461 ctx->xa = dma_alloc_coherent(dev, ctx->p_size, &ctx->dma_xa, in qat_dh_set_secret() 695 qat_req->src_align = dma_alloc_coherent(dev, ctx->key_sz, in qat_rsa_enc() 714 qat_req->dst_align = dma_alloc_coherent(dev, ctx->key_sz, in qat_rsa_enc() 839 qat_req->src_align = dma_alloc_coherent(dev, ctx->key_sz, in qat_rsa_dec() 858 qat_req->dst_align = dma_alloc_coherent(dev, ctx->key_sz, in qat_rsa_dec() 947 ctx->n = dma_alloc_coherent(dev, ctx->key_sz, &ctx->dma_n, GFP_KERNEL); in qat_rsa_set_n() [all …]
|
| H A D | adf_admin.c | 236 admin->virt_addr = dma_alloc_coherent(&GET_DEV(accel_dev), PAGE_SIZE, in adf_init_admin_comms() 244 admin->virt_tbl_addr = dma_alloc_coherent(&GET_DEV(accel_dev), in adf_init_admin_comms()
|
| /OK3568_Linux_fs/kernel/drivers/scsi/bnx2fc/ |
| H A D | bnx2fc_tgt.c | 674 tgt->sq = dma_alloc_coherent(&hba->pcidev->dev, tgt->sq_mem_size, in bnx2fc_alloc_session_resc() 687 tgt->cq = dma_alloc_coherent(&hba->pcidev->dev, tgt->cq_mem_size, in bnx2fc_alloc_session_resc() 700 tgt->rq = dma_alloc_coherent(&hba->pcidev->dev, tgt->rq_mem_size, in bnx2fc_alloc_session_resc() 712 tgt->rq_pbl = dma_alloc_coherent(&hba->pcidev->dev, tgt->rq_pbl_size, in bnx2fc_alloc_session_resc() 737 tgt->xferq = dma_alloc_coherent(&hba->pcidev->dev, in bnx2fc_alloc_session_resc() 751 tgt->confq = dma_alloc_coherent(&hba->pcidev->dev, in bnx2fc_alloc_session_resc() 765 tgt->confq_pbl = dma_alloc_coherent(&hba->pcidev->dev, in bnx2fc_alloc_session_resc() 789 tgt->conn_db = dma_alloc_coherent(&hba->pcidev->dev, in bnx2fc_alloc_session_resc() 804 tgt->lcq = dma_alloc_coherent(&hba->pcidev->dev, tgt->lcq_mem_size, in bnx2fc_alloc_session_resc()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlwifi/pcie/ |
| H A D | ctxt-info-gen3.c | 155 prph_scratch = dma_alloc_coherent(trans->dev, sizeof(*prph_scratch), in iwl_pcie_ctxt_info_gen3_init() 188 prph_info = dma_alloc_coherent(trans->dev, sizeof(*prph_info), in iwl_pcie_ctxt_info_gen3_init() 197 ctxt_info_gen3 = dma_alloc_coherent(trans->dev, in iwl_pcie_ctxt_info_gen3_init() 236 trans_pcie->iml = dma_alloc_coherent(trans->dev, trans->iml_len, in iwl_pcie_ctxt_info_gen3_init()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/qed/ |
| H A D | qed_chain.c | 207 virt = dma_alloc_coherent(dev, chain->page_size, &phys, in qed_chain_alloc_next_ptr() 238 virt = dma_alloc_coherent(&cdev->pdev->dev, chain->page_size, in qed_chain_alloc_single() 280 pbl_virt = dma_alloc_coherent(dev, size, &pbl_phys, GFP_KERNEL); in qed_chain_alloc_pbl() 290 virt = dma_alloc_coherent(dev, chain->page_size, &phys, in qed_chain_alloc_pbl()
|
| /OK3568_Linux_fs/kernel/drivers/staging/media/meson/vdec/ |
| H A D | codec_h264.c | 174 dma_alloc_coherent(core->dev, SIZE_WORKSPACE, in codec_h264_start() 180 h264->sei_vaddr = dma_alloc_coherent(core->dev, SIZE_SEI, in codec_h264_start() 240 h264->ext_fw_vaddr = dma_alloc_coherent(core->dev, SIZE_EXT_FW, in codec_h264_load_extended_firmware() 304 h264->ref_vaddr = dma_alloc_coherent(core->dev, h264->ref_size, in codec_h264_resume()
|
| H A D | codec_hevc_common.c | 181 void *vaddr = dma_alloc_coherent(dev, am21_size, &paddr, in codec_hevc_alloc_fbc_buffers() 225 comm->mmu_map_vaddr = dma_alloc_coherent(dev, MMU_MAP_SIZE, in codec_hevc_alloc_mmu_headers() 234 void *vaddr = dma_alloc_coherent(dev, MMU_COMPRESS_HEADER_SIZE, in codec_hevc_alloc_mmu_headers()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/qlcnic/ |
| H A D | qlcnic_ctx.c | 265 addr = dma_alloc_coherent(&adapter->pdev->dev, rq_size, in qlcnic_82xx_fw_cmd_create_rx_ctx() 271 addr = dma_alloc_coherent(&adapter->pdev->dev, rsp_size, in qlcnic_82xx_fw_cmd_create_rx_ctx() 436 rq_addr = dma_alloc_coherent(&adapter->pdev->dev, rq_size, in qlcnic_82xx_fw_cmd_create_tx_ctx() 442 rsp_addr = dma_alloc_coherent(&adapter->pdev->dev, rsp_size, in qlcnic_82xx_fw_cmd_create_tx_ctx() 572 ptr = (__le32 *)dma_alloc_coherent(&pdev->dev, sizeof(u32), in qlcnic_alloc_hw_resources() 582 addr = dma_alloc_coherent(&pdev->dev, TX_DESC_RINGSIZE(tx_ring), in qlcnic_alloc_hw_resources() 595 addr = dma_alloc_coherent(&adapter->pdev->dev, in qlcnic_alloc_hw_resources() 609 addr = dma_alloc_coherent(&adapter->pdev->dev, in qlcnic_alloc_hw_resources() 857 nic_info_addr = dma_alloc_coherent(&adapter->pdev->dev, nic_size, in qlcnic_82xx_get_nic_info() 911 nic_info_addr = dma_alloc_coherent(&adapter->pdev->dev, nic_size, in qlcnic_82xx_set_nic_info() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/hid/intel-ish-hid/ishtp/ |
| H A D | dma-if.c | 35 dev->ishtp_host_dma_tx_buf = dma_alloc_coherent(dev->devc, in ishtp_cl_alloc_dma_buf() 50 dev->ishtp_host_dma_rx_buf = dma_alloc_coherent(dev->devc, in ishtp_cl_alloc_dma_buf()
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/s5p-mfc/ |
| H A D | s5p_mfc_opr.c | 61 b->virt = dma_alloc_coherent(mem_dev, b->size, &b->dma, GFP_KERNEL); in s5p_mfc_alloc_priv_buf() 87 b->virt = dma_alloc_coherent(mem_dev, b->size, &b->dma, GFP_KERNEL); in s5p_mfc_alloc_generic_buf()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | pci-dma-compat.h | 20 return dma_alloc_coherent(&hwdev->dev, size, dma_handle, GFP_ATOMIC); in pci_alloc_consistent() 27 return dma_alloc_coherent(&hwdev->dev, size, dma_handle, GFP_ATOMIC); in pci_zalloc_consistent()
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/hw/vmw_pvrdma/ |
| H A D | pvrdma_misc.c | 62 pdir->dir = dma_alloc_coherent(&dev->pdev->dev, PAGE_SIZE, in pvrdma_page_dir_init() 74 pdir->tables[i] = dma_alloc_coherent(&dev->pdev->dev, PAGE_SIZE, in pvrdma_page_dir_init() 92 pdir->pages[i] = dma_alloc_coherent(&dev->pdev->dev, in pvrdma_page_dir_init()
|
| /OK3568_Linux_fs/kernel/drivers/scsi/mvsas/ |
| H A D | mv_init.c | 245 mvi->tx = dma_alloc_coherent(mvi->dev, in mvs_alloc() 250 mvi->rx_fis = dma_alloc_coherent(mvi->dev, MVS_RX_FISL_SZ, in mvs_alloc() 255 mvi->rx = dma_alloc_coherent(mvi->dev, in mvs_alloc() 263 mvi->slot = dma_alloc_coherent(mvi->dev, in mvs_alloc() 269 mvi->bulk_buffer = dma_alloc_coherent(mvi->dev, in mvs_alloc() 275 mvi->bulk_buffer1 = dma_alloc_coherent(mvi->dev, in mvs_alloc()
|
| /OK3568_Linux_fs/kernel/drivers/staging/media/sunxi/cedrus/ |
| H A D | cedrus_h264.c | 541 dma_alloc_coherent(dev->dev, ctx->codec.h264.pic_info_buf_size, in cedrus_h264_start() 555 dma_alloc_coherent(dev->dev, CEDRUS_NEIGHBOR_INFO_BUF_SIZE, in cedrus_h264_start() 585 ctx->codec.h264.mv_col_buf = dma_alloc_coherent(dev->dev, in cedrus_h264_start() 603 dma_alloc_coherent(dev->dev, in cedrus_h264_start() 619 dma_alloc_coherent(dev->dev, in cedrus_h264_start()
|
| /OK3568_Linux_fs/kernel/drivers/firmware/tegra/ |
| H A D | bpmp-debugfs.c | 570 namevirt = dma_alloc_coherent(bpmp->dev, namesize, &namephys, in debugfs_show() 575 datavirt = dma_alloc_coherent(bpmp->dev, datasize, &dataphys, in debugfs_show() 621 namevirt = dma_alloc_coherent(bpmp->dev, namesize, &namephys, in debugfs_store() 626 datavirt = dma_alloc_coherent(bpmp->dev, datasize, &dataphys, in debugfs_store() 721 virt = dma_alloc_coherent(bpmp->dev, sz, &phys, in bpmp_populate_debugfs_shmem()
|
| /OK3568_Linux_fs/u-boot/arch/nios2/include/asm/ |
| H A D | dma-mapping.h | 11 static inline void *dma_alloc_coherent(size_t len, unsigned long *handle) in dma_alloc_coherent() function
|
| /OK3568_Linux_fs/u-boot/arch/nds32/include/asm/ |
| H A D | dma-mapping.h | 12 static void *dma_alloc_coherent(size_t len, unsigned long *handle) in dma_alloc_coherent() function
|
| /OK3568_Linux_fs/u-boot/arch/x86/include/asm/ |
| H A D | dma-mapping.h | 15 static inline void *dma_alloc_coherent(size_t len, unsigned long *handle) in dma_alloc_coherent() function
|
| /OK3568_Linux_fs/u-boot/arch/arm/include/asm/ |
| H A D | dma-mapping.h | 15 static inline void *dma_alloc_coherent(size_t len, unsigned long *handle) in dma_alloc_coherent() function
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/google/gve/ |
| H A D | gve_adminq.c | 19 priv->adminq = dma_alloc_coherent(dev, PAGE_SIZE, in gve_adminq_alloc() 472 descriptor = dma_alloc_coherent(&priv->pdev->dev, PAGE_SIZE, in gve_adminq_describe_device() 543 page_list = dma_alloc_coherent(hdev, size, &page_list_bus, GFP_KERNEL); in gve_adminq_register_page_list() 613 dma_alloc_coherent(&priv->pdev->dev, sizeof(*link_speed_region), in gve_adminq_report_link_speed()
|
| /OK3568_Linux_fs/kernel/drivers/scsi/snic/ |
| H A D | vnic_dev.c | 228 ring->descs_unaligned = dma_alloc_coherent(&vdev->pdev->dev, in svnic_dev_alloc_desc_ring() 472 vdev->fw_info = dma_alloc_coherent(&vdev->pdev->dev, in svnic_dev_fw_info() 536 vdev->stats = dma_alloc_coherent(&vdev->pdev->dev, in svnic_dev_stats_dump() 609 vdev->notify = dma_alloc_coherent(&vdev->pdev->dev, in svnic_dev_notify_set()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/enetc/ |
| H A D | enetc_cbdr.c | 132 tmp = dma_alloc_coherent(&si->pdev->dev, sizeof(*rfse) + RFSE_ALIGN, in enetc_set_fs_entry() 169 tmp = dma_alloc_coherent(&si->pdev->dev, count + RSSE_ALIGN, in enetc_cmd_rss_table()
|
| /OK3568_Linux_fs/kernel/drivers/staging/media/hantro/ |
| H A D | hantro_vp8.c | 164 aux_buf->cpu = dma_alloc_coherent(vpu->dev, aux_buf->size, in hantro_vp8_dec_init() 175 aux_buf->cpu = dma_alloc_coherent(vpu->dev, aux_buf->size, in hantro_vp8_dec_init()
|
| /OK3568_Linux_fs/kernel/drivers/media/pci/pt3/ |
| H A D | pt3_dma.c | 159 p = dma_alloc_coherent(&pt3->pdev->dev, DATA_BUF_SZ, in pt3_alloc_dmabuf() 174 p = dma_alloc_coherent(&pt3->pdev->dev, PAGE_SIZE, in pt3_alloc_dmabuf()
|