Lines Matching defs:device
667 static inline struct device *tp_to_dev(struct rtl8169_private *tp)
3881 struct device *d = tp_to_dev(tp);
4053 struct device *d = tp_to_dev(tp);
4544 struct device *d = tp_to_dev(tp);
4713 struct device *d = tp_to_dev(tp);
4941 static int __maybe_unused rtl8169_suspend(struct device *device)
4943 struct rtl8169_private *tp = dev_get_drvdata(device);
4954 static int __maybe_unused rtl8169_resume(struct device *device)
4956 struct rtl8169_private *tp = dev_get_drvdata(device);
4968 static int rtl8169_runtime_suspend(struct device *device)
4970 struct rtl8169_private *tp = dev_get_drvdata(device);
4985 static int rtl8169_runtime_resume(struct device *device)
4987 struct rtl8169_private *tp = dev_get_drvdata(device);
4994 static int rtl8169_runtime_idle(struct device *device)
4996 struct rtl8169_private *tp = dev_get_drvdata(device);
4999 pm_schedule_suspend(device, 10000);
5299 struct device *d = tp_to_dev(tp);
5373 /* Disable ASPM completely as that cause random device stop working
5380 /* enable device (incl. PCI PM wakeup and hotplug setup) */