Home
last modified time | relevance | path

Searched refs:pci_alloc_consistent (Results 1 – 25 of 36) sorted by relevance

12

/kernel/linux/linux-5.10/scripts/coccinelle/free/
Dpci_free_consistent.cocci2 /// Find missing pci_free_consistent for every pci_alloc_consistent.
7 // Keywords: pci_free_consistent, pci_alloc_consistent
20 id = pci_alloc_consistent@p1(x,y,&z)
43 msg = "ERROR: missing pci_free_consistent; pci_alloc_consistent on line %s and return without freei…
51 msg = "ERROR: missing pci_free_consistent; pci_alloc_consistent on line %s and return without freei…
/kernel/linux/linux-5.10/scripts/coccinelle/api/alloc/
Dalloc_cast.cocci37 kvmalloc\|kvzalloc\|kvmalloc_node\|kvzalloc_node\|pci_alloc_consistent\|
60 kvmalloc\|kvzalloc\|kvmalloc_node\|kvzalloc_node\|pci_alloc_consistent\|
83 kvmalloc\|kvzalloc\|kvmalloc_node\|kvzalloc_node\|pci_alloc_consistent\|
100 kvmalloc\|kvzalloc\|kvmalloc_node\|kvzalloc_node\|pci_alloc_consistent\|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ctx.c284 addr = pci_alloc_consistent(adapter->pdev, in nx_fw_cmd_create_rx_ctx()
290 addr = pci_alloc_consistent(adapter->pdev, in nx_fw_cmd_create_rx_ctx()
432 rq_addr = pci_alloc_consistent(adapter->pdev, in nx_fw_cmd_create_tx_ctx()
438 rsp_addr = pci_alloc_consistent(adapter->pdev, in nx_fw_cmd_create_tx_ctx()
748 addr = pci_alloc_consistent(pdev, in netxen_alloc_hw_resources()
765 addr = pci_alloc_consistent(pdev, TX_DESC_RINGSIZE(tx_ring), in netxen_alloc_hw_resources()
779 addr = pci_alloc_consistent(adapter->pdev, in netxen_alloc_hw_resources()
800 addr = pci_alloc_consistent(adapter->pdev, in netxen_alloc_hw_resources()
/kernel/linux/linux-5.10/drivers/media/pci/mantis/
Dmantis_dma.c80 mantis->buf_cpu = pci_alloc_consistent(mantis->pdev, in mantis_alloc_buffers()
95 mantis->risc_cpu = pci_alloc_consistent(mantis->pdev, in mantis_alloc_buffers()
/kernel/linux/linux-5.10/drivers/media/pci/saa7164/
Dsaa7164-buffer.c106 buf->cpu = pci_alloc_consistent(port->dev->pci, buf->pci_size, in saa7164_buffer_alloc()
111 buf->pt_cpu = pci_alloc_consistent(port->dev->pci, buf->pt_size, in saa7164_buffer_alloc()
/kernel/linux/linux-5.10/include/linux/
Dpci-dma-compat.h17 pci_alloc_consistent(struct pci_dev *hwdev, size_t size, in pci_alloc_consistent() function
/kernel/linux/linux-5.10/drivers/firewire/
Dnosy.c567 lynx->rcv_start_pcl = pci_alloc_consistent(lynx->pci_device, in add_card()
569 lynx->rcv_pcl = pci_alloc_consistent(lynx->pci_device, in add_card()
571 lynx->rcv_buffer = pci_alloc_consistent(lynx->pci_device, in add_card()
/kernel/linux/linux-5.10/drivers/media/pci/tw68/
Dtw68-risc.c154 buf->cpu = pci_alloc_consistent(pci, buf->size, &buf->dma); in tw68_risc_buffer()
/kernel/linux/linux-5.10/drivers/media/pci/b2c2/
Dflexcop-dma.c20 tcpu = pci_alloc_consistent(pdev, size, &tdma); in flexcop_dma_allocate()
/kernel/linux/linux-5.10/drivers/message/fusion/
Dmptctl.c1046 sglbuf = pci_alloc_consistent(ioc->pcidev, MAX_SGL_BYTES, sglbuf_dma); in kbuf_alloc_2_sgl()
1067 buflist[buflist_ent].kptr = pci_alloc_consistent(ioc->pcidev, in kbuf_alloc_2_sgl()
2111 bufOut.kptr = pci_alloc_consistent( in mptctl_do_mpt_command()
2145 bufIn.kptr = pci_alloc_consistent(ioc->pcidev, in mptctl_do_mpt_command()
2406 pbuf = pci_alloc_consistent(ioc->pcidev, hdr.PageLength * 4, &buf_dma); in mptctl_hp_hostinfo()
2481 pbuf = pci_alloc_consistent(ioc->pcidev, 4, &buf_dma); in mptctl_hp_hostinfo()
2596 pg0_alloc = pci_alloc_consistent(ioc->pcidev, data_sz, &page_dma); in mptctl_hp_targetinfo()
2660 pg3_alloc = pci_alloc_consistent(ioc->pcidev, data_sz, &page_dma); in mptctl_hp_targetinfo()
Dmptbase.c303 buffer = pci_alloc_consistent(ioc->pcidev, hdr.ExtPageLength * 4, in mpt_is_discovery_complete()
3525 ioc->cached_fw = pci_alloc_consistent(ioc->pcidev, size, &ioc->cached_fw_dma); in mpt_alloc_fw_memory()
4978 ppage0_alloc = (LANPage0_t *) pci_alloc_consistent(ioc->pcidev, data_sz, &page0_dma); in GetLanConfigPages()
5024 ppage1_alloc = (LANPage1_t *) pci_alloc_consistent(ioc->pcidev, data_sz, &page1_dma); in GetLanConfigPages()
5325 ppage_alloc = (IOUnitPage2_t *) pci_alloc_consistent(ioc->pcidev, data_sz, &page_dma); in GetIoUnitPage2()
5410 pbuf = pci_alloc_consistent(ioc->pcidev, header.PageLength * 4, &buf_dma); in mpt_GetScsiPortSettings()
5488 pbuf = pci_alloc_consistent(ioc->pcidev, header.PageLength * 4, &buf_dma); in mpt_GetScsiPortSettings()
5669 buffer = pci_alloc_consistent(ioc->pcidev, hdr.PageLength * 4, in mpt_inactive_raid_volumes()
5762 buffer = pci_alloc_consistent(ioc->pcidev, hdr.PageLength * 4, in mpt_raid_phys_disk_pg0()
5829 buffer = pci_alloc_consistent(ioc->pcidev, hdr.PageLength * 4, in mpt_raid_phys_disk_get_num_paths()
[all …]
Dmptfc.c334 ppage0_alloc = pci_alloc_consistent(ioc->pcidev, data_sz, in mptfc_GetFcDevPage0()
766 ppage0_alloc = pci_alloc_consistent(ioc->pcidev, data_sz, &page0_dma); in mptfc_GetFcPortPage0()
907 page1_alloc = pci_alloc_consistent(ioc->pcidev, in mptfc_GetFcPortPage1()
Dmptsas.c677 buffer = pci_alloc_consistent(ioc->pcidev, hdr.PageLength * 4, in mptsas_add_device_component_starget_ir()
1374 buffer = pci_alloc_consistent(ioc->pcidev, hdr.ExtPageLength * 4, in mptsas_sas_enclosure_pg0()
2033 buffer = pci_alloc_consistent(ioc->pcidev, hdr.ExtPageLength * 4, in mptsas_get_linkerrors()
2387 buffer = pci_alloc_consistent(ioc->pcidev, hdr.ExtPageLength * 4, in mptsas_sas_io_unit_pg0()
2462 buffer = pci_alloc_consistent(ioc->pcidev, hdr.ExtPageLength * 4, in mptsas_sas_io_unit_pg1()
2526 buffer = pci_alloc_consistent(ioc->pcidev, hdr.ExtPageLength * 4, in mptsas_sas_phy_pg0()
2589 buffer = pci_alloc_consistent(ioc->pcidev, hdr.ExtPageLength * 4, in mptsas_sas_device_pg0()
2672 buffer = pci_alloc_consistent(ioc->pcidev, hdr.ExtPageLength * 4, in mptsas_sas_expander_pg0()
2752 buffer = pci_alloc_consistent(ioc->pcidev, hdr.ExtPageLength * 4, in mptsas_sas_expander_pg1()
2870 data_out = pci_alloc_consistent(ioc->pcidev, sz, &data_out_dma); in mptsas_exp_repmanufacture_info()
[all …]
/kernel/linux/linux-5.10/drivers/media/pci/ngene/
Dngene-core.c851 Head = pci_alloc_consistent(pci_dev, MemSize, &tmp); in create_ring_buffer()
902 SCListMem = pci_alloc_consistent(pci_dev, SCListMemSize, &tmp); in AllocateRingBuffers()
921 void *Buffer = pci_alloc_consistent(pci_dev, Buffer1Length, in AllocateRingBuffers()
954 Buffer = pci_alloc_consistent(pci_dev, Buffer2Length, &tmp); in AllocateRingBuffers()
1043 dev->FWInterfaceBuffer = pci_alloc_consistent(dev->pci_dev, 4096, in AllocCommonBuffers()
/kernel/linux/linux-5.10/drivers/media/pci/bt8xx/
Dbtcx-risc.c65 cpu = pci_alloc_consistent(pci, size, &dma); in btcx_riscmem_alloc()
/kernel/linux/linux-5.10/drivers/media/pci/solo6x10/
Dsolo6x10-g723.c127 solo_pcm->g723_buf = pci_alloc_consistent(solo_dev->pdev, in snd_solo_pcm_open()
Dsolo6x10-v4l2-enc.c1289 solo_enc->desc_items = pci_alloc_consistent(solo_dev->pdev, in solo_enc_alloc()
1349 solo_dev->vh_buf = pci_alloc_consistent(solo_dev->pdev, in solo_enc_v4l2_init()
/kernel/linux/linux-5.10/Documentation/scsi/
DChangeLog.arcmsr109 ** 8.replace pci_alloc_consistent()/pci_free_consistent() with kmalloc()/kfree() in arcmsr_iop…
D53c700.rst115 used for the pci_alloc_consistent() and pci_map_*() functions.
/kernel/linux/linux-5.10/drivers/media/pci/tw686x/
Dtw686x-audio.c327 virt = pci_alloc_consistent(dev->pci_dev, AUDIO_DMA_SIZE_MAX, in tw686x_audio_dma_alloc()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/
Dqla3xxx.c2529 pci_alloc_consistent(qdev->pdev, in ql_alloc_net_req_rsp_queues()
2540 pci_alloc_consistent(qdev->pdev, in ql_alloc_net_req_rsp_queues()
2597 pci_alloc_consistent(qdev->pdev, in ql_alloc_buffer_queues()
2617 pci_alloc_consistent(qdev->pdev, in ql_alloc_buffer_queues()
2670 pci_alloc_consistent(qdev->pdev, in ql_alloc_small_buffers()
2869 pci_alloc_consistent(qdev->pdev, in ql_alloc_mem_resources()
/kernel/linux/linux-5.10/drivers/media/common/saa7146/
Dsaa7146_vbi.c25 cpu = pci_alloc_consistent(dev->pci, 4096, &dma_addr); in vbi_workaround()
Dsaa7146_core.c224 cpu = pci_alloc_consistent(pci, PAGE_SIZE, &dma_addr); in saa7146_pgtable_alloc()
/kernel/linux/linux-5.10/drivers/media/pci/smipcie/
Dsmipcie-main.c401 port->cpu_addr[0] = pci_alloc_consistent(port->dev->pci_dev, in smi_port_init()
413 port->cpu_addr[1] = pci_alloc_consistent(port->dev->pci_dev, in smi_port_init()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dpci.c864 mem_item->buf = pci_alloc_consistent(mlxsw_pci->pdev, in mlxsw_pci_queue_init()
1248 mem_item->buf = pci_alloc_consistent(mlxsw_pci->pdev, in mlxsw_pci_fw_area_init()
1322 mbox->buf = pci_alloc_consistent(pdev, MLXSW_CMD_MBOX_SIZE, in mlxsw_pci_mbox_alloc()

12