Lines Matching refs:pci_dev
570 struct pci_dev *pci_dev;
706 struct pci_dev *pdev;
709 assert (tp->pci_dev != NULL);
710 pdev = tp->pci_dev;
740 static __devinit struct net_device * rtl8139_init_board (struct pci_dev *pdev)
763 tp->pci_dev = pdev;
926 static int __devinit rtl8139_init_one (struct pci_dev *pdev,
1092 static void __devexit rtl8139_remove_one (struct pci_dev *pdev)
1306 tp->tx_bufs = dma_alloc_coherent(&tp->pci_dev->dev, TX_BUF_TOT_LEN,
1308 tp->rx_ring = dma_alloc_coherent(&tp->pci_dev->dev, RX_BUF_TOT_LEN,
1314 dma_free_coherent(&tp->pci_dev->dev, TX_BUF_TOT_LEN,
1317 dma_free_coherent(&tp->pci_dev->dev, RX_BUF_TOT_LEN,
1336 (unsigned long long)pci_resource_start (tp->pci_dev, 1),
2060 pci_read_config_word (tp->pci_dev, PCI_STATUS, &pci_cmd_status);
2061 pci_write_config_word (tp->pci_dev, PCI_STATUS, pci_cmd_status);
2227 dma_free_coherent(&tp->pci_dev->dev, RX_BUF_TOT_LEN,
2229 dma_free_coherent(&tp->pci_dev->dev, TX_BUF_TOT_LEN,
2321 strcpy(info->bus_info, pci_name(tp->pci_dev));
2527 static int rtl8139_suspend (struct pci_dev *pdev, pm_message_t state)
2559 static int rtl8139_resume (struct pci_dev *pdev)