/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/pcie/ |
D | ctxt-info-gen3.c | 71 prph_scratch = dma_alloc_coherent(trans->dev, sizeof(*prph_scratch), in iwl_pcie_ctxt_info_gen3_init() 116 prph_info = dma_alloc_coherent(trans->dev, sizeof(*prph_info), in iwl_pcie_ctxt_info_gen3_init() 123 ctxt_info_gen3 = dma_alloc_coherent(trans->dev, in iwl_pcie_ctxt_info_gen3_init() 160 iml_img = dma_alloc_coherent(trans->dev, trans->iml_len, in iwl_pcie_ctxt_info_gen3_init()
|
/Linux-v4.19/scripts/coccinelle/api/alloc/ |
D | alloc_cast.cocci | 35 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\|
|
D | zalloc-simple.cocci | 36 * x = (T)\(kmalloc(E1, ...)\|vmalloc(E1)\|dma_alloc_coherent(...,E1,...)\| 72 - x = dma_alloc_coherent(E2,E1,E3,E4); 75 - x = (T *)dma_alloc_coherent(E2,E1,E3,E4); 78 - x = (T)dma_alloc_coherent(E2,E1,E3,E4); 210 x = (T)dma_alloc_coherent@p(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/usb/host/whci/ |
D | init.c | 118 whc->gen_cmd_buf = dma_alloc_coherent(&whc->umc->dev, WHC_GEN_CMD_DATA_LEN, in whc_init() 125 whc->dn_buf = dma_alloc_coherent(&whc->umc->dev, in whc_init() 134 whc->di_buf = dma_alloc_coherent(&whc->umc->dev, in whc_init()
|
/Linux-v4.19/drivers/firmware/tegra/ |
D | bpmp-debugfs.c | 220 namevirt = dma_alloc_coherent(bpmp->dev, namesize, &namephys, in debugfs_show() 225 datavirt = dma_alloc_coherent(bpmp->dev, datasize, &dataphys, in debugfs_show() 271 namevirt = dma_alloc_coherent(bpmp->dev, namesize, &namephys, in debugfs_store() 276 datavirt = dma_alloc_coherent(bpmp->dev, datasize, &dataphys, in debugfs_store() 425 virt = dma_alloc_coherent(bpmp->dev, sz, &phys, in tegra_bpmp_init_debugfs()
|
/Linux-v4.19/drivers/hid/intel-ish-hid/ishtp/ |
D | dma-if.c | 44 dev->ishtp_host_dma_tx_buf = dma_alloc_coherent(dev->devc, in ishtp_cl_alloc_dma_buf() 59 dev->ishtp_host_dma_rx_buf = dma_alloc_coherent(dev->devc, in ishtp_cl_alloc_dma_buf()
|
/Linux-v4.19/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_opr.c | 64 b->virt = dma_alloc_coherent(mem_dev, b->size, &b->dma, GFP_KERNEL); in s5p_mfc_alloc_priv_buf() 90 b->virt = dma_alloc_coherent(mem_dev, b->size, &b->dma, GFP_KERNEL); in s5p_mfc_alloc_generic_buf()
|
/Linux-v4.19/drivers/infiniband/hw/vmw_pvrdma/ |
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()
|
/Linux-v4.19/tools/virtio/linux/ |
D | dma-mapping.h | 16 #define dma_alloc_coherent(d, s, hp, f) ({ \ macro
|
/Linux-v4.19/drivers/scsi/mvsas/ |
D | mv_init.c | 256 mvi->tx = dma_alloc_coherent(mvi->dev, in mvs_alloc() 262 mvi->rx_fis = dma_alloc_coherent(mvi->dev, MVS_RX_FISL_SZ, in mvs_alloc() 268 mvi->rx = dma_alloc_coherent(mvi->dev, in mvs_alloc() 277 mvi->slot = dma_alloc_coherent(mvi->dev, in mvs_alloc() 284 mvi->bulk_buffer = dma_alloc_coherent(mvi->dev, in mvs_alloc() 290 mvi->bulk_buffer1 = dma_alloc_coherent(mvi->dev, in mvs_alloc()
|
/Linux-v4.19/arch/mips/lantiq/xway/ |
D | vmmc.c | 34 (void *) CPHYSADDR(dma_alloc_coherent(NULL, CP1_SIZE, in vmmc_probe()
|
/Linux-v4.19/sound/pci/asihpi/ |
D | hpios.c | 51 dma_alloc_coherent(&pdev->dev, size, &p_mem_area->dma_handle, in hpios_locked_mem_alloc()
|
/Linux-v4.19/arch/sh/mm/ |
D | consistent.c | 55 buf = dma_alloc_coherent(&pdev->dev, memsize, &dma_handle, GFP_KERNEL); in platform_resource_setup_memory()
|
/Linux-v4.19/drivers/media/pci/pt3/ |
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()
|
/Linux-v4.19/drivers/infiniband/hw/hns/ |
D | hns_roce_mr.c | 346 mr->pbl_buf = dma_alloc_coherent(dev, npages * 8, in hns_roce_mhop_alloc() 386 mr->pbl_bt_l0 = dma_alloc_coherent(dev, pbl_bt_sz, in hns_roce_mhop_alloc() 401 mr->pbl_bt_l1[i] = dma_alloc_coherent(dev, size, in hns_roce_mhop_alloc() 418 mr->pbl_bt_l1[i] = dma_alloc_coherent(dev, pbl_bt_sz, in hns_roce_mhop_alloc() 438 mr->pbl_bt_l2[bt_idx] = dma_alloc_coherent( in hns_roce_mhop_alloc() 527 mr->pbl_buf = dma_alloc_coherent(dev, npages * 8, in hns_roce_mr_alloc() 1124 mr->pbl_buf = dma_alloc_coherent(dev, npages * 8, in hns_roce_rereg_user_mr()
|
/Linux-v4.19/Documentation/ |
D | DMA-API.txt | 33 dma_alloc_coherent(struct device *dev, size_t size, 56 The flag parameter (dma_alloc_coherent() only) allows the caller to 67 Wraps dma_alloc_coherent() and also zeroes the returned memory if the 78 dma_alloc_coherent(). cpu_addr must be the virtual address returned by 79 the dma_alloc_coherent(). 92 or more using dma_alloc_coherent(), you can use DMA pools. These work 109 are like what you'd pass to dma_alloc_coherent(). The device's hardware 135 blocking. Like dma_alloc_coherent(), this returns two values: an 521 Identical to dma_alloc_coherent() except that when the 581 Declare region of memory to be handed out by dma_alloc_coherent() when [all …]
|
/Linux-v4.19/drivers/misc/ |
D | pci_endpoint_test.c | 350 orig_src_addr = dma_alloc_coherent(dev, size + alignment, in pci_endpoint_test_copy() 376 orig_dst_addr = dma_alloc_coherent(dev, size + alignment, in pci_endpoint_test_copy() 445 orig_addr = dma_alloc_coherent(dev, size + alignment, &orig_phys_addr, in pci_endpoint_test_write() 513 orig_addr = dma_alloc_coherent(dev, size + alignment, &orig_phys_addr, in pci_endpoint_test_read()
|
/Linux-v4.19/drivers/scsi/qla4xxx/ |
D | ql4_bsg.c | 47 flash = dma_alloc_coherent(&ha->pdev->dev, length, &flash_dma, in qla4xxx_read_flash() 114 flash = dma_alloc_coherent(&ha->pdev->dev, length, &flash_dma, in qla4xxx_update_flash() 242 nvram = dma_alloc_coherent(&ha->pdev->dev, len, &nvram_dma, in qla4xxx_read_nvram() 313 nvram = dma_alloc_coherent(&ha->pdev->dev, len, &nvram_dma, in qla4xxx_update_nvram() 421 acb = dma_alloc_coherent(&ha->pdev->dev, len, &acb_dma, GFP_KERNEL); in qla4xxx_bsg_get_acb()
|
/Linux-v4.19/arch/powerpc/sysdev/ |
D | fsl_rmu.c | 556 pw->port_write_msg.virt = dma_alloc_coherent(pw->dev, in fsl_rio_port_write_init() 742 dma_alloc_coherent(priv->dev, RIO_MSG_BUFFER_SIZE, in fsl_open_outb_mbox() 759 rmu->msg_tx_ring.virt = dma_alloc_coherent(priv->dev, in fsl_open_outb_mbox() 877 rmu->msg_rx_ring.virt = dma_alloc_coherent(priv->dev, in fsl_open_inb_mbox() 1037 dbell->dbell_ring.virt = dma_alloc_coherent(dbell->dev, 512 * in fsl_rio_doorbell_init()
|
/Linux-v4.19/drivers/infiniband/hw/mthca/ |
D | mthca_allocator.c | 210 buf->direct.buf = dma_alloc_coherent(&dev->pdev->dev, in mthca_buf_alloc() 252 dma_alloc_coherent(&dev->pdev->dev, PAGE_SIZE, in mthca_buf_alloc()
|
/Linux-v4.19/drivers/tty/serial/cpm_uart/ |
D | cpm_uart_cpm1.c | 88 mem_addr = dma_alloc_coherent(pinfo->port.dev, memsz, &dma_addr, in cpm_uart_allocbuf()
|
/Linux-v4.19/drivers/media/platform/mtk-vcodec/ |
D | mtk_vcodec_util.c | 52 mem->va = dma_alloc_coherent(dev, size, &mem->dma_addr, GFP_KERNEL); in mtk_vcodec_mem_alloc()
|
/Linux-v4.19/drivers/usb/core/ |
D | buffer.c | 143 return dma_alloc_coherent(hcd->self.sysdev, size, dma, mem_flags); in hcd_buffer_alloc()
|
/Linux-v4.19/drivers/net/ethernet/qlogic/qed/ |
D | qed_roce.c | 261 qp->irq = dma_alloc_coherent(&p_hwfn->cdev->pdev->dev, in qed_roce_sp_create_responder() 402 qp->orq = dma_alloc_coherent(&p_hwfn->cdev->pdev->dev, in qed_roce_sp_create_requester() 740 dma_alloc_coherent(&p_hwfn->cdev->pdev->dev, sizeof(*p_ramrod_res), in qed_roce_sp_destroy_qp_responder() 793 dma_alloc_coherent(&p_hwfn->cdev->pdev->dev, in qed_roce_sp_destroy_qp_requester() 875 dma_alloc_coherent(&p_hwfn->cdev->pdev->dev, in qed_roce_query_qp() 923 dma_alloc_coherent(&p_hwfn->cdev->pdev->dev, in qed_roce_query_qp()
|
/Linux-v4.19/drivers/uwb/ |
D | whc-rc.c | 249 whcrc->cmd_buf = dma_alloc_coherent(&umc_dev->dev, PAGE_SIZE, in whcrc_setup_rc_umc() 256 whcrc->evt_buf = dma_alloc_coherent(&umc_dev->dev, PAGE_SIZE, in whcrc_setup_rc_umc()
|