Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/irqchip/
Dirq-loongson-pch-pic.c43 u32 vec_count; member
247 priv->vec_count = ((readq(priv->base) >> 48) & 0xff) + 1; in pch_pic_init()
251 priv->vec_count, domain_handle, in pch_pic_init()
320 if (gsi >= priv->gsi_base && gsi < (priv->gsi_base + priv->vec_count)) in find_pch_pic()
/Linux-v6.1/drivers/net/ethernet/sfc/
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-v6.1/drivers/net/ethernet/sfc/siena/
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-v6.1/drivers/pci/msi/
Dmsi.c509 int ret = 0, i, vec_count = pci_msix_vec_count(dev); in msix_setup_msi_descs() local
525 desc.pci.msi_attrib.is_virtual = desc.msi_index >= vec_count; in msix_setup_msi_descs()