/kernel/linux/linux-5.10/scripts/coccinelle/free/ |
D | pci_free_consistent.cocci | 2 /// 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/ |
D | netxen_nic_ctx.c | 136 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/ |
D | saa7146_core.c | 215 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()
|
D | saa7146_vbi.c | 126 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/ |
D | nosy.c | 514 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/ |
D | saa7164-buffer.c | 140 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/ |
D | mantis_dma.c | 55 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/ |
D | mptctl.c | 1145 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 …]
|
D | mptfc.c | 370 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()
|
D | mptbase.c | 319 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 …]
|
D | mptsas.c | 744 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/ |
D | pci-dma-compat.h | 31 pci_free_consistent(struct pci_dev *hwdev, size_t size, in pci_free_consistent() function
|
/kernel/linux/linux-5.10/drivers/media/pci/bt8xx/ |
D | bt878.c | 70 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()
|
D | btcx-risc.c | 51 pci_free_consistent(pci, risc->size, risc->cpu, risc->dma); in btcx_riscmem_free()
|
/kernel/linux/linux-5.10/drivers/media/pci/ngene/ |
D | ngene-core.c | 766 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/ |
D | flexcop-dma.c | 36 pci_free_consistent(dma->pdev, dma->size*2, in flexcop_dma_free()
|
/kernel/linux/linux-5.10/drivers/media/pci/solo6x10/ |
D | solo6x10-v4l2-enc.c | 1320 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()
|
D | solo6x10-g723.c | 151 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/ |
D | qla3xxx.c | 2547 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/ |
D | cx88-vbi.c | 161 pci_free_consistent(dev->pci, risc->size, risc->cpu, risc->dma); in buffer_finish()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
D | pci.c | 896 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/ |
D | parport_gsc.c | 394 pci_free_consistent(priv->dev, PAGE_SIZE, in parport_remove_chip()
|
/kernel/linux/linux-5.10/Documentation/scsi/ |
D | ChangeLog.arcmsr | 109 ** 8.replace pci_alloc_consistent()/pci_free_consistent() with kmalloc()/kfree() in arcmsr_iop…
|
/kernel/linux/linux-5.10/drivers/media/pci/cx23885/ |
D | cx23885-alsa.c | 269 pci_free_consistent(chip->pci, risc->size, risc->cpu, risc->dma); in dsp_buffer_free()
|
/kernel/linux/linux-5.10/drivers/media/pci/tw686x/ |
D | tw686x-audio.c | 303 pci_free_consistent(dev->pci_dev, ac->dma_descs[pb].size, in tw686x_audio_dma_free()
|