/drivers/net/ethernet/amd/pds_core/ |
D | dev.c | 314 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()
|
D | core.c | 32 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()
|
D | debugfs.c | 47 le32_to_cpu(ident->nintrs)); in identity_show()
|
D | core.h | 178 unsigned int nintrs; member
|
/drivers/vdpa/pds/ |
D | vdpa_dev.c | 385 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()
|
D | aux_drv.h | 24 int nintrs; member
|
/drivers/net/ethernet/pensando/ionic/ |
D | ionic_bus_pci.c | 32 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()
|
D | ionic_bus.h | 9 int ionic_bus_alloc_irq_vectors(struct ionic *ionic, unsigned int nintrs);
|
D | ionic.h | 55 unsigned int nintrs; member
|
D | ionic_debugfs.c | 45 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()
|
D | ionic_lif.c | 248 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 …]
|
D | ionic_if.h | 296 __le32 nintrs; member
|
/drivers/gpu/drm/rockchip/ |
D | rockchip_vop_reg.c | 149 .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),
|
D | rockchip_drm_vop.h | 135 uint32_t nintrs; member
|
D | rockchip_drm_vop.c | 76 for (i = 0; i < vop->data->intr->nintrs; i++) { \ 237 for (i = 0; i < vop->data->intr->nintrs; i++) { in vop_get_intr_type()
|