Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/phy/mscc/
H A Dmscc_main.c280 struct ethtool_wolinfo *wol_conf = wol; in vsc85xx_wol_set() local
304 if (wol_conf->wolopts & WAKE_MAGICSECURE) { in vsc85xx_wol_set()
306 pwd[i] = wol_conf->sopass[5 - (i * 2 + 1)] << 8 | in vsc85xx_wol_set()
307 wol_conf->sopass[5 - i * 2]; in vsc85xx_wol_set()
318 if (wol_conf->wolopts & WAKE_MAGICSECURE) in vsc85xx_wol_set()
359 struct ethtool_wolinfo *wol_conf = wol; in vsc85xx_wol_get() local
368 wol_conf->wolopts |= WAKE_MAGICSECURE; in vsc85xx_wol_get()
369 if (wol_conf->wolopts & WAKE_MAGICSECURE) { in vsc85xx_wol_get()
374 wol_conf->sopass[5 - i * 2] = pwd[i] & 0x00ff; in vsc85xx_wol_get()
375 wol_conf->sopass[5 - (i * 2 + 1)] = (pwd[i] & 0xff00) in vsc85xx_wol_get()
/OK3568_Linux_fs/kernel/drivers/net/wireless/marvell/libertas/
H A 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()
H A Dhost.h851 struct wol_config wol_conf; member