Searched refs:power_mode_policy (Results 1 – 3 of 3) sorted by relevance
20 enum ethtool_module_power_mode_policy power_mode_policy; member602 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()
4399 __u32 power_mode_policy:1; member4404 __u8 power_mode_policy; member4486 __u32 power_mode_policy:1; member4491 __u8 power_mode_policy; member4529 __u8 power_mode_policy) in ethtool_module_set_req_set_power_mode_policy() argument4531 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()
5132 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()