Home
last modified time | relevance | path

Searched refs:wol_conf (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/net/phy/
Dmscc.c605 struct ethtool_wolinfo *wol_conf = wol; in vsc85xx_wol_set() local
629 if (wol_conf->wolopts & WAKE_MAGICSECURE) { in vsc85xx_wol_set()
631 pwd[i] = wol_conf->sopass[5 - (i * 2 + 1)] << 8 | in vsc85xx_wol_set()
632 wol_conf->sopass[5 - i * 2]; in vsc85xx_wol_set()
643 if (wol_conf->wolopts & WAKE_MAGICSECURE) in vsc85xx_wol_set()
684 struct ethtool_wolinfo *wol_conf = wol; in vsc85xx_wol_get() local
693 wol_conf->wolopts |= WAKE_MAGICSECURE; in vsc85xx_wol_get()
694 if (wol_conf->wolopts & WAKE_MAGICSECURE) { in vsc85xx_wol_get()
699 wol_conf->sopass[5 - i * 2] = pwd[i] & 0x00ff; in vsc85xx_wol_get()
700 wol_conf->sopass[5 - (i * 2 + 1)] = (pwd[i] & 0xff00) in vsc85xx_wol_get()
/Linux-v5.4/drivers/net/wireless/marvell/libertas/
Dcmd.c200 memcpy((uint8_t *)&cmd_config.wol_conf, (uint8_t *)p_wol_config, in lbs_host_sleep_cfg()
203 cmd_config.wol_conf.action = CMD_ACT_ACTION_NONE; in lbs_host_sleep_cfg()
211 (uint8_t *)&cmd_config.wol_conf, in lbs_host_sleep_cfg()
Dhost.h851 struct wol_config wol_conf; member