Searched refs:tp_to_dev (Results 1 – 1 of 1) sorted by relevance
719 static inline struct device *tp_to_dev(struct rtl8169_private *tp) in tp_to_dev() function1518 device_set_wakeup_enable(tp_to_dev(tp), wolopts); in __rtl8169_set_wol()1524 struct device *d = tp_to_dev(tp); in rtl8169_set_wol()1777 struct device *d = tp_to_dev(tp); in rtl8169_get_ethtool_stats()2035 struct device *d = tp_to_dev(tp); in rtl8169_get_eee()2057 struct device *d = tp_to_dev(tp); in rtl8169_set_eee()2220 dev_err(tp_to_dev(tp), "unknown chip XID %03x\n", reg & 0xfcf); in rtl8169_get_mac_version()3885 struct device *d = tp_to_dev(tp); in rtl_set_mac_address()3940 if (device_may_wakeup(tp_to_dev(tp))) { in rtl_pll_power_down()4195 rtl_fw->dev = tp_to_dev(tp); in rtl_request_firmware()[all …]