Home
last modified time | relevance | path

Searched refs:wol_opts (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/
H A Dgianfar_ethtool.c556 if (priv->wol_opts & GFAR_WOL_MAGIC) in gfar_get_wol()
559 if (priv->wol_opts & GFAR_WOL_FILER_UCAST) in gfar_get_wol()
566 u16 wol_opts = 0; in gfar_set_wol() local
576 wol_opts |= GFAR_WOL_MAGIC; in gfar_set_wol()
579 wol_opts |= GFAR_WOL_FILER_UCAST; in gfar_set_wol()
582 wol_opts &= priv->wol_supported; in gfar_set_wol()
583 priv->wol_opts = 0; in gfar_set_wol()
585 err = device_set_wakeup_enable(priv->dev, wol_opts); in gfar_set_wol()
589 priv->wol_opts = wol_opts; in gfar_set_wol()
[all...]
H A Dgianfar.c3544 if (priv->wol_opts & GFAR_WOL_FILER_UCAST) { in gfar_filer_config_wol()
3625 u16 wol = priv->wol_opts; in gfar_suspend()
3668 u16 wol = priv->wol_opts; in gfar_resume()
H A Dgianfar.h1164 u16 wol_opts; member
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/
H A Dgianfar_ethtool.c566 if (priv->wol_opts & GFAR_WOL_MAGIC) in gfar_get_wol()
569 if (priv->wol_opts & GFAR_WOL_FILER_UCAST) in gfar_get_wol()
576 u16 wol_opts = 0; in gfar_set_wol() local
586 wol_opts |= GFAR_WOL_MAGIC; in gfar_set_wol()
589 wol_opts |= GFAR_WOL_FILER_UCAST; in gfar_set_wol()
592 wol_opts &= priv->wol_supported; in gfar_set_wol()
593 priv->wol_opts = 0; in gfar_set_wol()
595 err = device_set_wakeup_enable(priv->dev, wol_opts); in gfar_set_wol()
599 priv->wol_opts = wol_opts; in gfar_set_wol()
[all...]
H A Dgianfar.c3422 if (priv->wol_opts & GFAR_WOL_FILER_UCAST) { in gfar_filer_config_wol()
3503 u16 wol = priv->wol_opts; in gfar_suspend()
3546 u16 wol = priv->wol_opts; in gfar_resume()
H A Dgianfar.h1208 u16 wol_opts; member
/kernel/linux/linux-5.10/drivers/net/ethernet/via/
H A Dvia-velocity.c342 /* wol_opts[] is used for controlling wake on lan behavior.
349 VELOCITY_PARAM(wol_opts, "Wake On Lan options");
491 velocity_set_int_opt(&opts->wol_opts, wol_opts[index], in velocity_get_options()
2840 vptr->wol_opts = vptr->options.wol_opts; in velocity_probe()
3032 if (vptr->wol_opts & VELOCITY_WOL_PHY) in velocity_set_wol()
3036 if (vptr->wol_opts & VELOCITY_WOL_UCAST) in velocity_set_wol()
3039 if (vptr->wol_opts & VELOCITY_WOL_ARP) { in velocity_set_wol()
3438 if (vptr->wol_opts in velocity_ethtool_get_wol()
[all...]
H A Dvia-velocity.h1366 int wol_opts; /* Wake on lan options */ member
1436 int wol_opts; member
/kernel/linux/linux-6.6/drivers/net/ethernet/via/
H A Dvia-velocity.c342 /* wol_opts[] is used for controlling wake on lan behavior.
349 VELOCITY_PARAM(wol_opts, "Wake On Lan options");
491 velocity_set_int_opt(&opts->wol_opts, wol_opts[index], in velocity_get_options()
2841 vptr->wol_opts = vptr->options.wol_opts; in velocity_probe()
3030 if (vptr->wol_opts & VELOCITY_WOL_PHY) in velocity_set_wol()
3034 if (vptr->wol_opts & VELOCITY_WOL_UCAST) in velocity_set_wol()
3037 if (vptr->wol_opts & VELOCITY_WOL_ARP) { in velocity_set_wol()
3436 if (vptr->wol_opts in velocity_ethtool_get_wol()
[all...]
H A Dvia-velocity.h1365 int wol_opts; /* Wake on lan options */ member
1435 int wol_opts; member

Completed in 32 milliseconds