Home
last modified time | relevance | path

Searched refs:irq_entries (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/dma/idxd/
Dinit.c84 idxd->irq_entries = devm_kcalloc(dev, msixcnt, in idxd_setup_interrupts()
87 if (!idxd->irq_entries) { in idxd_setup_interrupts()
93 idxd->irq_entries[i].id = i; in idxd_setup_interrupts()
94 idxd->irq_entries[i].idxd = idxd; in idxd_setup_interrupts()
98 irq_entry = &idxd->irq_entries[0]; in idxd_setup_interrupts()
115 irq_entry = &idxd->irq_entries[i]; in idxd_setup_interrupts()
117 init_llist_head(&idxd->irq_entries[i].pending_llist); in idxd_setup_interrupts()
118 INIT_LIST_HEAD(&idxd->irq_entries[i].work_list); in idxd_setup_interrupts()
440 irq_entry = &idxd->irq_entries[i]; in idxd_shutdown()
Dsubmit.c92 &idxd->irq_entries[vec].pending_llist); in idxd_submit_desc()
Didxd.h206 struct idxd_irq_entry *irq_entries; member
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/
Dnfp_net_main.c243 pf->irq_entries = kcalloc(wanted_irqs, sizeof(*pf->irq_entries), in nfp_net_pf_alloc_irqs()
245 if (!pf->irq_entries) in nfp_net_pf_alloc_irqs()
248 num_irqs = nfp_net_irqs_alloc(pf->pdev, pf->irq_entries, in nfp_net_pf_alloc_irqs()
253 kfree(pf->irq_entries); in nfp_net_pf_alloc_irqs()
265 nfp_net_irqs_assign(nn, &pf->irq_entries[num_irqs - irqs_left], in nfp_net_pf_alloc_irqs()
277 kfree(pf->irq_entries); in nfp_net_pf_free_irqs()
Dnfp_netvf_main.c30 struct msix_entry irq_entries[NFP_NET_NON_Q_VECTORS + member
238 num_irqs = nfp_net_irqs_alloc(pdev, vf->irq_entries, in nfp_netvf_pci_probe()
247 nfp_net_irqs_assign(nn, vf->irq_entries, num_irqs); in nfp_netvf_pci_probe()
Dnfp_main.h108 struct msix_entry *irq_entries; member
Dnfp_net.h631 struct msix_entry irq_entries[NFP_NET_MAX_IRQS]; member
949 nfp_net_irqs_alloc(struct pci_dev *pdev, struct msix_entry *irq_entries,
953 nfp_net_irqs_assign(struct nfp_net *nn, struct msix_entry *irq_entries,
Dnfp_net_common.c400 nfp_net_irqs_alloc(struct pci_dev *pdev, struct msix_entry *irq_entries, in nfp_net_irqs_alloc() argument
407 irq_entries[i].entry = i; in nfp_net_irqs_alloc()
409 got_irqs = pci_enable_msix_range(pdev, irq_entries, in nfp_net_irqs_alloc()
434 nfp_net_irqs_assign(struct nfp_net *nn, struct msix_entry *irq_entries, in nfp_net_irqs_assign() argument
442 memcpy(nn->irq_entries, irq_entries, sizeof(*irq_entries) * n); in nfp_net_irqs_assign()
540 entry = &nn->irq_entries[NFP_NET_IRQ_LSC_IDX]; in nfp_net_irq_lsc()
626 entry = &nn->irq_entries[vector_idx]; in nfp_net_aux_irq_request()
652 free_irq(nn->irq_entries[vector_idx].vector, nn); in nfp_net_aux_irq_free()
2326 entry = &nn->irq_entries[NFP_NET_NON_Q_VECTORS + r]; in nfp_net_vecs_init()
2880 disable_irq(nn->irq_entries[NFP_NET_IRQ_LSC_IDX].vector); in nfp_net_close_stack()
[all …]