Lines Matching defs:device
190 * the 5701 in the normal rx path. Doing so saves a device structure
1552 * quickest way to bring the device back to an operational state..
2871 } else if (tp->pdev->device == PCI_DEVICE_ID_TIGON3_5761 ||
2872 tp->pdev->device == TG3PCI_DEVICE_TIGON3_5761S) {
2873 /* The 5761 non-e device swaps GPIO 0 and GPIO 2. */
6514 "cycles to the network device, attempting to recover. "
7449 * shutting down the device.
8849 "tg3_stop_block device offline, "
10581 * fails, the device will operate with EEE disabled
10780 /* Called at device open time to get the chip ready for
10815 static ssize_t tg3_show_temp(struct device *dev,
10877 dev_err(&pdev->dev, "Cannot register hwmon device, aborting\n");
11170 "Failed to re-initialize device, aborting\n");
11658 * Reset loopback feature if it was turned on while the device was down
11724 netdev_err(dev, "Failed to open device. PCI error recovery "
11780 netdev_err(dev, "Failed to close device. PCI error recovery "
12362 struct device *dp = &tp->pdev->dev;
12707 * table while the device is running.
14253 * device is up'd.
15151 /* Assume an onboard device and WOL capable by default. */
15545 * subsys device table.
15671 if (tp->pdev->device == TG3PCI_DEVICE_TIGON3_5717 ||
15672 tp->pdev->device == TG3PCI_DEVICE_TIGON3_5717_C)
15674 else if (tp->pdev->device == TG3PCI_DEVICE_TIGON3_5718)
15679 if (tp->pdev->device == TG3PCI_DEVICE_TIGON3_57780)
15681 else if (tp->pdev->device == TG3PCI_DEVICE_TIGON3_57760)
15683 else if (tp->pdev->device == TG3PCI_DEVICE_TIGON3_57790)
15685 else if (tp->pdev->device == TG3PCI_DEVICE_TIGON3_57788)
15690 if (tp->pdev->device == TG3PCI_DEVICE_TIGON3_57761)
15692 else if (tp->pdev->device == TG3PCI_DEVICE_TIGON3_57765)
15694 else if (tp->pdev->device == TG3PCI_DEVICE_TIGON3_57781)
15696 else if (tp->pdev->device == TG3PCI_DEVICE_TIGON3_57785)
15698 else if (tp->pdev->device == TG3PCI_DEVICE_TIGON3_57791)
15700 else if (tp->pdev->device == TG3PCI_DEVICE_TIGON3_57795)
15705 if (tp->pdev->device == TG3PCI_DEVICE_TIGON3_57762)
15707 else if (tp->pdev->device == TG3PCI_DEVICE_TIGON3_57766)
15709 else if (tp->pdev->device == TG3PCI_DEVICE_TIGON3_57782)
15711 else if (tp->pdev->device == TG3PCI_DEVICE_TIGON3_57786)
15937 else if (tp->pdev->device == TG3PCI_DEVICE_TIGON3_5725)
16052 * to remove one half of this device without removing the other
16070 if (tp->pdev->device == TG3PCI_DEVICE_TIGON3_5717 ||
16071 tp->pdev->device == TG3PCI_DEVICE_TIGON3_5717_C ||
16072 tp->pdev->device == TG3PCI_DEVICE_TIGON3_5718 ||
16073 tp->pdev->device == TG3PCI_DEVICE_TIGON3_5719 ||
16074 tp->pdev->device == TG3PCI_DEVICE_TIGON3_5720 ||
16075 tp->pdev->device == TG3PCI_DEVICE_TIGON3_57767 ||
16076 tp->pdev->device == TG3PCI_DEVICE_TIGON3_57764 ||
16077 tp->pdev->device == TG3PCI_DEVICE_TIGON3_5762 ||
16078 tp->pdev->device == TG3PCI_DEVICE_TIGON3_5725 ||
16079 tp->pdev->device == TG3PCI_DEVICE_TIGON3_5727 ||
16080 tp->pdev->device == TG3PCI_DEVICE_TIGON3_57787)
16082 else if (tp->pdev->device == TG3PCI_DEVICE_TIGON3_57781 ||
16083 tp->pdev->device == TG3PCI_DEVICE_TIGON3_57785 ||
16084 tp->pdev->device == TG3PCI_DEVICE_TIGON3_57761 ||
16085 tp->pdev->device == TG3PCI_DEVICE_TIGON3_57765 ||
16086 tp->pdev->device == TG3PCI_DEVICE_TIGON3_57791 ||
16087 tp->pdev->device == TG3PCI_DEVICE_TIGON3_57795 ||
16088 tp->pdev->device == TG3PCI_DEVICE_TIGON3_57762 ||
16089 tp->pdev->device == TG3PCI_DEVICE_TIGON3_57766 ||
16090 tp->pdev->device == TG3PCI_DEVICE_TIGON3_57782 ||
16091 tp->pdev->device == TG3PCI_DEVICE_TIGON3_57786)
16223 u32 device;
16240 bridge = pci_get_device(pci_id->vendor, pci_id->device,
16263 u32 device;
16274 pci_id->device,
16295 * Any tg3 device found behind the bridge will also need the 40-bit
16685 if (tp->pdev->device == PCI_DEVICE_ID_TIGON3_5761 ||
16686 tp->pdev->device == TG3PCI_DEVICE_TIGON3_5761S) {
16745 if (tp->pdev->device != PCI_DEVICE_ID_TIGON3_5756 &&
16746 tp->pdev->device != PCI_DEVICE_ID_TIGON3_5722)
16748 if (tp->pdev->device == PCI_DEVICE_ID_TIGON3_5755M)
16837 /* If the device has an NVRAM, no need to load patch firmware */
17066 * when a device tries to burst across a cache-line boundary.
17599 dev_err(&pdev->dev, "Cannot enable PCI device, aborting\n");
17673 dev_err(&pdev->dev, "Cannot map device registers, aborting\n");
17678 if (tp->pdev->device == PCI_DEVICE_ID_TIGON3_5761 ||
17679 tp->pdev->device == PCI_DEVICE_ID_TIGON3_5761E ||
17680 tp->pdev->device == TG3PCI_DEVICE_TIGON3_5761S ||
17681 tp->pdev->device == TG3PCI_DEVICE_TIGON3_5761SE ||
17682 tp->pdev->device == TG3PCI_DEVICE_TIGON3_5717 ||
17683 tp->pdev->device == TG3PCI_DEVICE_TIGON3_5717_C ||
17684 tp->pdev->device == TG3PCI_DEVICE_TIGON3_5718 ||
17685 tp->pdev->device == TG3PCI_DEVICE_TIGON3_5719 ||
17686 tp->pdev->device == TG3PCI_DEVICE_TIGON3_5720 ||
17687 tp->pdev->device == TG3PCI_DEVICE_TIGON3_57767 ||
17688 tp->pdev->device == TG3PCI_DEVICE_TIGON3_57764 ||
17689 tp->pdev->device == TG3PCI_DEVICE_TIGON3_5762 ||
17690 tp->pdev->device == TG3PCI_DEVICE_TIGON3_5725 ||
17691 tp->pdev->device == TG3PCI_DEVICE_TIGON3_5727 ||
17692 tp->pdev->device == TG3PCI_DEVICE_TIGON3_57787) {
17719 * device behind the EPB cannot support DMA addresses > 40-bit.
17901 dev_err(&pdev->dev, "Cannot register net device, aborting\n");
18009 static int tg3_suspend(struct device *device)
18011 struct net_device *dev = dev_get_drvdata(device);
18065 static int tg3_resume(struct device *device)
18067 struct net_device *dev = dev_get_drvdata(device);
18130 * @pdev: Pointer to PCI device
18134 * this device has been detected.
18189 * @pdev: Pointer to PCI device
18207 "Cannot re-enable PCI device after reset.\n");
18238 * @pdev: Pointer to PCI device