Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/crypto/ccp/
Dsp-pci.c29 struct sp_pci { struct
98 struct sp_pci *sp_pci = sp->dev_specific; in sp_get_msix_irqs() local
103 for (v = 0; v < ARRAY_SIZE(sp_pci->msix_entry); v++) in sp_get_msix_irqs()
104 sp_pci->msix_entry[v].entry = v; in sp_get_msix_irqs()
106 ret = pci_enable_msix_range(pdev, sp_pci->msix_entry, 1, v); in sp_get_msix_irqs()
110 sp_pci->msix_count = ret; in sp_get_msix_irqs()
113 sp->psp_irq = sp_pci->msix_entry[0].vector; in sp_get_msix_irqs()
114 sp->ccp_irq = (sp_pci->msix_count > 1) ? sp_pci->msix_entry[1].vector in sp_get_msix_irqs()
115 : sp_pci->msix_entry[0].vector; in sp_get_msix_irqs()
158 struct sp_pci *sp_pci = sp->dev_specific; in sp_free_irqs() local
[all …]