Lines Matching refs:pdev
932 static void sky2_rx_map_iob(struct pci_device *pdev __unused,
1055 if (pci_find_capability(hw->pdev, PCI_CAP_ID_EXP))
1086 sky2_rx_map_iob(hw->pdev, re, sky2->rx_data_size);
1559 sky2_rx_map_iob(sky2->hw->pdev, re, hdr_space);
2032 cap = pci_find_capability(hw->pdev, PCI_CAP_ID_EXP);
2194 dev->dev = &hw->pdev->dev;
2267 static int sky2_probe(struct pci_device *pdev,
2275 adjust_pci_device(pdev);
2284 hw->pdev = pdev;
2286 hw->regs = (unsigned long)ioremap(pci_bar_start(pdev, PCI_BASE_ADDRESS_0), 0x4000);
2343 pci_set_drvdata(pdev, dev);
2358 pci_set_drvdata(pdev, NULL);
2362 static void sky2_remove(struct pci_device *pdev)
2364 struct sky2_hw *hw = pci_get_drvdata(pdev);
2391 pci_set_drvdata(pdev, NULL);