Home
last modified time | relevance | path

Searched refs:msix_entries (Results 1 – 25 of 97) sorted by relevance

1234

/linux-6.3-rc2/drivers/mfd/
A Dtimberdale.c644 struct msix_entry *msix_entries = NULL; in timb_probe() local
696 msix_entries = kcalloc(TIMBERDALE_NR_IRQS, sizeof(*msix_entries), in timb_probe()
698 if (!msix_entries) in timb_probe()
702 msix_entries[i].entry = i; in timb_probe()
745 &dev->resource[0], msix_entries[0].vector, NULL); in timb_probe()
751 &dev->resource[0], msix_entries[0].vector, NULL); in timb_probe()
757 &dev->resource[0], msix_entries[0].vector, NULL); in timb_probe()
763 &dev->resource[0], msix_entries[0].vector, NULL); in timb_probe()
779 &dev->resource[1], msix_entries[0].vector, NULL); in timb_probe()
797 kfree(msix_entries); in timb_probe()
[all …]
/linux-6.3-rc2/drivers/infiniband/hw/hfi1/
A Dmsix.c41 entries = kcalloc(total, sizeof(*dd->msix_info.msix_entries), in msix_initialize()
48 dd->msix_info.msix_entries = entries; in msix_initialize()
113 me = &dd->msix_info.msix_entries[nr]; in msix_request_irq()
293 me = &dd->msix_info.msix_entries[msix_intr]; in msix_free_irq()
317 struct hfi1_msix_entry *me = dd->msix_info.msix_entries; in msix_clean_up_interrupts()
324 kfree(dd->msix_info.msix_entries); in msix_clean_up_interrupts()
325 dd->msix_info.msix_entries = NULL; in msix_clean_up_interrupts()
344 me = &dd->msix_info.msix_entries[rcd->msix_intr]; in msix_netdev_synchronize_irq()
/linux-6.3-rc2/drivers/crypto/qat/qat_common/
A Dadf_isr.c158 struct adf_irq *irqs = pci_dev_info->msix_entries.irqs; in adf_free_irqs()
163 if (pci_dev_info->msix_entries.num_entries > 1) { in adf_free_irqs()
183 struct adf_irq *irqs = pci_dev_info->msix_entries.irqs; in adf_request_irqs()
262 accel_dev->accel_pci_dev.msix_entries.num_entries = msix_num_entries; in adf_isr_alloc_msix_vectors_data()
263 accel_dev->accel_pci_dev.msix_entries.irqs = irqs; in adf_isr_alloc_msix_vectors_data()
269 kfree(accel_dev->accel_pci_dev.msix_entries.irqs); in adf_isr_free_msix_vectors_data()
270 accel_dev->accel_pci_dev.msix_entries.irqs = NULL; in adf_isr_free_msix_vectors_data()
/linux-6.3-rc2/drivers/xen/xen-pciback/
A Dpciback_ops.c227 entries[i].entry = op->msix_entries[i].entry; in xen_pcibk_enable_msix()
228 entries[i].vector = op->msix_entries[i].vector; in xen_pcibk_enable_msix()
234 op->msix_entries[i].entry = entries[i].entry; in xen_pcibk_enable_msix()
236 op->msix_entries[i].vector = in xen_pcibk_enable_msix()
239 op->msix_entries[i].vector); in xen_pcibk_enable_msix()
382 pdev->sh_info->op.msix_entries[i].vector = in xen_pcibk_do_one_op()
383 op->msix_entries[i].vector; in xen_pcibk_do_one_op()
/linux-6.3-rc2/drivers/net/ethernet/marvell/octeon_ep/
A Doctep_main.c112 oct->msix_entries = kcalloc(num_msix, in octep_enable_msix_range()
114 if (!oct->msix_entries) in octep_enable_msix_range()
118 oct->msix_entries[i].entry = i; in octep_enable_msix_range()
136 kfree(oct->msix_entries); in octep_enable_msix_range()
137 oct->msix_entries = NULL; in octep_enable_msix_range()
152 kfree(oct->msix_entries); in octep_disable_msix()
153 oct->msix_entries = NULL; in octep_disable_msix()
221 msix_entry = &oct->msix_entries[i]; in octep_request_irqs()
272 free_irq(oct->msix_entries[i].vector, oct); in octep_request_irqs()
293 free_irq(oct->msix_entries[i].vector, oct); in octep_free_irqs()
[all …]
/linux-6.3-rc2/drivers/gpio/
A Dgpio-thunderx.c55 struct msix_entry *msix_entries; /* per line MSI-X */ member
400 irq = txgpio->msix_entries[child].vector; in thunderx_gpio_child_to_parent_hwirq()
471 txgpio->msix_entries = devm_kcalloc(dev, in thunderx_gpio_probe()
474 if (!txgpio->msix_entries) { in thunderx_gpio_probe()
491 txgpio->msix_entries[i].entry = txgpio->base_msi + (2 * i); in thunderx_gpio_probe()
510 err = pci_enable_msix_range(pdev, txgpio->msix_entries, ngpio, ngpio); in thunderx_gpio_probe()
532 irq_get_irq_data(txgpio->msix_entries[0].vector)->domain; in thunderx_gpio_probe()
551 txgpio->msix_entries[i].vector, in thunderx_gpio_probe()
572 txgpio->msix_entries[i].vector); in thunderx_gpio_remove()
/linux-6.3-rc2/drivers/net/ethernet/cavium/liquidio/
A Dlio_core.c1008 struct msix_entry *msix_entries; in octeon_setup_interrupt() local
1046 if (!oct->msix_entries) { in octeon_setup_interrupt()
1053 msix_entries = (struct msix_entry *)oct->msix_entries; in octeon_setup_interrupt()
1060 msix_entries[i].entry = in octeon_setup_interrupt()
1067 msix_entries[i].entry = i; in octeon_setup_interrupt()
1075 kfree(oct->msix_entries); in octeon_setup_interrupt()
1076 oct->msix_entries = NULL; in octeon_setup_interrupt()
1101 kfree(oct->msix_entries); in octeon_setup_interrupt()
1104 oct->msix_entries = NULL; in octeon_setup_interrupt()
1142 kfree(oct->msix_entries); in octeon_setup_interrupt()
[all …]
A Dlio_vf_main.c171 struct msix_entry *msix_entries; in stop_pci_io() local
185 msix_entries = (struct msix_entry *)oct->msix_entries; in stop_pci_io()
190 free_irq(msix_entries[i].vector, in stop_pci_io()
194 kfree(oct->msix_entries); in stop_pci_io()
195 oct->msix_entries = NULL; in stop_pci_io()
447 struct msix_entry *msix_entries; in octeon_destroy_resources() local
511 msix_entries = (struct msix_entry *)oct->msix_entries; in octeon_destroy_resources()
515 msix_entries[i].vector, in octeon_destroy_resources()
517 free_irq(msix_entries[i].vector, in octeon_destroy_resources()
523 kfree(oct->msix_entries); in octeon_destroy_resources()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/huawei/hinic/
A Dhinic_hw_dev.c167 hwdev->msix_entries = devm_kcalloc(&pdev->dev, nr_irqs, in init_msix()
168 sizeof(*hwdev->msix_entries), in init_msix()
170 if (!hwdev->msix_entries) in init_msix()
174 hwdev->msix_entries[i].entry = i; in init_msix()
176 err = pci_enable_msix_exact(pdev, hwdev->msix_entries, nr_irqs); in init_msix()
459 ceq_msix_entries = &hwdev->msix_entries[num_aeqs]; in hinic_hwdev_ifup()
473 sq_msix_entries = &hwdev->msix_entries[num_aeqs + num_ceqs]; in hinic_hwdev_ifup()
474 rq_msix_entries = &hwdev->msix_entries[num_aeqs + num_ceqs + num_qps]; in hinic_hwdev_ifup()
949 hwdev->msix_entries); in hinic_init_hwdev()
A Dhinic_hw_eqs.h248 struct msix_entry *msix_entries);
254 struct msix_entry *msix_entries);
/linux-6.3-rc2/drivers/net/ethernet/intel/ixgbe/
A Dixgbe_lib.c770 adapter->msix_entries = kcalloc(vectors, in ixgbe_acquire_msix_vectors()
773 if (!adapter->msix_entries) in ixgbe_acquire_msix_vectors()
777 adapter->msix_entries[i].entry = i; in ixgbe_acquire_msix_vectors()
779 vectors = pci_enable_msix_range(adapter->pdev, adapter->msix_entries, in ixgbe_acquire_msix_vectors()
790 kfree(adapter->msix_entries); in ixgbe_acquire_msix_vectors()
791 adapter->msix_entries = NULL; in ixgbe_acquire_msix_vectors()
1160 kfree(adapter->msix_entries); in ixgbe_reset_interrupt_capability()
1161 adapter->msix_entries = NULL; in ixgbe_reset_interrupt_capability()
/linux-6.3-rc2/drivers/infiniband/hw/irdma/
A Di40iw_if.c84 rf->msix_entries = cdev_info->msix_entries; in i40iw_fill_device_info()
/linux-6.3-rc2/drivers/scsi/csiostor/
A Dcsio_isr.c355 struct csio_msix_entries *entryp = &hw->msix_entries[0]; in csio_add_msix_desc()
384 struct csio_msix_entries *entryp = &hw->msix_entries[0]; in csio_request_irqs()
450 free_irq(pci_irq_vector(pdev, i), hw->msix_entries[i].dev_id); in csio_request_irqs()
595 hw->msix_entries[i].dev_id); in csio_intr_disable()
/linux-6.3-rc2/drivers/net/ethernet/wangxun/libwx/
A Dwx_lib.c961 wx->msix_entries = kcalloc(nvecs, in wx_acquire_msix_vectors()
964 if (!wx->msix_entries) in wx_acquire_msix_vectors()
973 kfree(wx->msix_entries); in wx_acquire_msix_vectors()
974 wx->msix_entries = NULL; in wx_acquire_msix_vectors()
979 wx->msix_entries[i].entry = i; in wx_acquire_msix_vectors()
980 wx->msix_entries[i].vector = pci_irq_vector(wx->pdev, i); in wx_acquire_msix_vectors()
1270 kfree(wx->msix_entries); in wx_reset_interrupt_capability()
1271 wx->msix_entries = NULL; in wx_reset_interrupt_capability()
1342 struct msix_entry *entry = &wx->msix_entries[vector]; in wx_free_irq()
1351 free_irq(wx->msix_entries[vector].vector, wx); in wx_free_irq()
/linux-6.3-rc2/drivers/net/ethernet/intel/igbvf/
A Dnetdev.c1005 if (adapter->msix_entries) { in igbvf_reset_interrupt_capability()
1007 kfree(adapter->msix_entries); in igbvf_reset_interrupt_capability()
1008 adapter->msix_entries = NULL; in igbvf_reset_interrupt_capability()
1027 if (adapter->msix_entries) { in igbvf_set_interrupt_capability()
1029 adapter->msix_entries[i].entry = i; in igbvf_set_interrupt_capability()
1032 adapter->msix_entries, 3, 3); in igbvf_set_interrupt_capability()
1063 err = request_irq(adapter->msix_entries[vector].vector, in igbvf_request_msix()
1129 if (adapter->msix_entries) in igbvf_request_irq()
1146 if (adapter->msix_entries) { in igbvf_free_irq()
1162 if (adapter->msix_entries) in igbvf_irq_disable()
[all …]
/linux-6.3-rc2/include/xen/interface/io/
A Dpciif.h73 struct xen_msix_entry msix_entries[SH_INFO_MAX_VEC]; member
/linux-6.3-rc2/drivers/net/ethernet/intel/fm10k/
A Dfm10k_main.c1792 kfree(interface->msix_entries); in fm10k_reset_msix_capability()
1793 interface->msix_entries = NULL; in fm10k_reset_msix_capability()
1829 interface->msix_entries = kcalloc(v_budget, sizeof(struct msix_entry), in fm10k_init_msix_capability()
1831 if (!interface->msix_entries) in fm10k_init_msix_capability()
1836 interface->msix_entries[vector].entry = vector; in fm10k_init_msix_capability()
1840 interface->msix_entries, in fm10k_init_msix_capability()
1844 kfree(interface->msix_entries); in fm10k_init_msix_capability()
1845 interface->msix_entries = NULL; in fm10k_init_msix_capability()
/linux-6.3-rc2/drivers/net/ethernet/rocker/
A Drocker_main.c98 return rocker->msix_entries[vector].vector; in rocker_msix_vector()
2642 int msix_entries; in rocker_msix_init() local
2647 if (msix_entries < 0) in rocker_msix_init()
2648 return msix_entries; in rocker_msix_init()
2653 rocker->msix_entries = kmalloc_array(msix_entries, in rocker_msix_init()
2656 if (!rocker->msix_entries) in rocker_msix_init()
2659 for (i = 0; i < msix_entries; i++) in rocker_msix_init()
2660 rocker->msix_entries[i].entry = i; in rocker_msix_init()
2662 err = pci_enable_msix_exact(pdev, rocker->msix_entries, msix_entries); in rocker_msix_init()
2669 kfree(rocker->msix_entries); in rocker_msix_init()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/intel/iavf/
A Diavf_main.c317 if (!adapter->msix_entries) in iavf_misc_irq_disable()
351 if (!adapter->msix_entries) in iavf_irq_disable()
659 if (!adapter->msix_entries) in iavf_free_traffic_irqs()
682 if (!adapter->msix_entries) in iavf_free_misc_irq()
1449 kfree(adapter->msix_entries); in iavf_acquire_msix_vectors()
1450 adapter->msix_entries = NULL; in iavf_acquire_msix_vectors()
1656 adapter->msix_entries = kcalloc(v_budget, in iavf_set_interrupt_capability()
1658 if (!adapter->msix_entries) { in iavf_set_interrupt_capability()
1869 if (!adapter->msix_entries) in iavf_reset_interrupt_capability()
1873 kfree(adapter->msix_entries); in iavf_reset_interrupt_capability()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/qlogic/qlcnic/
A Dqlcnic_main.c683 if (!adapter->msix_entries) { in qlcnic_setup_tss_rss_intr()
684 adapter->msix_entries = kcalloc(num_msix, in qlcnic_setup_tss_rss_intr()
687 if (!adapter->msix_entries) in qlcnic_setup_tss_rss_intr()
738 if (!adapter->msix_entries) { in qlcnic_enable_msix()
742 if (!adapter->msix_entries) in qlcnic_enable_msix()
921 kfree(adapter->msix_entries); in qlcnic_teardown_intr()
922 adapter->msix_entries = NULL; in qlcnic_teardown_intr()
3802 kfree(adapter->msix_entries); in qlcnic_attach_func()
3803 adapter->msix_entries = NULL; in qlcnic_attach_func()
3807 kfree(adapter->msix_entries); in qlcnic_attach_func()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/intel/i40e/
A Di40e_client.c278 cdev->lan_info.msix_entries = &pf->msix_entries[pf->iwarp_base_vector]; in i40e_client_update_msix_info()
375 cdev->lan_info.msix_entries = &pf->msix_entries[pf->iwarp_base_vector]; in i40e_client_add_instance()
/linux-6.3-rc2/drivers/pci/
A Dxen-pcifront.c266 op.msix_entries[i].entry = entry->msi_index; in pci_frontend_enable_msix()
268 op.msix_entries[i].vector = -1; in pci_frontend_enable_msix()
278 if (op.msix_entries[i].vector <= 0) { in pci_frontend_enable_msix()
280 i, op.msix_entries[i].vector); in pci_frontend_enable_msix()
285 vector[i] = op.msix_entries[i].vector; in pci_frontend_enable_msix()
/linux-6.3-rc2/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_ulp.h56 struct bnxt_msix_entry msix_entries[BNXT_MAX_ROCE_MSIX]; member
/linux-6.3-rc2/drivers/scsi/bfa/
A Dbfad.c1143 bfad_init_msix_entry(struct bfad_s *bfad, struct msix_entry *msix_entries, in bfad_init_msix_entry() argument
1153 msix_entries[bfad->nvec].entry = i; in bfad_init_msix_entry()
1203 struct msix_entry msix_entries[MAX_MSIX_ENTRY]; in bfad_setup_intr() local
1211 bfad_init_msix_entry(bfad, msix_entries, mask, max_bit); in bfad_setup_intr()
1217 msix_entries, bfad->nvec); in bfad_setup_intr()
1225 msix_entries, 1); in bfad_setup_intr()
1245 bfa_trc(bfad, msix_entries[i].vector); in bfad_setup_intr()
1246 bfad->msix_tab[i].msix.vector = msix_entries[i].vector; in bfad_setup_intr()
/linux-6.3-rc2/drivers/net/ethernet/intel/e1000e/
A Dnetdev.c2030 if (adapter->msix_entries) { in e1000e_reset_interrupt_capability()
2067 a->msix_entries, in e1000e_set_interrupt_capability()
2162 if (adapter->msix_entries) { in e1000_request_irq()
2194 if (adapter->msix_entries) { in e1000_free_irq()
2220 if (adapter->msix_entries) in e1000_irq_disable()
2224 if (adapter->msix_entries) { in e1000_irq_disable()
2242 if (adapter->msix_entries) { in e1000_irq_enable()
2597 if (adapter->msix_entries) in e1000_set_itr()
4210 if (adapter->msix_entries) in e1000e_trigger_lsc()
4223 if (adapter->msix_entries) in e1000e_up()
[all …]

Completed in 101 milliseconds

1234