Home
last modified time | relevance | path

Searched refs:wol_opts (Results 1 – 5 of 5) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c654 if (priv->wol_opts & GFAR_WOL_MAGIC) in gfar_get_wol()
657 if (priv->wol_opts & GFAR_WOL_FILER_UCAST) in gfar_get_wol()
664 u16 wol_opts = 0; in gfar_set_wol() local
674 wol_opts |= GFAR_WOL_MAGIC; in gfar_set_wol()
677 wol_opts |= GFAR_WOL_FILER_UCAST; in gfar_set_wol()
680 wol_opts &= priv->wol_supported; in gfar_set_wol()
681 priv->wol_opts = 0; in gfar_set_wol()
683 err = device_set_wakeup_enable(priv->dev, wol_opts); in gfar_set_wol()
687 priv->wol_opts = wol_opts; in gfar_set_wol()
Dgianfar.h1200 u16 wol_opts; member
Dgianfar.c1527 if (priv->wol_opts & GFAR_WOL_FILER_UCAST) { in gfar_filer_config_wol()
1608 u16 wol = priv->wol_opts; in gfar_suspend()
1651 u16 wol = priv->wol_opts; in gfar_resume()
/linux-4.4.14/drivers/net/ethernet/via/
Dvia-velocity.c358 VELOCITY_PARAM(wol_opts, "Wake On Lan options");
491 …velocity_set_int_opt(&opts->wol_opts, wol_opts[index], WOL_OPT_MIN, WOL_OPT_MAX, WOL_OPT_DEF, "Wak… in velocity_get_options()
2854 vptr->wol_opts = vptr->options.wol_opts; in velocity_probe()
3045 if (vptr->wol_opts & VELOCITY_WOL_UCAST) in velocity_set_wol()
3048 if (vptr->wol_opts & VELOCITY_WOL_ARP) { in velocity_set_wol()
3436 if (vptr->wol_opts & VELOCITY_WOL_UCAST) in velocity_ethtool_get_wol()
3438 if (vptr->wol_opts & VELOCITY_WOL_ARP) in velocity_ethtool_get_wol()
3449 vptr->wol_opts = VELOCITY_WOL_MAGIC; in velocity_ethtool_set_wol()
3459 vptr->wol_opts |= VELOCITY_WOL_MAGIC; in velocity_ethtool_set_wol()
3463 vptr->wol_opts |= VELOCITY_WOL_UCAST; in velocity_ethtool_set_wol()
[all …]
Dvia-velocity.h1419 int wol_opts; /* Wake on lan options */ member
1489 int wol_opts; member