Home
last modified time | relevance | path

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

/linux-5.19.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.c31 struct msix_entry irq_entries[NFP_NET_NON_Q_VECTORS + member
254 num_irqs = nfp_net_irqs_alloc(pdev, vf->irq_entries, in nfp_netvf_pci_probe()
263 nfp_net_irqs_assign(nn, vf->irq_entries, num_irqs); in nfp_netvf_pci_probe()
Dnfp_net_common.c367 nfp_net_irqs_alloc(struct pci_dev *pdev, struct msix_entry *irq_entries, in nfp_net_irqs_alloc() argument
374 irq_entries[i].entry = i; in nfp_net_irqs_alloc()
376 got_irqs = pci_enable_msix_range(pdev, irq_entries, in nfp_net_irqs_alloc()
401 nfp_net_irqs_assign(struct nfp_net *nn, struct msix_entry *irq_entries, in nfp_net_irqs_assign() argument
409 memcpy(nn->irq_entries, irq_entries, sizeof(*irq_entries) * n); in nfp_net_irqs_assign()
513 entry = &nn->irq_entries[NFP_NET_IRQ_LSC_IDX]; in nfp_net_irq_lsc()
556 entry = &nn->irq_entries[vector_idx]; in nfp_net_aux_irq_request()
582 free_irq(nn->irq_entries[vector_idx].vector, nn); in nfp_net_aux_irq_free()
743 entry = &nn->irq_entries[NFP_NET_NON_Q_VECTORS + r]; in nfp_net_vecs_init()
1031 disable_irq(nn->irq_entries[NFP_NET_IRQ_LSC_IDX].vector); in nfp_net_close_stack()
[all …]
Dnfp_main.h110 struct msix_entry *irq_entries; member
Dnfp_net.h631 struct msix_entry irq_entries[NFP_NET_MAX_IRQS]; member
932 nfp_net_irqs_alloc(struct pci_dev *pdev, struct msix_entry *irq_entries,
936 nfp_net_irqs_assign(struct nfp_net *nn, struct msix_entry *irq_entries,