Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_env.c20 enum ethtool_module_power_mode_policy power_mode_policy; member
602 params->policy = module_info->power_mode_policy; in mlxsw_env_get_module_power_mode()
726 if (module_info->power_mode_policy == policy) in mlxsw_env_set_module_power_mode_apply()
740 module_info->power_mode_policy = policy; in mlxsw_env_set_module_power_mode_apply()
1131 if (module_info->power_mode_policy != in mlxsw_env_module_port_up()
1165 if (module_info->power_mode_policy != in mlxsw_env_module_port_down()
1201 module_info->power_mode_policy = in mlxsw_env_line_cards_alloc()
1282 policy = module_info->power_mode_policy; in mlxsw_env_linecard_modules_power_mode_apply()
/openbmc/linux/tools/net/ynl/generated/
H A Dethtool-user.h4399 __u32 power_mode_policy:1; member
4404 __u8 power_mode_policy; member
4486 __u32 power_mode_policy:1; member
4491 __u8 power_mode_policy; member
4529 __u8 power_mode_policy) in ethtool_module_set_req_set_power_mode_policy() argument
4531 req->_present.power_mode_policy = 1; in ethtool_module_set_req_set_power_mode_policy()
4532 req->power_mode_policy = power_mode_policy; in ethtool_module_set_req_set_power_mode_policy()
H A Dethtool-user.c5132 dst->_present.power_mode_policy = 1; in ethtool_module_get_rsp_parse()
5133 dst->power_mode_policy = mnl_attr_get_u8(attr); in ethtool_module_get_rsp_parse()
5246 if (req->_present.power_mode_policy) in ethtool_module_set()
5247 mnl_attr_put_u8(nlh, ETHTOOL_A_MODULE_POWER_MODE_POLICY, req->power_mode_policy); in ethtool_module_set()