Lines Matching refs:pdev
160 static int ath5k_probe(struct pci_device *pdev,
162 static void ath5k_remove(struct pci_device *pdev);
287 static int ath5k_probe(struct pci_device *pdev,
296 adjust_pci_device(pdev);
302 pci_read_config_byte(pdev, PCI_CACHE_LINE_SIZE, &csz);
310 pci_write_config_byte(pdev, PCI_CACHE_LINE_SIZE, csz);
317 pci_write_config_byte(pdev, PCI_LATENCY_TIMER, 0xa8);
323 pci_write_config_byte(pdev, 0x41, 0);
325 mem = ioremap(pdev->membase, 0x10000);
346 sc->pdev = pdev;
366 DBG("ath5k: register base at %p (%08lx)\n", sc->iobase, pdev->membase);
370 pci_set_drvdata(pdev, dev);
371 dev->netdev->dev = (struct device *)pdev;
445 static void ath5k_remove(struct pci_device *pdev)
447 struct net80211_device *dev = pci_get_drvdata(pdev);
511 sc->pdev->device);