Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/phy/mscc/
Dmscc_main.c281 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()
/linux-6.1.9/drivers/net/wireless/marvell/libertas/
Dcmd.c199 memcpy((uint8_t *)&cmd_config.wol_conf, (uint8_t *)p_wol_config, in lbs_host_sleep_cfg()
202 cmd_config.wol_conf.action = CMD_ACT_ACTION_NONE; in lbs_host_sleep_cfg()
210 (uint8_t *)&cmd_config.wol_conf, in lbs_host_sleep_cfg()
Dhost.h855 struct wol_config wol_conf; member