Lines Matching +full:magic +full:- +full:packet
1 // SPDX-License-Identifier: GPL-2.0
68 /* If WOL was enabled and a magic packet was received before powering in linkstation_mvphy_reg_intn()
69 * off, we won't be able to wake up by sending another magic packet. in linkstation_mvphy_reg_intn()
79 dev_err(&phydev->mdio.dev, "Write register failed, %d\n", rc); in linkstation_mvphy_reg_intn()
99 /* If WOL was enabled and a magic packet was received before powering in readynas_mvphy_set_reg()
100 * off, we won't be able to wake up by sending another magic packet. in readynas_mvphy_set_reg()
110 dev_err(&phydev->mdio.dev, "Write register failed, %d\n", rc); in readynas_mvphy_set_reg()
119 .mdio_node_name = "mdio-bus",
127 cfg->phy_set_reg(true); in linkstation_reboot_notifier()
139 cfg->phy_set_reg(false); in linkstation_poweroff()
151 { .compatible = "netgear,readynas-duo-v2",
165 return -ENODEV; in linkstation_poweroff_init()
169 cfg = match->data; in linkstation_poweroff_init()
171 dn = of_find_node_by_name(NULL, cfg->mdio_node_name); in linkstation_poweroff_init()
173 return -ENODEV; in linkstation_poweroff_init()
178 return -EPROBE_DEFER; in linkstation_poweroff_init()
181 put_device(&bus->dev); in linkstation_poweroff_init()
183 return -EPROBE_DEFER; in linkstation_poweroff_init()