Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Den_ethtool.c368 struct mlx5e_params new_params; in mlx5e_ethtool_set_ringparam() local
396 new_params = priv->channels.params; in mlx5e_ethtool_set_ringparam()
397 new_params.log_rq_mtu_frames = log_rq_size; in mlx5e_ethtool_set_ringparam()
398 new_params.log_sq_size = log_sq_size; in mlx5e_ethtool_set_ringparam()
400 err = mlx5e_validate_params(priv->mdev, &new_params); in mlx5e_ethtool_set_ringparam()
404 err = mlx5e_safe_switch_params(priv, &new_params, NULL, NULL, true); in mlx5e_ethtool_set_ringparam()
444 struct mlx5e_params new_params; in mlx5e_ethtool_set_channels() local
509 new_params = *cur_params; in mlx5e_ethtool_set_channels()
510 new_params.num_channels = count; in mlx5e_ethtool_set_channels()
519 err = mlx5e_safe_switch_params(priv, &new_params, in mlx5e_ethtool_set_channels()
[all …]
Den_main.c3220 struct mlx5e_params *new_params, in mlx5e_switch_priv_params() argument
3227 priv->channels.params = *new_params; in mlx5e_switch_priv_params()
3635 struct mlx5e_params new_params; in mlx5e_setup_tc_mqprio_dcb() local
3644 new_params = priv->channels.params; in mlx5e_setup_tc_mqprio_dcb()
3645 mlx5e_params_mqprio_dcb_set(&new_params, tc ? tc : 1); in mlx5e_setup_tc_mqprio_dcb()
3647 err = mlx5e_safe_switch_params(priv, &new_params, in mlx5e_setup_tc_mqprio_dcb()
3749 struct mlx5e_params new_params; in mlx5e_setup_tc_mqprio_channel() local
3761 new_params = priv->channels.params; in mlx5e_setup_tc_mqprio_channel()
3762 mlx5e_params_mqprio_channel_set(&new_params, mqprio, rl); in mlx5e_setup_tc_mqprio_channel()
3764 err = mlx5e_safe_switch_params(priv, &new_params, in mlx5e_setup_tc_mqprio_channel()
[all …]
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()
Den.h1085 struct mlx5e_params *new_params,
/linux-6.12.1/drivers/nfc/st95hf/
Dcore.c537 struct param_list new_params[2]; in iso14443_config_fdt() local
545 new_params[0].param_offset = 2; in iso14443_config_fdt()
547 new_params[0].new_param_val = st95context->fwi; in iso14443_config_fdt()
549 new_params[0].new_param_val = pp_typeb; in iso14443_config_fdt()
551 new_params[1].param_offset = 3; in iso14443_config_fdt()
552 new_params[1].new_param_val = wtxm; in iso14443_config_fdt()
559 new_params, in iso14443_config_fdt()
579 new_params, in iso14443_config_fdt()
608 struct param_list new_params[1]; in st95hf_handle_wtx() local
621 new_params[0].param_offset = 1; in st95hf_handle_wtx()
[all …]
/linux-6.12.1/drivers/media/platform/rockchip/rkisp1/
Drkisp1-params.c1353 const struct rkisp1_params_cfg *new_params) in rkisp1_isp_isr_other_config() argument
1357 module_en_update = new_params->module_en_update; in rkisp1_isp_isr_other_config()
1358 module_cfg_update = new_params->module_cfg_update; in rkisp1_isp_isr_other_config()
1359 module_ens = new_params->module_ens; in rkisp1_isp_isr_other_config()
1370 &new_params->others.dpcc_config); in rkisp1_isp_isr_other_config()
1386 &new_params->others.bls_config); in rkisp1_isp_isr_other_config()
1402 &new_params->others.sdg_config); in rkisp1_isp_isr_other_config()
1417 params->ops->awb_gain_config(params, &new_params->others.awb_gain_config); in rkisp1_isp_isr_other_config()
1433 &new_params->others.bdm_config); in rkisp1_isp_isr_other_config()
1449 &new_params->others.flt_config); in rkisp1_isp_isr_other_config()
[all …]
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
Dipoib.c520 struct mlx5e_params new_params; in mlx5i_change_mtu() local
525 new_params = priv->channels.params; in mlx5i_change_mtu()
526 new_params.sw_mtu = new_mtu; in mlx5i_change_mtu()
528 err = mlx5e_safe_switch_params(priv, &new_params, NULL, NULL, true); in mlx5i_change_mtu()
532 WRITE_ONCE(netdev->mtu, new_params.sw_mtu); in mlx5i_change_mtu()
/linux-6.12.1/drivers/tty/
Dsynclink_gt.c1087 static long set_params32(struct slgt_info *info, struct MGSL_PARAMS32 __user *new_params) in set_params32() argument
1093 if (copy_from_user(&tmp_params, new_params, sizeof(struct MGSL_PARAMS32))) in set_params32()
2527 static int set_params(struct slgt_info *info, MGSL_PARAMS __user *new_params) in set_params() argument
2533 if (copy_from_user(&tmp_params, new_params, sizeof(MGSL_PARAMS))) in set_params()