Lines Matching refs:sp_pci
29 struct sp_pci { struct
37 struct sp_pci *sp_pci = sp->dev_specific; in sp_get_msix_irqs() argument
42 for (v = 0; v < ARRAY_SIZE(sp_pci->msix_entry); v++) in sp_get_msix_irqs()
43 sp_pci->msix_entry[v].entry = v; in sp_get_msix_irqs()
45 ret = pci_enable_msix_range(pdev, sp_pci->msix_entry, 1, v); in sp_get_msix_irqs()
49 sp_pci->msix_count = ret; in sp_get_msix_irqs()
52 sp->psp_irq = sp_pci->msix_entry[0].vector; in sp_get_msix_irqs()
53 sp->ccp_irq = (sp_pci->msix_count > 1) ? sp_pci->msix_entry[1].vector in sp_get_msix_irqs()
54 : sp_pci->msix_entry[0].vector; in sp_get_msix_irqs()
97 struct sp_pci *sp_pci = sp->dev_specific; in sp_free_irqs() local
101 if (sp_pci->msix_count) in sp_free_irqs()
160 struct sp_pci *sp_pci; in sp_pci_probe() local
171 sp_pci = devm_kzalloc(dev, sizeof(*sp_pci), GFP_KERNEL); in sp_pci_probe()
172 if (!sp_pci) in sp_pci_probe()
175 sp->dev_specific = sp_pci; in sp_pci_probe()