Searched refs:tp_to_dev (Results 1 – 1 of 1) sorted by relevance
815 static inline struct device *tp_to_dev(struct rtl8169_private *tp) in tp_to_dev() function941 struct device *dev = tp_to_dev(tp); in rtl8168_led_mod_ctrl()959 struct device *dev = tp_to_dev(tp); in rtl8168_get_led_mode()983 struct device *dev = tp_to_dev(tp); in rtl8125_set_led_mode()1004 struct device *dev = tp_to_dev(tp); in rtl8125_get_led_mode()1765 device_set_wakeup_enable(tp_to_dev(tp), wolopts); in __rtl8169_set_wol()2700 rtl_fw->dev = tp_to_dev(tp); in rtl_request_firmware()2782 if (device_may_wakeup(tp_to_dev(tp))) { in rtl_prepare_power_down()4164 struct device *d = tp_to_dev(tp); in rtl8169_alloc_rx_data()4191 dma_unmap_page(tp_to_dev(tp), in rtl8169_rx_clear()[all …]