tp_to_dev
device_set_wakeup_enable(tp_to_dev(tp), wolopts);
rtl_fw->dev = tp_to_dev(tp);
if (device_may_wakeup(tp_to_dev(tp))) {
struct device *d = tp_to_dev(tp);
dma_unmap_page(tp_to_dev(tp),
dma_unmap_single(tp_to_dev(tp), le64_to_cpu(desc->addr), tx_skb->len,
struct device *d = tp_to_dev(tp);
struct device *d = tp_to_dev(tp);
struct device *d = tp_to_dev(tp);
if (!device_may_wakeup(tp_to_dev(tp)))
if (!device_may_wakeup(tp_to_dev(tp)))
rc = eth_platform_get_mac_address(tp_to_dev(tp), mac_addr);
dev_warn(tp_to_dev(tp), "can't read MAC address, setting random one\n");
struct device *dev = tp_to_dev(tp);
struct device *dev = tp_to_dev(tp);
struct device *dev = tp_to_dev(tp);
struct device *dev = tp_to_dev(tp);