Home
last modified time | relevance | path

Searched refs:msix_count (Results 1 – 12 of 12) sorted by relevance

/drivers/crypto/ccp/
Dccp-pci.c39 int msix_count; member
59 ccp_pci->msix_count = ret; in ccp_get_msix_irqs()
60 for (v = 0; v < ccp_pci->msix_count; v++) { in ccp_get_msix_irqs()
81 ccp_pci->msix_count = 0; in ccp_get_msix_irqs()
138 if (ccp_pci->msix_count) { in ccp_free_irqs()
139 while (ccp_pci->msix_count--) in ccp_free_irqs()
140 free_irq(ccp_pci->msix[ccp_pci->msix_count].vector, in ccp_free_irqs()
/drivers/net/ethernet/intel/fm10k/
Dfm10k_common.c147 u16 msix_count; in fm10k_get_pcie_msix_count_generic() local
150 msix_count = fm10k_read_pci_cfg_word(hw, FM10K_PCI_MSIX_MSG_CTRL); in fm10k_get_pcie_msix_count_generic()
151 msix_count &= FM10K_PCI_MSIX_MSG_CTRL_TBL_SZ_MASK; in fm10k_get_pcie_msix_count_generic()
154 msix_count++; in fm10k_get_pcie_msix_count_generic()
156 if (msix_count > FM10K_MAX_MSIX_VECTORS) in fm10k_get_pcie_msix_count_generic()
157 msix_count = FM10K_MAX_MSIX_VECTORS; in fm10k_get_pcie_msix_count_generic()
159 return msix_count; in fm10k_get_pcie_msix_count_generic()
/drivers/scsi/qla2xxx/
Dqla_isr.c2976 for (i = 0; i < ha->msix_count; i++) { in qla24xx_disable_msix()
2999 entries = kzalloc(sizeof(struct msix_entry) * ha->msix_count, in qla24xx_enable_msix()
3007 for (i = 0; i < ha->msix_count; i++) in qla24xx_enable_msix()
3011 entries, MIN_MSIX_COUNT, ha->msix_count); in qla24xx_enable_msix()
3016 ha->msix_count, ret); in qla24xx_enable_msix()
3018 } else if (ret < ha->msix_count) { in qla24xx_enable_msix()
3022 ha->msix_count, ret, ret); in qla24xx_enable_msix()
3023 ha->msix_count = ret; in qla24xx_enable_msix()
3024 ha->max_rsp_queues = ha->msix_count - 1; in qla24xx_enable_msix()
3027 ha->msix_count, GFP_KERNEL); in qla24xx_enable_msix()
[all …]
Dqla_os.c1562 ha->msix_count = msix; in qla2x00_iospace_config()
1567 ha->max_rsp_queues = (ha->msix_count - 1 > cpus) ? in qla2x00_iospace_config()
1568 (cpus + 1) : (ha->msix_count - 1); in qla2x00_iospace_config()
1587 ha->msix_count = ha->max_rsp_queues + 1; in qla2x00_iospace_config()
1589 "MSIX Count:%d.\n", ha->msix_count); in qla2x00_iospace_config()
1653 ha->msix_count = msix; in qla83xx_iospace_config()
1658 ha->max_rsp_queues = (ha->msix_count - 1 > cpus) ? in qla83xx_iospace_config()
1659 (cpus + 1) : (ha->msix_count - 1); in qla83xx_iospace_config()
1678 ha->msix_count = ha->max_rsp_queues + 1; in qla83xx_iospace_config()
1683 "MSIX Count:%d.\n", ha->msix_count); in qla83xx_iospace_config()
Dqla_nx.c1708 ha->msix_count = ha->max_rsp_queues + 1; in qla82xx_iospace_config()
1713 ha->max_req_queues, ha->msix_count); in qla82xx_iospace_config()
1718 ha->max_req_queues, ha->msix_count); in qla82xx_iospace_config()
Dqla_def.h3003 uint16_t msix_count; member
Dqla_target.c6379 ha->msix_count += 1; /* For ATIO Q */ in qlt_83xx_iospace_config()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_common.c2841 u16 msix_count; in ixgbe_get_pcie_msix_count_generic() local
2861 msix_count = ixgbe_read_pci_cfg_word(hw, pcie_offset); in ixgbe_get_pcie_msix_count_generic()
2863 msix_count = 0; in ixgbe_get_pcie_msix_count_generic()
2864 msix_count &= IXGBE_PCIE_MSIX_TBL_SZ_MASK; in ixgbe_get_pcie_msix_count_generic()
2867 msix_count++; in ixgbe_get_pcie_msix_count_generic()
2869 if (msix_count > max_msix_count) in ixgbe_get_pcie_msix_count_generic()
2870 msix_count = max_msix_count; in ixgbe_get_pcie_msix_count_generic()
2872 return msix_count; in ixgbe_get_pcie_msix_count_generic()
/drivers/block/
Dskd_main.c277 u32 msix_count; member
3919 for (i = 0; i < skdev->msix_count; i++) { in skd_release_msix()
3931 if (skdev->msix_count) in skd_release_msix()
3934 skdev->msix_count = 0; in skd_release_msix()
3960 skdev->msix_count = SKD_MAX_MSIX_COUNT; in skd_acquire_msix()
3962 skdev->msix_count, GFP_KERNEL); in skd_acquire_msix()
3970 for (i = 0; i < skdev->msix_count; i++) { in skd_acquire_msix()
3983 for (i = 0; i < skdev->msix_count; i++) { in skd_acquire_msix()
4003 pci_name(pdev), skdev->name, skdev->msix_count); in skd_acquire_msix()
4019 skdev->msix_count = 0; in skd_acquire_irq()
[all …]
/drivers/ntb/hw/intel/
Dntb_hw_intel.c427 int rc, i, msix_count, node; in ndev_init_isr() local
454 msix_count = pci_enable_msix_range(pdev, ndev->msix, in ndev_init_isr()
456 if (msix_count < 0) in ndev_init_isr()
459 for (i = 0; i < msix_count; ++i) { in ndev_init_isr()
469 ndev->db_vec_count = msix_count; in ndev_init_isr()
/drivers/usb/host/
Dxhci.c218 for (i = 0; i < xhci->msix_count; i++) in xhci_free_msi()
289 xhci->msix_count = min(num_online_cpus() + 1, in xhci_setup_msix()
293 kmalloc((sizeof(struct msix_entry))*xhci->msix_count, in xhci_setup_msix()
300 for (i = 0; i < xhci->msix_count; i++) { in xhci_setup_msix()
305 ret = pci_enable_msix_exact(pdev, xhci->msix_entries, xhci->msix_count); in xhci_setup_msix()
312 for (i = 0; i < xhci->msix_count; i++) { in xhci_setup_msix()
361 for (i = 0; i < xhci->msix_count; i++) in xhci_msix_sync_irqs()
Dxhci.h1548 int msix_count; member