Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/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()
H A Dgianfar.h1164 u16 wol_opts; member
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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/via/
H A Dvia-velocity.c349 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()
3036 if (vptr->wol_opts & VELOCITY_WOL_UCAST) in velocity_set_wol()
3039 if (vptr->wol_opts & VELOCITY_WOL_ARP) { in velocity_set_wol()
3441 if (vptr->wol_opts & VELOCITY_WOL_UCAST) in velocity_ethtool_get_wol()
3443 if (vptr->wol_opts & VELOCITY_WOL_ARP) in velocity_ethtool_get_wol()
3454 vptr->wol_opts = VELOCITY_WOL_MAGIC; in velocity_ethtool_set_wol()
3464 vptr->wol_opts |= VELOCITY_WOL_MAGIC; in velocity_ethtool_set_wol()
3468 vptr->wol_opts |= VELOCITY_WOL_UCAST; in velocity_ethtool_set_wol()
[all …]
H A Dvia-velocity.h1366 int wol_opts; /* Wake on lan options */ member
1436 int wol_opts; member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/realtek/r8168/
H A Dr8168.h1519 u32 wol_opts; member
H A Dr8168_n.c963 seq_printf(m, "wol_opts\t0x%x\n", tp->wol_opts); in proc_get_driver_variable()
1357 tp->wol_opts, in proc_get_driver_variable()
4682 tp->wol_opts = 0; in rtl8168_get_hw_wol()
4689 tp->wol_opts |= WAKE_PHY; in rtl8168_get_hw_wol()
4695 tp->wol_opts |= WAKE_MAGIC; in rtl8168_get_hw_wol()
4699 tp->wol_opts |= WAKE_MAGIC; in rtl8168_get_hw_wol()
4705 tp->wol_opts |= WAKE_UCAST; in rtl8168_get_hw_wol()
4707 tp->wol_opts |= WAKE_BCAST; in rtl8168_get_hw_wol()
4709 tp->wol_opts |= WAKE_MCAST; in rtl8168_get_hw_wol()
4712 tp->wol_enabled = (tp->wol_opts || tp->dash_printer_enabled) ? WOL_ENABLED : WOL_DISABLED; in rtl8168_get_hw_wol()
[all …]