Searched refs:tp_to_dev (Results 1 – 1 of 1) sorted by relevance
663 static inline struct device *tp_to_dev(struct rtl8169_private *tp) in tp_to_dev() function1427 device_set_wakeup_enable(tp_to_dev(tp), wolopts); in __rtl8169_set_wol()2239 if (device_may_wakeup(tp_to_dev(tp))) { in rtl_pll_power_down()2449 rtl_fw->dev = tp_to_dev(tp); in rtl_request_firmware()3859 struct device *d = tp_to_dev(tp); in rtl8169_alloc_rx_data()3886 dma_unmap_page(tp_to_dev(tp), in rtl8169_rx_clear()3932 dma_unmap_single(tp_to_dev(tp), le64_to_cpu(desc->addr), tx_skb->len, in rtl8169_unmap_tx_skb()4031 struct device *d = tp_to_dev(tp); in rtl8169_tx_map()4465 struct device *d = tp_to_dev(tp); in rtl_rx()4848 if (!device_may_wakeup(tp_to_dev(tp))) in rtl8169_suspend()[all …]