Searched refs:irq_entries (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_main.c | 232 pf->irq_entries = kcalloc(wanted_irqs, sizeof(*pf->irq_entries), in nfp_net_pf_alloc_irqs() 234 if (!pf->irq_entries) in nfp_net_pf_alloc_irqs() 237 num_irqs = nfp_net_irqs_alloc(pf->pdev, pf->irq_entries, in nfp_net_pf_alloc_irqs() 242 kfree(pf->irq_entries); in nfp_net_pf_alloc_irqs() 254 nfp_net_irqs_assign(nn, &pf->irq_entries[num_irqs - irqs_left], in nfp_net_pf_alloc_irqs() 266 kfree(pf->irq_entries); in nfp_net_pf_free_irqs()
|
H A D | nfp_netvf_main.c | 31 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()
|
H A D | nfp_net_common.c | 370 nfp_net_irqs_alloc(struct pci_dev *pdev, struct msix_entry *irq_entries, in nfp_net_irqs_alloc() argument 377 irq_entries[i].entry = i; in nfp_net_irqs_alloc() 379 got_irqs = pci_enable_msix_range(pdev, irq_entries, in nfp_net_irqs_alloc() 404 nfp_net_irqs_assign(struct nfp_net *nn, struct msix_entry *irq_entries, in nfp_net_irqs_assign() argument 412 memcpy(nn->irq_entries, irq_entries, sizeof(*irq_entries) * n); in nfp_net_irqs_assign() 519 entry = &nn->irq_entries[NFP_NET_IRQ_LSC_IDX]; in nfp_net_irq_lsc() 562 entry = &nn->irq_entries[vector_idx]; in nfp_net_aux_irq_request() 588 free_irq(nn->irq_entries[vector_idx].vector, nn); in nfp_net_aux_irq_free() 750 entry = &nn->irq_entries[NFP_NET_NON_Q_VECTORS + r]; in nfp_net_vecs_init() 1076 disable_irq(nn->irq_entries[NFP_NET_IRQ_LSC_IDX].vector); in nfp_net_close_stack() [all …]
|
H A D | nfp_net.h | 657 struct msix_entry irq_entries[NFP_NET_MAX_IRQS]; member 1008 nfp_net_irqs_alloc(struct pci_dev *pdev, struct msix_entry *irq_entries, 1012 nfp_net_irqs_assign(struct nfp_net *nn, struct msix_entry *irq_entries,
|
H A D | nfp_main.h | 110 struct msix_entry *irq_entries; member
|