/linux/drivers/mfd/ |
A D | timberdale.c | 645 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() 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() 780 &dev->resource[1], msix_entries[0].vector, NULL); in timb_probe() 798 kfree(msix_entries); in timb_probe() [all …]
|
/linux/drivers/infiniband/hw/hfi1/ |
A D | msix.c | 41 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/drivers/crypto/qat/qat_common/ |
A D | adf_isr.c | 115 struct adf_irq *irqs = pci_dev_info->msix_entries.irqs; in adf_free_irqs() 120 if (pci_dev_info->msix_entries.num_entries > 1) { in adf_free_irqs() 140 struct adf_irq *irqs = pci_dev_info->msix_entries.irqs; in adf_request_irqs() 219 accel_dev->accel_pci_dev.msix_entries.num_entries = msix_num_entries; in adf_isr_alloc_msix_vectors_data() 220 accel_dev->accel_pci_dev.msix_entries.irqs = irqs; in adf_isr_alloc_msix_vectors_data() 226 kfree(accel_dev->accel_pci_dev.msix_entries.irqs); in adf_isr_free_msix_vectors_data() 227 accel_dev->accel_pci_dev.msix_entries.irqs = NULL; in adf_isr_free_msix_vectors_data()
|
/linux/drivers/xen/xen-pciback/ |
A D | pciback_ops.c | 227 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/drivers/gpio/ |
A D | gpio-thunderx.c | 57 struct msix_entry *msix_entries; /* per line MSI-X */ member 402 irq = txgpio->msix_entries[child].vector; in thunderx_gpio_child_to_parent_hwirq() 476 txgpio->msix_entries = devm_kcalloc(dev, in thunderx_gpio_probe() 479 if (!txgpio->msix_entries) { in thunderx_gpio_probe() 496 txgpio->msix_entries[i].entry = txgpio->base_msi + (2 * i); in thunderx_gpio_probe() 515 err = pci_enable_msix_range(pdev, txgpio->msix_entries, ngpio, ngpio); in thunderx_gpio_probe() 537 irq_get_irq_data(txgpio->msix_entries[0].vector)->domain; in thunderx_gpio_probe() 556 txgpio->msix_entries[i].vector, in thunderx_gpio_probe() 577 txgpio->msix_entries[i].vector); in thunderx_gpio_remove()
|
/linux/drivers/net/ethernet/cavium/liquidio/ |
A D | lio_core.c | 1008 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 D | lio_vf_main.c | 171 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/drivers/net/ethernet/huawei/hinic/ |
A D | hinic_hw_dev.c | 174 msix_entries_size = nr_irqs * sizeof(*hwdev->msix_entries); in init_msix() 175 hwdev->msix_entries = devm_kzalloc(&pdev->dev, msix_entries_size, in init_msix() 177 if (!hwdev->msix_entries) in init_msix() 181 hwdev->msix_entries[i].entry = i; in init_msix() 183 err = pci_enable_msix_exact(pdev, hwdev->msix_entries, nr_irqs); in init_msix() 466 ceq_msix_entries = &hwdev->msix_entries[num_aeqs]; in hinic_hwdev_ifup() 480 sq_msix_entries = &hwdev->msix_entries[num_aeqs + num_ceqs]; in hinic_hwdev_ifup() 481 rq_msix_entries = &hwdev->msix_entries[num_aeqs + num_ceqs + num_qps]; in hinic_hwdev_ifup() 956 hwdev->msix_entries); in hinic_init_hwdev()
|
A D | hinic_hw_eqs.h | 248 struct msix_entry *msix_entries); 254 struct msix_entry *msix_entries);
|
/linux/drivers/net/ethernet/intel/ixgbe/ |
A D | ixgbe_lib.c | 770 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() 1161 kfree(adapter->msix_entries); in ixgbe_reset_interrupt_capability() 1162 adapter->msix_entries = NULL; in ixgbe_reset_interrupt_capability()
|
/linux/drivers/net/ethernet/intel/iavf/ |
A D | iavf_main.c | 211 if (!adapter->msix_entries) in iavf_misc_irq_disable() 245 if (!adapter->msix_entries) in iavf_irq_disable() 552 if (!adapter->msix_entries) in iavf_free_traffic_irqs() 575 if (!adapter->msix_entries) in iavf_free_misc_irq() 1124 kfree(adapter->msix_entries); in iavf_acquire_msix_vectors() 1125 adapter->msix_entries = NULL; in iavf_acquire_msix_vectors() 1249 adapter->msix_entries = kcalloc(v_budget, in iavf_set_interrupt_capability() 1251 if (!adapter->msix_entries) { in iavf_set_interrupt_capability() 1463 if (!adapter->msix_entries) in iavf_reset_interrupt_capability() 1467 kfree(adapter->msix_entries); in iavf_reset_interrupt_capability() [all …]
|
/linux/drivers/scsi/csiostor/ |
A D | csio_isr.c | 355 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/drivers/net/ethernet/intel/igbvf/ |
A D | netdev.c | 1005 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/drivers/infiniband/hw/irdma/ |
A D | i40iw_if.c | 83 rf->msix_entries = cdev_info->msix_entries; in i40iw_fill_device_info()
|
/linux/drivers/net/ethernet/intel/fm10k/ |
A D | fm10k_main.c | 1785 kfree(interface->msix_entries); in fm10k_reset_msix_capability() 1786 interface->msix_entries = NULL; in fm10k_reset_msix_capability() 1822 interface->msix_entries = kcalloc(v_budget, sizeof(struct msix_entry), in fm10k_init_msix_capability() 1824 if (!interface->msix_entries) in fm10k_init_msix_capability() 1829 interface->msix_entries[vector].entry = vector; in fm10k_init_msix_capability() 1833 interface->msix_entries, in fm10k_init_msix_capability() 1837 kfree(interface->msix_entries); in fm10k_init_msix_capability() 1838 interface->msix_entries = NULL; in fm10k_init_msix_capability()
|
/linux/drivers/net/ethernet/rocker/ |
A D | rocker_main.c | 98 return rocker->msix_entries[vector].vector; in rocker_msix_vector() 2656 int msix_entries; in rocker_msix_init() local 2661 if (msix_entries < 0) in rocker_msix_init() 2662 return msix_entries; in rocker_msix_init() 2667 rocker->msix_entries = kmalloc_array(msix_entries, in rocker_msix_init() 2670 if (!rocker->msix_entries) in rocker_msix_init() 2673 for (i = 0; i < msix_entries; i++) in rocker_msix_init() 2674 rocker->msix_entries[i].entry = i; in rocker_msix_init() 2676 err = pci_enable_msix_exact(pdev, rocker->msix_entries, msix_entries); in rocker_msix_init() 2683 kfree(rocker->msix_entries); in rocker_msix_init() [all …]
|
/linux/drivers/net/ethernet/qlogic/qlcnic/ |
A D | qlcnic_main.c | 682 if (!adapter->msix_entries) { in qlcnic_setup_tss_rss_intr() 683 adapter->msix_entries = kcalloc(num_msix, in qlcnic_setup_tss_rss_intr() 686 if (!adapter->msix_entries) in qlcnic_setup_tss_rss_intr() 737 if (!adapter->msix_entries) { in qlcnic_enable_msix() 741 if (!adapter->msix_entries) in qlcnic_enable_msix() 920 kfree(adapter->msix_entries); in qlcnic_teardown_intr() 921 adapter->msix_entries = NULL; in qlcnic_teardown_intr() 3813 kfree(adapter->msix_entries); in qlcnic_attach_func() 3814 adapter->msix_entries = NULL; in qlcnic_attach_func() 3818 kfree(adapter->msix_entries); in qlcnic_attach_func() [all …]
|
/linux/include/xen/interface/io/ |
A D | pciif.h | 73 struct xen_msix_entry msix_entries[SH_INFO_MAX_VEC]; member
|
/linux/drivers/net/ethernet/intel/i40e/ |
A D | i40e_client.c | 274 cdev->lan_info.msix_entries = &pf->msix_entries[pf->iwarp_base_vector]; in i40e_client_update_msix_info() 371 cdev->lan_info.msix_entries = &pf->msix_entries[pf->iwarp_base_vector]; in i40e_client_add_instance()
|
/linux/drivers/net/ethernet/intel/e1000e/ |
A D | netdev.c | 2036 if (adapter->msix_entries) { in e1000e_reset_interrupt_capability() 2073 a->msix_entries, in e1000e_set_interrupt_capability() 2168 if (adapter->msix_entries) { in e1000_request_irq() 2200 if (adapter->msix_entries) { in e1000_free_irq() 2226 if (adapter->msix_entries) in e1000_irq_disable() 2230 if (adapter->msix_entries) { in e1000_irq_disable() 2248 if (adapter->msix_entries) { in e1000_irq_enable() 2603 if (adapter->msix_entries) in e1000_set_itr() 4218 if (adapter->msix_entries) in e1000e_trigger_lsc() 4231 if (adapter->msix_entries) in e1000e_up() [all …]
|
/linux/drivers/scsi/bfa/ |
A D | bfad.c | 1146 bfad_init_msix_entry(struct bfad_s *bfad, struct msix_entry *msix_entries, in bfad_init_msix_entry() argument 1156 msix_entries[bfad->nvec].entry = i; in bfad_init_msix_entry() 1206 struct msix_entry msix_entries[MAX_MSIX_ENTRY]; in bfad_setup_intr() local 1214 bfad_init_msix_entry(bfad, msix_entries, mask, max_bit); in bfad_setup_intr() 1220 msix_entries, bfad->nvec); in bfad_setup_intr() 1228 msix_entries, 1); in bfad_setup_intr() 1248 bfa_trc(bfad, msix_entries[i].vector); in bfad_setup_intr() 1249 bfad->msix_tab[i].msix.vector = msix_entries[i].vector; in bfad_setup_intr()
|
/linux/drivers/infiniband/hw/bnxt_re/ |
A D | main.c | 315 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() 934 rdev->msix_entries[indx].db_offset; in bnxt_re_get_nqdb_offset() 959 i - 1, rdev->msix_entries[i].vector, in bnxt_re_init_res() 1046 rattr.lrid = rdev->msix_entries[i + 1].ring_idx; in bnxt_re_alloc_res() 1450 rattr.lrid = rdev->msix_entries[BNXT_RE_AEQ_IDX].ring_idx; in bnxt_re_dev_init() 1457 vid = rdev->msix_entries[BNXT_RE_AEQ_IDX].vector; in bnxt_re_dev_init()
|
/linux/drivers/pci/ |
A D | xen-pcifront.c | 266 op.msix_entries[i].entry = entry->msi_attrib.entry_nr; 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/drivers/net/ethernet/intel/igc/ |
A D | igc_main.c | 3776 if (adapter->msix_entries) { in igc_irq_enable() 3799 if (adapter->msix_entries) { in igc_irq_disable() 3812 if (adapter->msix_entries) { in igc_irq_disable() 4056 if (adapter->msix_entries) { in igc_reset_interrupt_capability() 4107 if (!adapter->msix_entries) in igc_set_interrupt_capability() 4115 adapter->msix_entries, in igc_set_interrupt_capability() 4121 kfree(adapter->msix_entries); in igc_set_interrupt_capability() 4122 adapter->msix_entries = NULL; in igc_set_interrupt_capability() 4228 if (adapter->msix_entries) in igc_ring_irq_enable() 4575 if (adapter->msix_entries) in igc_up() [all …]
|
/linux/drivers/net/ethernet/intel/ixgbevf/ |
A D | ixgbevf_main.c | 1587 free_irq(adapter->msix_entries[vector].vector, in ixgbevf_request_msix_irqs() 1625 if (!adapter->msix_entries) in ixgbevf_free_irq() 1640 free_irq(adapter->msix_entries[i].vector, in ixgbevf_free_irq() 2572 kfree(adapter->msix_entries); in ixgbevf_acquire_msix_vectors() 2573 adapter->msix_entries = NULL; in ixgbevf_acquire_msix_vectors() 2665 adapter->msix_entries = kcalloc(v_budget, in ixgbevf_set_interrupt_capability() 2667 if (!adapter->msix_entries) in ixgbevf_set_interrupt_capability() 2671 adapter->msix_entries[vector].entry = vector; in ixgbevf_set_interrupt_capability() 2939 if (!adapter->msix_entries) in ixgbevf_reset_interrupt_capability() 2943 kfree(adapter->msix_entries); in ixgbevf_reset_interrupt_capability() [all …]
|