Home
last modified time | relevance | path

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

/linux-4.4.14/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()
/linux-4.4.14/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()
/linux-4.4.14/drivers/scsi/qla2xxx/
Dqla_isr.c2974 for (i = 0; i < ha->msix_count; i++) { in qla24xx_disable_msix()
2997 entries = kzalloc(sizeof(struct msix_entry) * ha->msix_count, in qla24xx_enable_msix()
3005 for (i = 0; i < ha->msix_count; i++) in qla24xx_enable_msix()
3009 entries, MIN_MSIX_COUNT, ha->msix_count); in qla24xx_enable_msix()
3014 ha->msix_count, ret); in qla24xx_enable_msix()
3016 } else if (ret < ha->msix_count) { in qla24xx_enable_msix()
3020 ha->msix_count, ret, ret); in qla24xx_enable_msix()
3021 ha->msix_count = ret; in qla24xx_enable_msix()
3022 ha->max_rsp_queues = ha->msix_count - 1; in qla24xx_enable_msix()
3025 ha->msix_count, GFP_KERNEL); in qla24xx_enable_msix()
[all …]
Dqla_os.c1573 ha->msix_count = msix; in qla2x00_iospace_config()
1578 ha->max_rsp_queues = (ha->msix_count - 1 > cpus) ? in qla2x00_iospace_config()
1579 (cpus + 1) : (ha->msix_count - 1); in qla2x00_iospace_config()
1598 ha->msix_count = ha->max_rsp_queues + 1; in qla2x00_iospace_config()
1600 "MSIX Count:%d.\n", ha->msix_count); in qla2x00_iospace_config()
1664 ha->msix_count = msix; in qla83xx_iospace_config()
1669 ha->max_rsp_queues = (ha->msix_count - 1 > cpus) ? in qla83xx_iospace_config()
1670 (cpus + 1) : (ha->msix_count - 1); in qla83xx_iospace_config()
1689 ha->msix_count = ha->max_rsp_queues + 1; in qla83xx_iospace_config()
1694 "MSIX Count:%d.\n", ha->msix_count); in qla83xx_iospace_config()
Dqla_nx.c1707 ha->msix_count = ha->max_rsp_queues + 1; in qla82xx_iospace_config()
1712 ha->max_req_queues, ha->msix_count); in qla82xx_iospace_config()
1717 ha->max_req_queues, ha->msix_count); in qla82xx_iospace_config()
Dqla_def.h3003 uint16_t msix_count; member
Dqla_target.c6370 ha->msix_count += 1; /* For ATIO Q */ in qlt_83xx_iospace_config()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe_common.c2831 u16 msix_count; in ixgbe_get_pcie_msix_count_generic() local
2851 msix_count = ixgbe_read_pci_cfg_word(hw, pcie_offset); in ixgbe_get_pcie_msix_count_generic()
2853 msix_count = 0; in ixgbe_get_pcie_msix_count_generic()
2854 msix_count &= IXGBE_PCIE_MSIX_TBL_SZ_MASK; in ixgbe_get_pcie_msix_count_generic()
2857 msix_count++; in ixgbe_get_pcie_msix_count_generic()
2859 if (msix_count > max_msix_count) in ixgbe_get_pcie_msix_count_generic()
2860 msix_count = max_msix_count; in ixgbe_get_pcie_msix_count_generic()
2862 return msix_count; in ixgbe_get_pcie_msix_count_generic()
/linux-4.4.14/drivers/block/
Dskd_main.c277 u32 msix_count; member
3913 for (i = 0; i < skdev->msix_count; i++) { in skd_release_msix()
3925 if (skdev->msix_count) in skd_release_msix()
3928 skdev->msix_count = 0; in skd_release_msix()
3954 skdev->msix_count = SKD_MAX_MSIX_COUNT; in skd_acquire_msix()
3956 skdev->msix_count, GFP_KERNEL); in skd_acquire_msix()
3964 for (i = 0; i < skdev->msix_count; i++) { in skd_acquire_msix()
3977 for (i = 0; i < skdev->msix_count; i++) { in skd_acquire_msix()
3997 pci_name(pdev), skdev->name, skdev->msix_count); in skd_acquire_msix()
4013 skdev->msix_count = 0; in skd_acquire_irq()
[all …]
/linux-4.4.14/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()
/linux-4.4.14/drivers/usb/host/
Dxhci.c220 for (i = 0; i < xhci->msix_count; i++) in xhci_free_msi()
291 xhci->msix_count = min(num_online_cpus() + 1, in xhci_setup_msix()
295 kmalloc((sizeof(struct msix_entry))*xhci->msix_count, in xhci_setup_msix()
302 for (i = 0; i < xhci->msix_count; i++) { in xhci_setup_msix()
307 ret = pci_enable_msix_exact(pdev, xhci->msix_entries, xhci->msix_count); in xhci_setup_msix()
314 for (i = 0; i < xhci->msix_count; i++) { in xhci_setup_msix()
363 for (i = 0; i < xhci->msix_count; i++) in xhci_msix_sync_irqs()
Dxhci.h1540 int msix_count; member