Home
last modified time | relevance | path

Searched refs:nintrs (Results 1 – 15 of 15) sorted by relevance

/drivers/net/ethernet/amd/pds_core/
Ddev.c314 unsigned int nintrs; in pdsc_dev_init() local
332 nintrs = le32_to_cpu(pdsc->dev_ident.nintrs); in pdsc_dev_init()
333 nintrs = min_t(unsigned int, num_online_cpus(), nintrs); in pdsc_dev_init()
336 pdsc->intr_info = kcalloc(nintrs, sizeof(*pdsc->intr_info), GFP_KERNEL); in pdsc_dev_init()
342 err = pci_alloc_irq_vectors(pdsc->pdev, nintrs, nintrs, PCI_IRQ_MSIX); in pdsc_dev_init()
343 if (err != nintrs) { in pdsc_dev_init()
345 nintrs, ERR_PTR(err)); in pdsc_dev_init()
349 pdsc->nintrs = nintrs; in pdsc_dev_init()
Dcore.c32 if (index >= pdsc->nintrs || index < 0) { in pdsc_intr_free()
59 for (index = 0; index < pdsc->nintrs; index++) in pdsc_intr_alloc()
62 if (index >= pdsc->nintrs) { in pdsc_intr_alloc()
64 __func__, index, pdsc->nintrs); in pdsc_intr_alloc()
476 for (i = 0; i < pdsc->nintrs; i++) in pdsc_teardown()
481 pdsc->nintrs = 0; in pdsc_teardown()
509 for (i = 0; i < pdsc->nintrs; i++) in pdsc_stop()
Ddebugfs.c47 le32_to_cpu(ident->nintrs)); in identity_show()
Dcore.h178 unsigned int nintrs; member
/drivers/vdpa/pds/
Dvdpa_dev.c385 int max_vq, nintrs, qid, err; in pds_vdpa_request_irqs() local
389 nintrs = pci_alloc_irq_vectors(pdev, max_vq, max_vq, PCI_IRQ_MSIX); in pds_vdpa_request_irqs()
390 if (nintrs < 0) { in pds_vdpa_request_irqs()
392 max_vq, ERR_PTR(nintrs)); in pds_vdpa_request_irqs()
393 return nintrs; in pds_vdpa_request_irqs()
414 vdpa_aux->nintrs = nintrs; in pds_vdpa_request_irqs()
424 vdpa_aux->nintrs = 0; in pds_vdpa_request_irqs()
435 if (!vdpa_aux->nintrs) in pds_vdpa_release_irqs()
443 vdpa_aux->nintrs = 0; in pds_vdpa_release_irqs()
829 vdpa_aux->nintrs = 0; in pds_vdpa_get_mgmt_info()
Daux_drv.h24 int nintrs; member
/drivers/net/ethernet/pensando/ionic/
Dionic_bus_pci.c32 int ionic_bus_alloc_irq_vectors(struct ionic *ionic, unsigned int nintrs) in ionic_bus_alloc_irq_vectors() argument
34 return pci_alloc_irq_vectors(ionic->pdev, nintrs, nintrs, in ionic_bus_alloc_irq_vectors()
40 if (!ionic->nintrs) in ionic_bus_free_irq_vectors()
Dionic_bus.h9 int ionic_bus_alloc_irq_vectors(struct ionic *ionic, unsigned int nintrs);
Dionic.h55 unsigned int nintrs; member
Dionic_debugfs.c45 seq_printf(seq, "nintrs: %d\n", ident->dev.nintrs); in identity_show()
67 debugfs_create_u32("nintrs", 0400, ionic->dentry, &ionic->nintrs); in ionic_debugfs_add_sizes()
Dionic_lif.c248 index = find_first_zero_bit(ionic->intrs, ionic->nintrs); in ionic_intr_alloc()
249 if (index == ionic->nintrs) { in ionic_intr_alloc()
251 __func__, index, ionic->nintrs); in ionic_intr_alloc()
263 if (index != IONIC_INTR_INDEX_NOT_ASSIGNED && index < ionic->nintrs) in ionic_intr_free()
3886 unsigned int nintrs, dev_nintrs; in ionic_lif_size() local
3898 dev_nintrs = le32_to_cpu(ident->dev.nintrs); in ionic_lif_size()
3933 nintrs = 1 + nxqs + neqs; in ionic_lif_size()
3936 if (nintrs > dev_nintrs) in ionic_lif_size()
3939 err = ionic_bus_alloc_irq_vectors(ionic, nintrs); in ionic_lif_size()
3947 if (err != nintrs) { in ionic_lif_size()
[all …]
Dionic_if.h296 __le32 nintrs; member
/drivers/gpu/drm/rockchip/
Drockchip_vop_reg.c149 .nintrs = ARRAY_SIZE(rk3036_vop_intrs),
232 .nintrs = ARRAY_SIZE(px30_vop_intrs),
471 .nintrs = ARRAY_SIZE(rk3066_vop_intrs),
578 .nintrs = ARRAY_SIZE(rk3188_vop_intrs),
724 .nintrs = ARRAY_SIZE(rk3288_vop_intrs),
761 .nintrs = ARRAY_SIZE(rk3368_vop_intrs),
853 .nintrs = ARRAY_SIZE(rk3368_vop_intrs),
1093 .nintrs = ARRAY_SIZE(rk3368_vop_intrs),
Drockchip_drm_vop.h135 uint32_t nintrs; member
Drockchip_drm_vop.c76 for (i = 0; i < vop->data->intr->nintrs; i++) { \
237 for (i = 0; i < vop->data->intr->nintrs; i++) { in vop_get_intr_type()