Lines Matching refs:pdev
50 static int sis190_isa_bridge_probe(struct pci_device *pdev __unused,
56 static void sis190_isa_bridge_remove(struct pci_device *pdev __unused)
873 static int sis190_init_board(struct pci_device *pdev, struct net_device **netdev)
887 dev->dev = &pdev->dev;
894 adjust_pci_device(pdev);
896 ioaddr = ioremap(pdev->membase, SIS190_REGS_SIZE);
903 tp->pci_device = pdev;
923 static int sis190_get_mac_addr_from_eeprom(struct pci_device *pdev __unused,
955 * @pdev: PCI device
962 static int sis190_get_mac_addr_from_apc(struct pci_device *pdev,
973 list_for_each_entry(d, &(pdev->dev.siblings), siblings) {
1048 static int sis190_get_mac_addr(struct pci_device *pdev,
1053 rc = sis190_get_mac_addr_from_eeprom(pdev, dev);
1057 pci_read_config_byte(pdev, 0x73, ®);
1060 rc = sis190_get_mac_addr_from_apc(pdev, dev);
1113 static int sis190_probe(struct pci_device *pdev,
1121 rc = sis190_init_board(pdev, &dev);
1125 pci_set_drvdata(pdev, dev);
1130 rc = sis190_get_mac_addr(pdev, dev);
1156 static void sis190_remove(struct pci_device *pdev)
1158 struct net_device *dev = pci_get_drvdata(pdev);