Home
last modified time | relevance | path

Searched refs:pci_free_consistent (Results 1 – 25 of 47) 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
23 ... when != pci_free_consistent(x,y,id,z)
24 when != if (id) { ... pci_free_consistent(x,y,id,z) ... }
25 when != if (y) { ... pci_free_consistent(x,y,id,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/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ctx.c136 pci_free_consistent(adapter->pdev, size, addr, md_template_addr); in netxen_get_minidump_template()
390 pci_free_consistent(adapter->pdev, rsp_size, prsp, cardrsp_phys_addr); in nx_fw_cmd_create_rx_ctx()
392 pci_free_consistent(adapter->pdev, rq_size, prq, hostrq_phys_addr); in nx_fw_cmd_create_rx_ctx()
494 pci_free_consistent(adapter->pdev, rsp_size, rsp_addr, rsp_phys_addr); in nx_fw_cmd_create_tx_ctx()
497 pci_free_consistent(adapter->pdev, rq_size, rq_addr, rq_phys_addr); in nx_fw_cmd_create_tx_ctx()
877 pci_free_consistent(adapter->pdev, in netxen_free_hw_resources()
887 pci_free_consistent(adapter->pdev, in netxen_free_hw_resources()
897 pci_free_consistent(adapter->pdev, in netxen_free_hw_resources()
909 pci_free_consistent(adapter->pdev, in netxen_free_hw_resources()
/kernel/linux/linux-5.10/drivers/media/common/saa7146/
Dsaa7146_core.c215 pci_free_consistent(pci, pt->size, pt->cpu, pt->dma); in saa7146_pgtable_free()
474 pci_free_consistent(pci, SAA7146_RPS_MEM, dev->d_i2c.cpu_addr, in saa7146_init_one()
477 pci_free_consistent(pci, SAA7146_RPS_MEM, dev->d_rps1.cpu_addr, in saa7146_init_one()
480 pci_free_consistent(pci, SAA7146_RPS_MEM, dev->d_rps0.cpu_addr, in saa7146_init_one()
522 pci_free_consistent(pdev, SAA7146_RPS_MEM, p->addr, p->dma); in saa7146_remove_one()
Dsaa7146_vbi.c126 pci_free_consistent(dev->pci, 4096, cpu, dma_addr); in vbi_workaround()
131 pci_free_consistent(dev->pci, 4096, cpu, dma_addr); in vbi_workaround()
/kernel/linux/linux-5.10/drivers/firewire/
Dnosy.c514 pci_free_consistent(lynx->pci_device, sizeof(struct pcl), in remove_card()
516 pci_free_consistent(lynx->pci_device, sizeof(struct pcl), in remove_card()
518 pci_free_consistent(lynx->pci_device, PAGE_SIZE, in remove_card()
670 pci_free_consistent(lynx->pci_device, sizeof(struct pcl), in add_card()
673 pci_free_consistent(lynx->pci_device, sizeof(struct pcl), in add_card()
676 pci_free_consistent(lynx->pci_device, PAGE_SIZE, in add_card()
/kernel/linux/linux-5.10/drivers/media/pci/saa7164/
Dsaa7164-buffer.c140 pci_free_consistent(port->dev->pci, buf->pci_size, buf->cpu, buf->dma); in saa7164_buffer_alloc()
163 pci_free_consistent(dev->pci, buf->pci_size, buf->cpu, buf->dma); in saa7164_buffer_dealloc()
164 pci_free_consistent(dev->pci, buf->pt_size, buf->pt_cpu, buf->pt_dma); in saa7164_buffer_dealloc()
/kernel/linux/linux-5.10/drivers/media/pci/mantis/
Dmantis_dma.c55 pci_free_consistent(mantis->pdev, MANTIS_BUF_SIZE, in mantis_dma_exit()
67 pci_free_consistent(mantis->pdev, MANTIS_RISC_SIZE, in mantis_dma_exit()
/kernel/linux/linux-5.10/drivers/message/fusion/
Dmptctl.c1145 pci_free_consistent(ioc->pcidev, len, kptr, dma_addr); in kbuf_alloc_2_sgl()
1147 pci_free_consistent(ioc->pcidev, MAX_SGL_BYTES, sglbuf, *sglbuf_dma); in kbuf_alloc_2_sgl()
1185 pci_free_consistent(ioc->pcidev, len, kptr, dma_addr); in kfree_sgl()
1203 pci_free_consistent(ioc->pcidev, len, kptr, dma_addr); in kfree_sgl()
1207 pci_free_consistent(ioc->pcidev, MAX_SGL_BYTES, sgl, sgl_dma); in kfree_sgl()
2294 pci_free_consistent(ioc->pcidev, in mptctl_do_mpt_command()
2299 pci_free_consistent(ioc->pcidev, in mptctl_do_mpt_command()
2416 pci_free_consistent(ioc->pcidev, hdr.PageLength * 4, pbuf, buf_dma); in mptctl_hp_hostinfo()
2530 pci_free_consistent(ioc->pcidev, 4, pbuf, buf_dma); in mptctl_hp_hostinfo()
2634 pci_free_consistent(ioc->pcidev, data_sz, (u8 *) pg0_alloc, page_dma); in mptctl_hp_targetinfo()
[all …]
Dmptfc.c370 pci_free_consistent(ioc->pcidev, data_sz, in mptfc_GetFcDevPage0()
820 pci_free_consistent(ioc->pcidev, data_sz, (u8 *) ppage0_alloc, page0_dma); in mptfc_GetFcPortPage0()
919 pci_free_consistent(ioc->pcidev, data_sz, (u8 *) in mptfc_GetFcPortPage1()
935 pci_free_consistent(ioc->pcidev, data_sz, (u8 *) in mptfc_GetFcPortPage1()
1517 pci_free_consistent(ioc->pcidev, in mptfc_remove()
Dmptbase.c319 pci_free_consistent(ioc->pcidev, hdr.ExtPageLength * 4, in mpt_is_discovery_complete()
2778 pci_free_consistent(ioc->pcidev, sz, in mpt_adapter_disable()
3558 pci_free_consistent(ioc->pcidev, sz, ioc->cached_fw, ioc->cached_fw_dma); in mpt_free_fw_memory()
4992 pci_free_consistent(ioc->pcidev, data_sz, (u8 *) ppage0_alloc, page0_dma); in GetLanConfigPages()
5036 pci_free_consistent(ioc->pcidev, data_sz, (u8 *) ppage1_alloc, page1_dma); in GetLanConfigPages()
5335 pci_free_consistent(ioc->pcidev, data_sz, (u8 *) ppage_alloc, page_dma); in GetIoUnitPage2()
5466 pci_free_consistent(ioc->pcidev, header.PageLength * 4, pbuf, buf_dma); in mpt_GetScsiPortSettings()
5553 pci_free_consistent(ioc->pcidev, header.PageLength * 4, pbuf, buf_dma); in mpt_GetScsiPortSettings()
5717 pci_free_consistent(ioc->pcidev, hdr.PageLength * 4, buffer, in mpt_inactive_raid_volumes()
5786 pci_free_consistent(ioc->pcidev, hdr.PageLength * 4, buffer, in mpt_raid_phys_disk_pg0()
[all …]
Dmptsas.c744 pci_free_consistent(ioc->pcidev, hdr.PageLength * 4, buffer, in mptsas_add_device_component_starget_ir()
1401 pci_free_consistent(ioc->pcidev, hdr.ExtPageLength * 4, in mptsas_sas_enclosure_pg0()
2056 pci_free_consistent(ioc->pcidev, hdr.ExtPageLength * 4, in mptsas_get_linkerrors()
2427 pci_free_consistent(ioc->pcidev, hdr.ExtPageLength * 4, in mptsas_sas_io_unit_pg0()
2484 pci_free_consistent(ioc->pcidev, hdr.ExtPageLength * 4, in mptsas_sas_io_unit_pg1()
2548 pci_free_consistent(ioc->pcidev, hdr.ExtPageLength * 4, in mptsas_sas_phy_pg0()
2629 pci_free_consistent(ioc->pcidev, hdr.ExtPageLength * 4, in mptsas_sas_device_pg0()
2712 pci_free_consistent(ioc->pcidev, hdr.ExtPageLength * 4, in mptsas_sas_expander_pg0()
2785 pci_free_consistent(ioc->pcidev, hdr.ExtPageLength * 4, in mptsas_sas_expander_pg1()
2961 pci_free_consistent(ioc->pcidev, sz, data_out, data_out_dma); in mptsas_exp_repmanufacture_info()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dpci-dma-compat.h31 pci_free_consistent(struct pci_dev *hwdev, size_t size, in pci_free_consistent() function
/kernel/linux/linux-5.10/drivers/media/pci/bt8xx/
Dbt878.c70 pci_free_consistent(bt->dev, bt->buf_size, bt->buf_cpu, in bt878_mem_free()
76 pci_free_consistent(bt->dev, bt->risc_size, bt->risc_cpu, in bt878_mem_free()
Dbtcx-risc.c51 pci_free_consistent(pci, risc->size, risc->cpu, risc->dma); in btcx_riscmem_free()
/kernel/linux/linux-5.10/drivers/media/pci/ngene/
Dngene-core.c766 pci_free_consistent(dev->pci_dev, in free_ringbuffer()
772 pci_free_consistent(dev->pci_dev, in free_ringbuffer()
779 pci_free_consistent(dev->pci_dev, rb->SCListMemSize, in free_ringbuffer()
782 pci_free_consistent(dev->pci_dev, rb->MemSize, rb->Head, rb->PAHead); in free_ringbuffer()
816 pci_free_consistent(dev->pci_dev, in free_common_buffers()
821 pci_free_consistent(dev->pci_dev, in free_common_buffers()
/kernel/linux/linux-5.10/drivers/media/pci/b2c2/
Dflexcop-dma.c36 pci_free_consistent(dma->pdev, dma->size*2, in flexcop_dma_free()
/kernel/linux/linux-5.10/drivers/media/pci/solo6x10/
Dsolo6x10-v4l2-enc.c1320 pci_free_consistent(solo_enc->solo_dev->pdev, in solo_enc_alloc()
1334 pci_free_consistent(solo_enc->solo_dev->pdev, in solo_enc_free()
1366 pci_free_consistent(solo_dev->pdev, solo_dev->vh_size, in solo_enc_v4l2_init()
1394 pci_free_consistent(solo_dev->pdev, solo_dev->vh_size, in solo_enc_v4l2_exit()
Dsolo6x10-g723.c151 pci_free_consistent(solo_pcm->solo_dev->pdev, G723_PERIOD_BYTES, in snd_solo_pcm_close()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/
Dqla3xxx.c2547 pci_free_consistent(qdev->pdev, (size_t) qdev->req_q_size, in ql_alloc_net_req_rsp_queues()
2565 pci_free_consistent(qdev->pdev, in ql_free_net_req_rsp_queues()
2571 pci_free_consistent(qdev->pdev, in ql_free_net_req_rsp_queues()
2623 pci_free_consistent(qdev->pdev, qdev->lrg_buf_q_alloc_size, in ql_alloc_buffer_queues()
2642 pci_free_consistent(qdev->pdev, in ql_free_buffer_queues()
2649 pci_free_consistent(qdev->pdev, in ql_free_buffer_queues()
2705 pci_free_consistent(qdev->pdev, in ql_free_small_buffers()
2925 pci_free_consistent(qdev->pdev, in ql_alloc_mem_resources()
2941 pci_free_consistent(qdev->pdev, in ql_free_mem_resources()
/kernel/linux/linux-5.10/drivers/media/pci/cx88/
Dcx88-vbi.c161 pci_free_consistent(dev->pci, risc->size, risc->cpu, risc->dma); in buffer_finish()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dpci.c896 pci_free_consistent(mlxsw_pci->pdev, mem_item->size, in mlxsw_pci_queue_init()
909 pci_free_consistent(mlxsw_pci->pdev, mem_item->size, in mlxsw_pci_queue_fini()
1279 pci_free_consistent(mlxsw_pci->pdev, mem_item->size, in mlxsw_pci_fw_area_init()
1296 pci_free_consistent(mlxsw_pci->pdev, mem_item->size, in mlxsw_pci_fw_area_fini()
1337 pci_free_consistent(pdev, MLXSW_CMD_MBOX_SIZE, mbox->buf, in mlxsw_pci_mbox_free()
/kernel/linux/linux-5.10/drivers/parport/
Dparport_gsc.c394 pci_free_consistent(priv->dev, PAGE_SIZE, in parport_remove_chip()
/kernel/linux/linux-5.10/Documentation/scsi/
DChangeLog.arcmsr109 ** 8.replace pci_alloc_consistent()/pci_free_consistent() with kmalloc()/kfree() in arcmsr_iop…
/kernel/linux/linux-5.10/drivers/media/pci/cx23885/
Dcx23885-alsa.c269 pci_free_consistent(chip->pci, risc->size, risc->cpu, risc->dma); in dsp_buffer_free()
/kernel/linux/linux-5.10/drivers/media/pci/tw686x/
Dtw686x-audio.c303 pci_free_consistent(dev->pci_dev, ac->dma_descs[pb].size, in tw686x_audio_dma_free()

12