Home
last modified time | relevance | path

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

1234

/Linux-v6.1/drivers/mfd/
Dtimberdale.c645 struct msix_entry *msix_entries = NULL; in timb_probe() local
697 msix_entries = kcalloc(TIMBERDALE_NR_IRQS, sizeof(*msix_entries), in timb_probe()
699 if (!msix_entries) in timb_probe()
703 msix_entries[i].entry = i; in timb_probe()
705 err = pci_enable_msix_exact(dev, msix_entries, TIMBERDALE_NR_IRQS); in timb_probe()
723 msix_entries[timberdale_i2c_board_info[i].irq].vector; in timb_probe()
746 &dev->resource[0], msix_entries[0].vector, NULL); in timb_probe()
752 &dev->resource[0], msix_entries[0].vector, NULL); in timb_probe()
758 &dev->resource[0], msix_entries[0].vector, NULL); in timb_probe()
764 &dev->resource[0], msix_entries[0].vector, NULL); in timb_probe()
[all …]
/Linux-v6.1/drivers/infiniband/hw/hfi1/
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-v6.1/drivers/crypto/qat/qat_common/
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-v6.1/drivers/xen/xen-pciback/
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-v6.1/drivers/net/ethernet/marvell/octeon_ep/
Doctep_main.c111 oct->msix_entries = kcalloc(num_msix, in octep_enable_msix_range()
113 if (!oct->msix_entries) in octep_enable_msix_range()
117 oct->msix_entries[i].entry = i; in octep_enable_msix_range()
119 msix_allocated = pci_enable_msix_range(oct->pdev, oct->msix_entries, in octep_enable_msix_range()
135 kfree(oct->msix_entries); in octep_enable_msix_range()
136 oct->msix_entries = NULL; in octep_enable_msix_range()
151 kfree(oct->msix_entries); in octep_disable_msix()
152 oct->msix_entries = NULL; in octep_disable_msix()
220 msix_entry = &oct->msix_entries[i]; in octep_request_irqs()
238 msix_entry = &oct->msix_entries[j + num_non_ioq_msix]; in octep_request_irqs()
[all …]
/Linux-v6.1/drivers/gpio/
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-v6.1/drivers/net/ethernet/cavium/liquidio/
Dlio_core.c1008 struct msix_entry *msix_entries; in octeon_setup_interrupt() local
1043 oct->msix_entries = kcalloc(oct->num_msix_irqs, in octeon_setup_interrupt()
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()
1063 msix_entries[oct->num_msix_irqs - 1].entry = in octeon_setup_interrupt()
1067 msix_entries[i].entry = i; in octeon_setup_interrupt()
1070 oct->pci_dev, msix_entries, in octeon_setup_interrupt()
1075 kfree(oct->msix_entries); in octeon_setup_interrupt()
1076 oct->msix_entries = NULL; in octeon_setup_interrupt()
[all …]
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()
188 irq_set_affinity_hint(msix_entries[i].vector, 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()
[all …]
/Linux-v6.1/drivers/net/ethernet/huawei/hinic/
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()
Dhinic_hw_eqs.h248 struct msix_entry *msix_entries);
254 struct msix_entry *msix_entries);
/Linux-v6.1/drivers/net/ethernet/intel/ixgbe/
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-v6.1/drivers/infiniband/hw/irdma/
Di40iw_if.c84 rf->msix_entries = cdev_info->msix_entries; in i40iw_fill_device_info()
/Linux-v6.1/drivers/scsi/csiostor/
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-v6.1/drivers/net/ethernet/intel/igbvf/
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()
1025 adapter->msix_entries = kcalloc(3, sizeof(struct msix_entry), in igbvf_set_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()
1073 err = request_irq(adapter->msix_entries[vector].vector, in igbvf_request_msix()
1083 err = request_irq(adapter->msix_entries[vector].vector, in igbvf_request_msix()
[all …]
/Linux-v6.1/include/xen/interface/io/
Dpciif.h73 struct xen_msix_entry msix_entries[SH_INFO_MAX_VEC]; member
/Linux-v6.1/drivers/net/ethernet/intel/fm10k/
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-v6.1/drivers/net/ethernet/rocker/
Drocker_main.c98 return rocker->msix_entries[vector].vector; in rocker_msix_vector()
2642 int msix_entries; in rocker_msix_init() local
2646 msix_entries = pci_msix_vec_count(pdev); in rocker_msix_init()
2647 if (msix_entries < 0) in rocker_msix_init()
2648 return msix_entries; in rocker_msix_init()
2650 if (msix_entries != ROCKER_MSIX_VEC_COUNT(rocker->port_count)) 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()
[all …]
/Linux-v6.1/drivers/net/ethernet/intel/iavf/
Diavf_main.c318 if (!adapter->msix_entries) in iavf_misc_irq_disable()
325 synchronize_irq(adapter->msix_entries[0].vector); in iavf_misc_irq_disable()
352 if (!adapter->msix_entries) in iavf_irq_disable()
357 synchronize_irq(adapter->msix_entries[i].vector); in iavf_irq_disable()
570 irq_num = adapter->msix_entries[vector + NONQ_VECS].vector; in iavf_request_traffic_irqs()
614 irq_num = adapter->msix_entries[vector + NONQ_VECS].vector; in iavf_request_traffic_irqs()
638 err = request_irq(adapter->msix_entries[0].vector, in iavf_request_misc_irq()
645 free_irq(adapter->msix_entries[0].vector, netdev); in iavf_request_misc_irq()
660 if (!adapter->msix_entries) in iavf_free_traffic_irqs()
666 irq_num = adapter->msix_entries[vector + NONQ_VECS].vector; in iavf_free_traffic_irqs()
[all …]
/Linux-v6.1/drivers/net/ethernet/qlogic/qlcnic/
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()
692 adapter->msix_entries[vector].entry = vector; in qlcnic_setup_tss_rss_intr()
695 err = pci_enable_msix_exact(pdev, adapter->msix_entries, num_msix); in qlcnic_setup_tss_rss_intr()
738 if (!adapter->msix_entries) { in qlcnic_enable_msix()
739 adapter->msix_entries = kcalloc(num_msix, in qlcnic_enable_msix()
742 if (!adapter->msix_entries) in qlcnic_enable_msix()
751 adapter->msix_entries[vector].entry = vector; in qlcnic_enable_msix()
754 adapter->msix_entries, 1, num_msix); in qlcnic_enable_msix()
[all …]
/Linux-v6.1/drivers/net/ethernet/intel/i40e/
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-v6.1/drivers/pci/
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-v6.1/drivers/scsi/bfa/
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-v6.1/drivers/infiniband/hw/bnxt_re/
Dmain.c315 struct bnxt_msix_entry *msix_ent = rdev->msix_entries; in bnxt_re_start_irq()
334 rdev->msix_entries[indx].vector = ent[indx].vector; in bnxt_re_start_irq()
423 rdev->msix_entries, in bnxt_re_request_msix()
933 rdev->msix_entries[indx].db_offset; in bnxt_re_get_nqdb_offset()
958 i - 1, rdev->msix_entries[i].vector, in bnxt_re_init_res()
1045 rattr.lrid = rdev->msix_entries[i + 1].ring_idx; in bnxt_re_alloc_res()
1449 rattr.lrid = rdev->msix_entries[BNXT_RE_AEQ_IDX].ring_idx; in bnxt_re_dev_init()
1456 vid = rdev->msix_entries[BNXT_RE_AEQ_IDX].vector; in bnxt_re_dev_init()
Dbnxt_re.h138 struct bnxt_msix_entry msix_entries[BNXT_RE_MAX_MSIX]; member
/Linux-v6.1/drivers/net/ethernet/intel/e1000e/
Dnetdev.c2037 if (adapter->msix_entries) { in e1000e_reset_interrupt_capability()
2039 kfree(adapter->msix_entries); in e1000e_reset_interrupt_capability()
2040 adapter->msix_entries = NULL; in e1000e_reset_interrupt_capability()
2063 adapter->msix_entries = kcalloc(adapter->num_vectors, in e1000e_set_interrupt_capability()
2067 if (adapter->msix_entries) { in e1000e_set_interrupt_capability()
2071 adapter->msix_entries[i].entry = i; in e1000e_set_interrupt_capability()
2074 a->msix_entries, in e1000e_set_interrupt_capability()
2121 err = request_irq(adapter->msix_entries[vector].vector, in e1000_request_msix()
2137 err = request_irq(adapter->msix_entries[vector].vector, in e1000_request_msix()
2147 err = request_irq(adapter->msix_entries[vector].vector, in e1000_request_msix()
[all …]

1234