Home
last modified time | relevance | path

Searched refs:new_params (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_ethtool.c360 struct mlx5e_params new_params; in mlx5e_ethtool_set_ringparam() local
399 new_params = priv->channels.params; in mlx5e_ethtool_set_ringparam()
400 new_params.log_rq_mtu_frames = log_rq_size; in mlx5e_ethtool_set_ringparam()
401 new_params.log_sq_size = log_sq_size; in mlx5e_ethtool_set_ringparam()
403 err = mlx5e_validate_params(priv->mdev, &new_params); in mlx5e_ethtool_set_ringparam()
407 err = mlx5e_safe_switch_params(priv, &new_params, NULL, NULL, true); in mlx5e_ethtool_set_ringparam()
447 struct mlx5e_params new_params; in mlx5e_ethtool_set_channels() local
496 new_params = *cur_params; in mlx5e_ethtool_set_channels()
497 new_params.num_channels = count; in mlx5e_ethtool_set_channels()
506 err = mlx5e_safe_switch_params(priv, &new_params, in mlx5e_ethtool_set_channels()
[all …]
H A Den_main.c2987 struct mlx5e_params *new_params, in mlx5e_switch_priv_params() argument
2994 priv->channels.params = *new_params; in mlx5e_switch_priv_params()
3472 struct mlx5e_params new_params; in mlx5e_setup_tc_mqprio_dcb() local
3481 new_params = priv->channels.params; in mlx5e_setup_tc_mqprio_dcb()
3482 mlx5e_params_mqprio_dcb_set(&new_params, tc ? tc : 1); in mlx5e_setup_tc_mqprio_dcb()
3484 err = mlx5e_safe_switch_params(priv, &new_params, in mlx5e_setup_tc_mqprio_dcb()
3587 struct mlx5e_params new_params; in mlx5e_setup_tc_mqprio_channel() local
3600 new_params = priv->channels.params; in mlx5e_setup_tc_mqprio_channel()
3601 mlx5e_params_mqprio_channel_set(&new_params, mqprio, rl); in mlx5e_setup_tc_mqprio_channel()
3606 err = mlx5e_safe_switch_params(priv, &new_params, preactivate, NULL, true); in mlx5e_setup_tc_mqprio_channel()
[all …]
H A Den_dcbnl.c1146 struct mlx5e_params new_params; in mlx5e_set_trust_state() local
1152 new_params = priv->channels.params; in mlx5e_set_trust_state()
1153 mlx5e_params_calc_trust_tx_min_inline_mode(priv->mdev, &new_params, in mlx5e_set_trust_state()
1157 if (new_params.tx_min_inline_mode == priv->channels.params.tx_min_inline_mode) in mlx5e_set_trust_state()
1160 err = mlx5e_safe_switch_params(priv, &new_params, in mlx5e_set_trust_state()
H A Den.h1064 struct mlx5e_params *new_params,
/openbmc/linux/drivers/media/platform/rockchip/rkisp1/
H A Drkisp1-params.c1244 const struct rkisp1_params_cfg *new_params) in rkisp1_isp_isr_other_config() argument
1248 module_en_update = new_params->module_en_update; in rkisp1_isp_isr_other_config()
1249 module_cfg_update = new_params->module_cfg_update; in rkisp1_isp_isr_other_config()
1250 module_ens = new_params->module_ens; in rkisp1_isp_isr_other_config()
1255 &new_params->others.dpcc_config); in rkisp1_isp_isr_other_config()
1271 &new_params->others.bls_config); in rkisp1_isp_isr_other_config()
1287 &new_params->others.sdg_config); in rkisp1_isp_isr_other_config()
1302 params->ops->awb_gain_config(params, &new_params->others.awb_gain_config); in rkisp1_isp_isr_other_config()
1318 &new_params->others.bdm_config); in rkisp1_isp_isr_other_config()
1334 &new_params->others.flt_config); in rkisp1_isp_isr_other_config()
[all …]
/openbmc/linux/drivers/nfc/st95hf/
H A Dcore.c538 struct param_list new_params[2]; in iso14443_config_fdt() local
546 new_params[0].param_offset = 2; in iso14443_config_fdt()
548 new_params[0].new_param_val = st95context->fwi; in iso14443_config_fdt()
550 new_params[0].new_param_val = pp_typeb; in iso14443_config_fdt()
552 new_params[1].param_offset = 3; in iso14443_config_fdt()
553 new_params[1].new_param_val = wtxm; in iso14443_config_fdt()
560 new_params, in iso14443_config_fdt()
580 new_params, in iso14443_config_fdt()
609 struct param_list new_params[1]; in st95hf_handle_wtx() local
622 new_params[0].param_offset = 1; in st95hf_handle_wtx()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
H A Dipoib.c517 struct mlx5e_params new_params; in mlx5i_change_mtu() local
522 new_params = priv->channels.params; in mlx5i_change_mtu()
523 new_params.sw_mtu = new_mtu; in mlx5i_change_mtu()
525 err = mlx5e_safe_switch_params(priv, &new_params, NULL, NULL, true); in mlx5i_change_mtu()
529 netdev->mtu = new_params.sw_mtu; in mlx5i_change_mtu()
/openbmc/linux/drivers/tty/
H A Dsynclink_gt.c1086 static long set_params32(struct slgt_info *info, struct MGSL_PARAMS32 __user *new_params) in set_params32() argument
1092 if (copy_from_user(&tmp_params, new_params, sizeof(struct MGSL_PARAMS32))) in set_params32()
2526 static int set_params(struct slgt_info *info, MGSL_PARAMS __user *new_params) in set_params() argument
2532 if (copy_from_user(&tmp_params, new_params, sizeof(MGSL_PARAMS))) in set_params()