Searched refs:PCI_MSIX_FLAGS_QSIZE (Results 1 – 16 of 16) sorted by relevance
6 #define msix_table_size(flags) ((flags & PCI_MSIX_FLAGS_QSIZE) + 1)
284 val &= PCI_MSIX_FLAGS_QSIZE; in cdns_pcie_ep_get_msix()302 val &= ~PCI_MSIX_FLAGS_QSIZE; in cdns_pcie_ep_set_msix()
395 val &= PCI_MSIX_FLAGS_QSIZE; in dw_pcie_ep_get_msix()419 val &= ~PCI_MSIX_FLAGS_QSIZE; in dw_pcie_ep_set_msix()
551 total_entries = control & PCI_MSIX_FLAGS_QSIZE; in xen_pt_msix_init()
324 #define PCI_MSIX_FLAGS_QSIZE 0x07FF /* Table size */ macro
325 #define PCI_MSIX_FLAGS_QSIZE 0x07FF /* Table size */ macro
365 return (control & PCI_MSIX_FLAGS_QSIZE) + 1; in qpci_msix_table_size()
328 if (nentries < 1 || nentries > PCI_MSIX_FLAGS_QSIZE + 1) { in msix_init()
534 vdev->msix_size = ((flags & PCI_MSIX_FLAGS_QSIZE) + 1) * 16; in vfio_pci_core_enable()762 return (flags & PCI_MSIX_FLAGS_QSIZE) + 1; in vfio_pci_get_irq_count()
896 pbdev->msix.entries = (ctrl & PCI_MSIX_FLAGS_QSIZE) + 1; in s390_pci_msix_init()
2552 num_queues = MIN(num_queues, PCI_MSIX_FLAGS_QSIZE - fixed_queues); in virtio_pci_optimal_num_queues()
1593 msix->entries = (ctrl & PCI_MSIX_FLAGS_QSIZE) + 1; in vfio_msix_early_setup()
7287 pci_set_word_by_mask(config + PCI_MSIX_FLAGS, PCI_MSIX_FLAGS_QSIZE, in nvme_update_msixcap_ts()8021 params->msix_qsize > PCI_MSIX_FLAGS_QSIZE + 1) { in nvme_check_params()8023 PCI_MSIX_FLAGS_QSIZE + 1); in nvme_check_params()
2213 ha->msix_count = (msix & PCI_MSIX_FLAGS_QSIZE) + 1; in qla83xx_iospace_config()
13572 index = control & PCI_MSIX_FLAGS_QSIZE; in bnx2x_get_num_non_def_sbs()
13293 return (ctrl & PCI_MSIX_FLAGS_QSIZE) + 1; in bnxt_get_max_irq()