Home
last modified time | relevance | path

Searched refs:vec_count (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/scsi/fnic/
H A Dfnic_isr.c263 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()
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 - 1) { in fnic_set_intr_mode_msix()
292 fnic->cq_count, vec_count); in fnic_set_intr_mode_msix()
[all …]
/linux/drivers/irqchip/
H A Dirq-loongson-eiointc.c74 u32 vec_count; member
229 for (i = 0; i < eiointc_priv[0]->vec_count / 32; i++) { in eiointc_router_init()
234 for (i = 0; i < eiointc_priv[0]->vec_count / 32 / 4; i++) { in eiointc_router_init()
263 for (i = 0; i < eiointc_priv[0]->vec_count / 4; i++) { in eiointc_router_init()
276 for (i = 0; i < eiointc_priv[0]->vec_count / 32; i++) { in eiointc_router_init()
519 priv->vec_count, in eiointc_init()
553 for (i = 0; i < priv->vec_count / VEC_COUNT_PER_REG; i++) { in eiointc_init()
563 priv->route_info[0].end = priv->vec_count / VEC_COUNT_PER_REG; in eiointc_init()
598 priv->vec_count = VEC_COUNT; in eiointc_acpi_init()
661 priv->vec_count = 128; in eiointc_of_init()
[all …]
H A Dirq-loongson-pch-pic.c47 u32 vec_count; member
346 priv->vec_count = ((readl(priv->base + 4) >> 16) & 0xff) + 1; in pch_pic_init()
350 priv->vec_count, domain_handle, in pch_pic_init()
422 if (gsi >= priv->gsi_base && gsi < (priv->gsi_base + priv->vec_count)) in find_pch_pic()
/linux/drivers/net/ethernet/sfc/
H A Defx_channels.c130 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/drivers/net/ethernet/sfc/siena/
H A Defx_channels.c131 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/fs/iomap/
H A Ddirect-io.c280 u32 vec_count = ioend->io_bio.bi_vcnt; in iomap_finish_ioend_direct() local
291 return vec_count; in iomap_finish_ioend_direct()