Searched refs:vec_count (Results 1 – 7 of 7) sorted by relevance
/linux/drivers/scsi/fnic/ |
H A D | fnic_isr.c | 263 int vec_count = 0; in fnic_set_intr_mode_msix() local 266 vec_count = pci_alloc_irq_vectors(fnic->pdev, min_irqs, vecs, in fnic_set_intr_mode_msix() 270 vec_count); in fnic_set_intr_mode_msix() 272 if (vec_count > 0) { in fnic_set_intr_mode_msix() 273 if (vec_count < vecs) { in fnic_set_intr_mode_msix() 275 "interrupts number mismatch: vec_count: %d vecs: %d\n", in fnic_set_intr_mode_msix() 276 vec_count, vecs); in fnic_set_intr_mode_msix() 277 if (vec_count < min_irqs) { in fnic_set_intr_mode_msix() 287 fnic->wq_copy_count = vec_count - n - m - 1; in fnic_set_intr_mode_msix() 289 if (fnic->cq_count != vec_count in fnic_set_intr_mode_msix() [all...] |
/linux/drivers/irqchip/ |
H A D | irq-loongson-eiointc.c | 65 u32 vec_count; member 208 for (i = 0; i < eiointc_priv[0]->vec_count / 32; i++) { in eiointc_router_init() 213 for (i = 0; i < eiointc_priv[0]->vec_count / 32 / 4; i++) { in eiointc_router_init() 219 for (i = 0; i < eiointc_priv[0]->vec_count / 4; i++) { in eiointc_router_init() 232 for (i = 0; i < eiointc_priv[0]->vec_count / 32; i++) { in eiointc_router_init() 252 for (i = 0; i < eiointc_priv[0]->vec_count / VEC_COUNT_PER_REG; i++) { in eiointc_irq_dispatch() 442 priv->vec_count, in eiointc_init() 496 priv->vec_count = VEC_COUNT; in eiointc_acpi_init() 552 priv->vec_count = 128; in eiointc_of_init() 554 priv->vec_count in eiointc_of_init() [all...] |
H A D | irq-loongson-pch-pic.c | 47 u32 vec_count; member 342 priv->vec_count = ((readq(priv->base) >> 48) & 0xff) + 1; in pch_pic_init() 346 priv->vec_count, domain_handle, in pch_pic_init() 418 if (gsi >= priv->gsi_base && gsi < (priv->gsi_base + priv->vec_count)) in find_pch_pic()
|
/linux/drivers/net/ethernet/sfc/siena/ |
H A D | efx_channels.c | 131 int vec_count; in efx_allocate_msix_channels() local 150 vec_count = pci_msix_vec_count(efx->pci_dev); in efx_allocate_msix_channels() 151 if (vec_count < 0) in efx_allocate_msix_channels() 152 return vec_count; in efx_allocate_msix_channels() 154 max_channels = min_t(unsigned int, vec_count, max_channels); in efx_allocate_msix_channels() 202 if (vec_count < n_channels) { in efx_allocate_msix_channels() 205 vec_count, n_channels); in efx_allocate_msix_channels() 208 n_channels = vec_count; in efx_allocate_msix_channels()
|
/linux/drivers/net/ethernet/sfc/ |
H A D | efx_channels.c | 130 int vec_count; in efx_allocate_msix_channels() local 149 vec_count = pci_msix_vec_count(efx->pci_dev); in efx_allocate_msix_channels() 150 if (vec_count < 0) in efx_allocate_msix_channels() 151 return vec_count; in efx_allocate_msix_channels() 153 max_channels = min_t(unsigned int, vec_count, max_channels); in efx_allocate_msix_channels() 201 if (vec_count < n_channels) { in efx_allocate_msix_channels() 204 vec_count, n_channels); in efx_allocate_msix_channels() 207 n_channels = vec_count; in efx_allocate_msix_channels()
|
/linux/fs/iomap/ |
H A D | direct-io.c | 246 u32 vec_count = ioend->io_bio.bi_vcnt; in iomap_finish_ioend_direct() local 280 return vec_count; in iomap_finish_ioend_direct()
|
/linux/drivers/pci/msi/ |
H A D | msi.c | 625 int ret = 0, i, vec_count = pci_msix_vec_count(dev); in msix_setup_msi_descs() local 634 desc.pci.msi_attrib.is_virtual = desc.msi_index >= vec_count; in msix_setup_msi_descs()
|