Home
last modified time | relevance | path

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

/Linux-v5.4/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
951 nfp_net_irqs_alloc(struct pci_dev *pdev, struct msix_entry *irq_entries,
955 nfp_net_irqs_assign(struct nfp_net *nn, struct msix_entry *irq_entries,
Dnfp_net_common.c399 nfp_net_irqs_alloc(struct pci_dev *pdev, struct msix_entry *irq_entries, in nfp_net_irqs_alloc() argument
406 irq_entries[i].entry = i; in nfp_net_irqs_alloc()
408 got_irqs = pci_enable_msix_range(pdev, irq_entries, in nfp_net_irqs_alloc()
433 nfp_net_irqs_assign(struct nfp_net *nn, struct msix_entry *irq_entries, in nfp_net_irqs_assign() argument
441 memcpy(nn->irq_entries, irq_entries, sizeof(*irq_entries) * n); in nfp_net_irqs_assign()
539 entry = &nn->irq_entries[NFP_NET_IRQ_LSC_IDX]; in nfp_net_irq_lsc()
625 entry = &nn->irq_entries[vector_idx]; in nfp_net_aux_irq_request()
651 free_irq(nn->irq_entries[vector_idx].vector, nn); in nfp_net_aux_irq_free()
2320 entry = &nn->irq_entries[NFP_NET_NON_Q_VECTORS + r]; in nfp_net_vecs_init()
2884 disable_irq(nn->irq_entries[NFP_NET_IRQ_LSC_IDX].vector); in nfp_net_close_stack()
[all …]