Lines Matching refs:pcidev
135 ret = pci_alloc_irq_vectors(pdata->pcidev, XGBE_MSI_MIN_COUNT, in xgbe_config_multi_msi()
145 pdata->dev_irq = pci_irq_vector(pdata->pcidev, 0); in xgbe_config_multi_msi()
146 pdata->ecc_irq = pci_irq_vector(pdata->pcidev, 1); in xgbe_config_multi_msi()
147 pdata->i2c_irq = pci_irq_vector(pdata->pcidev, 2); in xgbe_config_multi_msi()
148 pdata->an_irq = pci_irq_vector(pdata->pcidev, 3); in xgbe_config_multi_msi()
151 pdata->channel_irq[j] = pci_irq_vector(pdata->pcidev, i); in xgbe_config_multi_msi()
159 pdata->pcidev->msix_enabled ? "MSI-X" : "MSI"); in xgbe_config_multi_msi()
172 ret = pci_alloc_irq_vectors(pdata->pcidev, 1, 1, in xgbe_config_irqs()
179 pdata->isr_as_bh_work = pdata->pcidev->msi_enabled ? 1 : 0; in xgbe_config_irqs()
183 pdata->dev_irq = pci_irq_vector(pdata->pcidev, 0); in xgbe_config_irqs()
184 pdata->ecc_irq = pci_irq_vector(pdata->pcidev, 0); in xgbe_config_irqs()
185 pdata->i2c_irq = pci_irq_vector(pdata->pcidev, 0); in xgbe_config_irqs()
186 pdata->an_irq = pci_irq_vector(pdata->pcidev, 0); in xgbe_config_irqs()
190 pdata->pcidev->msi_enabled ? "MSI" : "legacy"); in xgbe_config_irqs()
225 pdata->pcidev = pdev; in xgbe_pci_probe()
412 pci_free_irq_vectors(pdata->pcidev); in xgbe_pci_probe()
429 pci_free_irq_vectors(pdata->pcidev); in xgbe_pci_remove()