Home
last modified time | relevance | path

Searched refs:dma_zalloc_coherent (Results 1 – 25 of 155) sorted by relevance

1234567

/Linux-v4.19/scripts/coccinelle/api/alloc/
Dalloc_cast.cocci35 dma_alloc_coherent\|dma_zalloc_coherent\|devm_kmalloc\|devm_kzalloc\|
58 dma_alloc_coherent\|dma_zalloc_coherent\|devm_kmalloc\|devm_kzalloc\|
81 dma_alloc_coherent\|dma_zalloc_coherent\|devm_kmalloc\|devm_kzalloc\|
98 dma_alloc_coherent\|dma_zalloc_coherent\|devm_kmalloc\|devm_kzalloc\|
Dzalloc-simple.cocci73 + x = dma_zalloc_coherent(E2,E1,E3,E4);
76 + x = dma_zalloc_coherent(E2,E1,E3,E4);
79 + x = (T)dma_zalloc_coherent(E2,E1,E3,E4);
228 msg="WARNING: dma_zalloc_coherent should be used for %s, instead of dma_alloc_coherent/memset" % (x)
/Linux-v4.19/drivers/crypto/qat/qat_common/
Dqat_asym_algs.c335 qat_req->src_align = dma_zalloc_coherent(dev, in qat_dh_compute_value()
363 qat_req->dst_align = dma_zalloc_coherent(dev, ctx->p_size, in qat_dh_compute_value()
450 ctx->p = dma_zalloc_coherent(dev, ctx->p_size, &ctx->dma_p, GFP_KERNEL); in qat_dh_set_params()
461 ctx->g = dma_zalloc_coherent(dev, ctx->p_size, &ctx->dma_g, GFP_KERNEL); in qat_dh_set_params()
506 ctx->xa = dma_zalloc_coherent(dev, ctx->p_size, &ctx->dma_xa, in qat_dh_set_secret()
740 qat_req->src_align = dma_zalloc_coherent(dev, ctx->key_sz, in qat_rsa_enc()
759 qat_req->dst_align = dma_zalloc_coherent(dev, ctx->key_sz, in qat_rsa_enc()
884 qat_req->src_align = dma_zalloc_coherent(dev, ctx->key_sz, in qat_rsa_dec()
903 qat_req->dst_align = dma_zalloc_coherent(dev, ctx->key_sz, in qat_rsa_dec()
992 ctx->n = dma_zalloc_coherent(dev, ctx->key_sz, &ctx->dma_n, GFP_KERNEL); in qat_rsa_set_n()
[all …]
Dadf_admin.c247 admin->virt_addr = dma_zalloc_coherent(&GET_DEV(accel_dev), PAGE_SIZE, in adf_init_admin_comms()
255 admin->virt_tbl_addr = dma_zalloc_coherent(&GET_DEV(accel_dev), in adf_init_admin_comms()
Dqat_algs.c602 ctx->enc_cd = dma_zalloc_coherent(dev, sizeof(*ctx->enc_cd), in qat_alg_aead_setkey()
608 ctx->dec_cd = dma_zalloc_coherent(dev, sizeof(*ctx->dec_cd), in qat_alg_aead_setkey()
934 ctx->enc_cd = dma_zalloc_coherent(dev, sizeof(*ctx->enc_cd), in qat_alg_ablkcipher_setkey()
941 ctx->dec_cd = dma_zalloc_coherent(dev, sizeof(*ctx->dec_cd), in qat_alg_ablkcipher_setkey()
/Linux-v4.19/drivers/scsi/bnx2fc/
Dbnx2fc_tgt.c675 tgt->sq = dma_zalloc_coherent(&hba->pcidev->dev, tgt->sq_mem_size, in bnx2fc_alloc_session_resc()
688 tgt->cq = dma_zalloc_coherent(&hba->pcidev->dev, tgt->cq_mem_size, in bnx2fc_alloc_session_resc()
701 tgt->rq = dma_zalloc_coherent(&hba->pcidev->dev, tgt->rq_mem_size, in bnx2fc_alloc_session_resc()
713 tgt->rq_pbl = dma_zalloc_coherent(&hba->pcidev->dev, tgt->rq_pbl_size, in bnx2fc_alloc_session_resc()
738 tgt->xferq = dma_zalloc_coherent(&hba->pcidev->dev, in bnx2fc_alloc_session_resc()
752 tgt->confq = dma_zalloc_coherent(&hba->pcidev->dev, in bnx2fc_alloc_session_resc()
766 tgt->confq_pbl = dma_zalloc_coherent(&hba->pcidev->dev, in bnx2fc_alloc_session_resc()
790 tgt->conn_db = dma_zalloc_coherent(&hba->pcidev->dev, in bnx2fc_alloc_session_resc()
805 tgt->lcq = dma_zalloc_coherent(&hba->pcidev->dev, tgt->lcq_mem_size, in bnx2fc_alloc_session_resc()
Dbnx2fc_hwi.c1860 hba->task_ctx_bd_tbl = dma_zalloc_coherent(&hba->pcidev->dev, in bnx2fc_setup_task_ctx()
1897 hba->task_ctx[i] = dma_zalloc_coherent(&hba->pcidev->dev, in bnx2fc_setup_task_ctx()
2034 hba->hash_tbl_segments[i] = dma_zalloc_coherent(&hba->pcidev->dev, in bnx2fc_allocate_hash_table()
2044 hba->hash_tbl_pbl = dma_zalloc_coherent(&hba->pcidev->dev, PAGE_SIZE, in bnx2fc_allocate_hash_table()
2107 hba->t2_hash_tbl_ptr = dma_zalloc_coherent(&hba->pcidev->dev, in bnx2fc_setup_fw_resc()
2119 hba->t2_hash_tbl = dma_zalloc_coherent(&hba->pcidev->dev, mem_size, in bnx2fc_setup_fw_resc()
2143 hba->stats_buffer = dma_zalloc_coherent(&hba->pcidev->dev, PAGE_SIZE, in bnx2fc_setup_fw_resc()
/Linux-v4.19/drivers/soc/fsl/qbman/
Ddpaa_sys.c65 if (!dma_zalloc_coherent(dev, *size, addr, 0)) { in qbman_init_private_mem()
/Linux-v4.19/drivers/infiniband/hw/hns/
Dhns_roce_alloc.c200 buf->direct.buf = dma_zalloc_coherent(dev, in hns_roce_buf_alloc()
222 buf->page_list[i].buf = dma_zalloc_coherent(dev, in hns_roce_buf_alloc()
/Linux-v4.19/drivers/net/ethernet/amazon/ena/
Dena_com.c115 sq->entries = dma_zalloc_coherent(queue->q_dmadev, size, &sq->dma_addr, in ena_com_admin_init_sq()
137 cq->entries = dma_zalloc_coherent(queue->q_dmadev, size, &cq->dma_addr, in ena_com_admin_init_cq()
160 aenq->entries = dma_zalloc_coherent(dev->dmadev, size, &aenq->dma_addr, in ena_com_admin_init_aenq()
348 dma_zalloc_coherent(ena_dev->dmadev, size, in ena_com_init_io_sq()
354 dma_zalloc_coherent(ena_dev->dmadev, size, in ena_com_init_io_sq()
402 dma_zalloc_coherent(ena_dev->dmadev, size, in ena_com_init_io_cq()
407 dma_zalloc_coherent(ena_dev->dmadev, size, in ena_com_init_io_cq()
850 dma_zalloc_coherent(ena_dev->dmadev, sizeof(*rss->hash_key), in ena_com_hash_key_allocate()
874 dma_zalloc_coherent(ena_dev->dmadev, sizeof(*rss->hash_ctrl), in ena_com_hash_ctrl_init()
918 dma_zalloc_coherent(ena_dev->dmadev, tbl_size, in ena_com_indirect_table_allocate()
[all …]
/Linux-v4.19/drivers/s390/net/
Dism_drv.c92 sba = dma_zalloc_coherent(&ism->pdev->dev, PAGE_SIZE, in register_sba()
119 ieq = dma_zalloc_coherent(&ism->pdev->dev, PAGE_SIZE, in register_ieq()
237 dmb->cpu_addr = dma_zalloc_coherent(&ism->pdev->dev, dmb->dmb_len, in ism_alloc_dmb()
/Linux-v4.19/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_ctx.c437 rq_addr = dma_zalloc_coherent(&adapter->pdev->dev, rq_size, in qlcnic_82xx_fw_cmd_create_tx_ctx()
443 rsp_addr = dma_zalloc_coherent(&adapter->pdev->dev, rsp_size, in qlcnic_82xx_fw_cmd_create_tx_ctx()
858 nic_info_addr = dma_zalloc_coherent(&adapter->pdev->dev, nic_size, in qlcnic_82xx_get_nic_info()
912 nic_info_addr = dma_zalloc_coherent(&adapter->pdev->dev, nic_size, in qlcnic_82xx_set_nic_info()
967 pci_info_addr = dma_zalloc_coherent(&adapter->pdev->dev, pci_size, in qlcnic_82xx_get_pci_info()
1081 stats_addr = dma_zalloc_coherent(&adapter->pdev->dev, stats_size, in qlcnic_get_port_stats()
1137 stats_addr = dma_zalloc_coherent(&adapter->pdev->dev, stats_size, in qlcnic_get_mac_stats()
/Linux-v4.19/drivers/net/wireless/ralink/rt2x00/
Drt2x00mmio.c122 addr = dma_zalloc_coherent(rt2x00dev->dev, in rt2x00mmio_alloc_queue_dma()
/Linux-v4.19/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_api_cmd.c616 cmd_vaddr = dma_zalloc_coherent(&pdev->dev, API_CMD_BUF_SIZE, in alloc_cmd_buf()
666 node = dma_zalloc_coherent(&pdev->dev, chain->cell_size, in api_cmd_create_cell()
824 chain->wb_status = dma_zalloc_coherent(&pdev->dev, in api_chain_init()
/Linux-v4.19/include/linux/
Dpci-dma-compat.h27 return dma_zalloc_coherent(&hwdev->dev, size, dma_handle, GFP_ATOMIC); in pci_zalloc_consistent()
/Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_devlink.c61 data_addr = dma_zalloc_coherent(&bp->pdev->dev, bytesize, in bnxt_hwrm_nvm_req()
/Linux-v4.19/drivers/crypto/cavium/nitrox/
Dnitrox_lib.c29 cmdq->head_unaligned = dma_zalloc_coherent(DEV(ndev), in cmdq_common_init()
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/pcie/
Drx.c717 rxq->bd = dma_zalloc_coherent(dev, in iwl_pcie_alloc_rxq_dma()
724 rxq->used_bd = dma_zalloc_coherent(dev, in iwl_pcie_alloc_rxq_dma()
736 rxq->rb_stts = dma_zalloc_coherent(dev, use_rx_td ? in iwl_pcie_alloc_rxq_dma()
748 rxq->tr_tail = dma_zalloc_coherent(dev, sizeof(__le16), in iwl_pcie_alloc_rxq_dma()
755 rxq->cr_tail = dma_zalloc_coherent(dev, sizeof(__le16), in iwl_pcie_alloc_rxq_dma()
1936 dma_zalloc_coherent(trans->dev, ICT_SIZE, in iwl_pcie_alloc_ict()
/Linux-v4.19/arch/mips/lantiq/xway/
Ddma.c133 ch->desc_base = dma_zalloc_coherent(ch->dev, in ltq_dma_alloc()
/Linux-v4.19/drivers/net/ethernet/emulex/benet/
Dbe_cmds.c1811 get_fat_cmd.va = dma_zalloc_coherent(&adapter->pdev->dev, in be_cmd_get_fat_dump()
2305 cmd.va = dma_zalloc_coherent(&adapter->pdev->dev, cmd.size, &cmd.dma, in be_cmd_read_port_transceiver_data()
3069 flash_cmd.va = dma_zalloc_coherent(dev, flash_cmd.size, in lancer_fw_download()
3187 flash_cmd.va = dma_zalloc_coherent(dev, flash_cmd.size, &flash_cmd.dma, in be_fw_download()
3438 cmd.va = dma_zalloc_coherent(&adapter->pdev->dev, cmd.size, &cmd.dma, in be_cmd_get_phy_info()
3525 attribs_cmd.va = dma_zalloc_coherent(&adapter->pdev->dev, in be_cmd_get_cntl_attributes()
3702 get_mac_list_cmd.va = dma_zalloc_coherent(&adapter->pdev->dev, in be_cmd_get_mac_from_list()
3832 cmd.va = dma_zalloc_coherent(&adapter->pdev->dev, cmd.size, &cmd.dma, in be_cmd_set_mac_list()
4038 cmd.va = dma_zalloc_coherent(&adapter->pdev->dev, cmd.size, &cmd.dma, in be_cmd_get_acpi_wol_cap()
4092 extfat_cmd.va = dma_zalloc_coherent(&adapter->pdev->dev, in be_cmd_set_fw_log_level()
[all …]
Dbe_ethtool.c277 read_cmd.va = dma_zalloc_coherent(&adapter->pdev->dev, read_cmd.size, in lancer_cmd_read_file()
818 cmd.va = dma_zalloc_coherent(dev, cmd.size, &cmd.dma, GFP_KERNEL); in be_set_wol()
854 ddrdma_cmd.va = dma_zalloc_coherent(&adapter->pdev->dev, in be_test_ddr_dma()
1017 eeprom_cmd.va = dma_zalloc_coherent(&adapter->pdev->dev, in be_read_eeprom()
/Linux-v4.19/drivers/usb/gadget/udc/bdc/
Dbdc_core.c175 bdc->scratchpad.buff = dma_zalloc_coherent(bdc->dev, sp_buff_size, in scratchpad_setup()
205 bdc->srr.sr_bds = dma_zalloc_coherent( in setup_srr()
/Linux-v4.19/drivers/crypto/mediatek/
Dmtk-platform.c456 ring[i]->cmd_base = dma_zalloc_coherent(cryp->dev, in mtk_desc_ring_alloc()
463 ring[i]->res_base = dma_zalloc_coherent(cryp->dev, in mtk_desc_ring_alloc()
/Linux-v4.19/drivers/net/ethernet/apm/xgene-v2/
Dmain.c209 pkt_buf = dma_zalloc_coherent(dev, XGENE_ENET_STD_MTU, &dma_addr, in xge_start_xmit()
431 ring->desc_addr = dma_zalloc_coherent(dev, size, &ring->dma_addr, in xge_create_desc_ring()
/Linux-v4.19/drivers/crypto/hisilicon/sec/
Dsec_drv.c1085 ring_cmd->vaddr = dma_zalloc_coherent(dev, SEC_Q_CMD_SIZE, in sec_queue_res_cfg()
1095 ring_cq->vaddr = dma_zalloc_coherent(dev, SEC_Q_CQ_SIZE, in sec_queue_res_cfg()
1103 ring_db->vaddr = dma_zalloc_coherent(dev, SEC_Q_DB_SIZE, in sec_queue_res_cfg()

1234567