Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dport.c823 int mlx5_set_port_wol(struct mlx5_core_dev *mdev, u8 wol_mode) in mlx5_set_port_wol() argument
829 MLX5_SET(set_wol_rol_in, in, wol_mode, wol_mode); in mlx5_set_port_wol()
833 int mlx5_query_port_wol(struct mlx5_core_dev *mdev, u8 *wol_mode) in mlx5_query_port_wol() argument
842 *wol_mode = MLX5_GET(query_wol_rol_out, out, wol_mode); in mlx5_query_port_wol()
H A Dmlx5_core.h353 int mlx5_set_port_wol(struct mlx5_core_dev *mdev, u8 wol_mode);
354 int mlx5_query_port_wol(struct mlx5_core_dev *mdev, u8 *wol_mode);
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c9459 u32 wol_mode; in hclge_set_wol() local
9462 wol_mode = wol->wolopts; in hclge_set_wol()
9463 if (wol_mode & ~wol_info->wol_support_mode) in hclge_set_wol()
9466 wol_info->wol_current_mode = wol_mode; in hclge_set_wol()
9467 if (wol_mode & WAKE_MAGICSECURE) { in hclge_set_wol()