Lines Matching defs:device
669 static inline struct device *tp_to_dev(struct rtl8169_private *tp)
3833 struct device *d = tp_to_dev(tp);
4001 struct device *d = tp_to_dev(tp);
4440 struct device *d = tp_to_dev(tp);
4617 struct device *d = tp_to_dev(tp);
4834 static int rtl8169_runtime_resume(struct device *dev)
4849 static int rtl8169_suspend(struct device *device)
4851 struct rtl8169_private *tp = dev_get_drvdata(device);
4862 static int rtl8169_resume(struct device *device)
4864 struct rtl8169_private *tp = dev_get_drvdata(device);
4873 return rtl8169_runtime_resume(device);
4876 static int rtl8169_runtime_suspend(struct device *device)
4878 struct rtl8169_private *tp = dev_get_drvdata(device);
4893 static int rtl8169_runtime_idle(struct device *device)
4895 struct rtl8169_private *tp = dev_get_drvdata(device);
4901 pm_schedule_suspend(device, 10000);
5241 /* enable device (incl. PCI PM wakeup and hotplug setup) */
5274 /* Disable ASPM L1 as that cause random device stop working