Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/
Den_ethtool.c345 struct mlx5e_params new_params; in mlx5e_ethtool_set_ringparam() local
384 new_params = priv->channels.params; in mlx5e_ethtool_set_ringparam()
385 new_params.log_rq_mtu_frames = log_rq_size; in mlx5e_ethtool_set_ringparam()
386 new_params.log_sq_size = log_sq_size; in mlx5e_ethtool_set_ringparam()
388 err = mlx5e_validate_params(priv->mdev, &new_params); in mlx5e_ethtool_set_ringparam()
392 err = mlx5e_safe_switch_params(priv, &new_params, NULL, NULL, true); in mlx5e_ethtool_set_ringparam()
432 struct mlx5e_params new_params; in mlx5e_ethtool_set_channels() local
481 new_params = *cur_params; in mlx5e_ethtool_set_channels()
482 new_params.num_channels = count; in mlx5e_ethtool_set_channels()
491 err = mlx5e_safe_switch_params(priv, &new_params, in mlx5e_ethtool_set_channels()
[all …]
Den_main.c2922 struct mlx5e_params *new_params, in mlx5e_switch_priv_params() argument
2929 priv->channels.params = *new_params; in mlx5e_switch_priv_params()
3411 struct mlx5e_params new_params; in mlx5e_setup_tc_mqprio_dcb() local
3420 new_params = priv->channels.params; in mlx5e_setup_tc_mqprio_dcb()
3421 mlx5e_params_mqprio_dcb_set(&new_params, tc ? tc : 1); in mlx5e_setup_tc_mqprio_dcb()
3423 err = mlx5e_safe_switch_params(priv, &new_params, in mlx5e_setup_tc_mqprio_dcb()
3526 struct mlx5e_params new_params; in mlx5e_setup_tc_mqprio_channel() local
3539 new_params = priv->channels.params; in mlx5e_setup_tc_mqprio_channel()
3540 mlx5e_params_mqprio_channel_set(&new_params, mqprio, rl); in mlx5e_setup_tc_mqprio_channel()
3545 err = mlx5e_safe_switch_params(priv, &new_params, preactivate, NULL, true); in mlx5e_setup_tc_mqprio_channel()
[all …]
Den_dcbnl.c1143 struct mlx5e_params new_params; in mlx5e_set_trust_state() local
1149 new_params = priv->channels.params; in mlx5e_set_trust_state()
1150 mlx5e_params_calc_trust_tx_min_inline_mode(priv->mdev, &new_params, in mlx5e_set_trust_state()
1154 if (new_params.tx_min_inline_mode == priv->channels.params.tx_min_inline_mode) in mlx5e_set_trust_state()
1157 err = mlx5e_safe_switch_params(priv, &new_params, in mlx5e_set_trust_state()
Den.h1088 struct mlx5e_params *new_params,
/Linux-v6.1/drivers/media/platform/rockchip/rkisp1/
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 …]
/Linux-v6.1/drivers/nfc/st95hf/
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 …]
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
Dipoib.c475 struct mlx5e_params new_params; in mlx5i_change_mtu() local
480 new_params = priv->channels.params; in mlx5i_change_mtu()
481 new_params.sw_mtu = new_mtu; in mlx5i_change_mtu()
483 err = mlx5e_safe_switch_params(priv, &new_params, NULL, NULL, true); in mlx5i_change_mtu()
487 netdev->mtu = new_params.sw_mtu; in mlx5i_change_mtu()
/Linux-v6.1/drivers/tty/
Dsynclink_gt.c1089 static long set_params32(struct slgt_info *info, struct MGSL_PARAMS32 __user *new_params) in set_params32() argument
1094 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()
/Linux-v6.1/drivers/char/pcmcia/
Dsynclink_cs.c424 static int set_params(MGSLPC_INFO *info, MGSL_PARAMS __user *new_params, struct tty_struct *tty);
1799 static int set_params(MGSLPC_INFO * info, MGSL_PARAMS __user *new_params, struct tty_struct *tty) in set_params() argument
1808 COPY_FROM_USER(err,&tmp_params, new_params, sizeof(MGSL_PARAMS)); in set_params()