Home
last modified time | relevance | path

Searched refs:vu32 (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Ddevlink.c488 int group_num = val.vu32; in mlx5_devlink_large_group_num_validate()
566 return (val.vu32 >= 64 && val.vu32 <= 4096) ? 0 : -EINVAL; in mlx5_devlink_eq_depth_validate()
610 value.vu32 = ESW_OFFLOADS_DEFAULT_NUM_GROUPS; in mlx5_devlink_set_params_init_values()
616 value.vu32 = MLX5_COMP_EQ_SIZE; in mlx5_devlink_set_params_init_values()
621 value.vu32 = MLX5_NUM_ASYNC_EQE; in mlx5_devlink_set_params_init_values()
775 if (val.vu32 == 0) { in mlx5_devlink_max_uc_list_validate()
780 if (!is_power_of_2(val.vu32)) { in mlx5_devlink_max_uc_list_validate()
785 if (ilog2(val.vu32) > in mlx5_devlink_max_uc_list_validate()
811 value.vu32 = 1 << MLX5_CAP_GEN(dev, log_max_current_uc_list); in mlx5_devlink_max_uc_list_param_register()
Deq.c631 return val.vu32; in async_eq_depth_devlink_param_get()
876 return val.vu32; in comp_eq_depth_devlink_param_get()
Dmain.c492 return val.vu32; in max_uc_list_get_devlink_param()
Deswitch.c1154 esw->params.large_group_num = val.vu32; in mlx5_eswitch_get_devlink_param()
/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_devlink.c724 val32 = src->vu32; in bnxt_copy_to_nvm_data()
744 dst->vu32 = val32; in bnxt_copy_from_nvm_data()
797 *nvm_cfg_ver = ver.vu32; in bnxt_hwrm_get_nvm_cfg_ver()
1169 if (val.vu32 > max_val) { in bnxt_dl_msix_validate()
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_devlink.c1375 int dwrr_mtu = val.vu32; in rvu_af_dl_dwrr_mtu_validate()
1415 dwrr_mtu = convert_bytes_to_dwrr_mtu(ctx->val.vu32); in rvu_af_dl_dwrr_mtu_set()
1432 ctx->val.vu32 = convert_dwrr_mtu_to_bytes(dwrr_mtu); in rvu_af_dl_dwrr_mtu_get()
/linux-6.1.9/drivers/net/netdevsim/
Ddev.c529 value.vu32 = nsim_dev->max_macs; in nsim_devlink_set_params_init_values()
549 nsim_dev->max_macs = saved_value.vu32; in nsim_devlink_param_load_driverinit_values()
/linux-6.1.9/include/net/
Ddevlink.h417 u32 vu32; member
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/
Dmain.c220 u32 value = val.vu32; in mlx4_devlink_max_macs_validate()
272 value.vu32 = 1UL << log_num_mac; in mlx4_devlink_set_params_init_values()
3926 log_num_mac = order_base_2(saved_value.vu32); in mlx4_devlink_param_load_driverinit_values()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum.c3866 ctx->val.vu32 = mlxsw_sp_acl_region_rehash_intrvl_get(mlxsw_sp); in mlxsw_sp_params_acl_region_rehash_intrvl_get()
3877 return mlxsw_sp_acl_region_rehash_intrvl_set(mlxsw_sp, ctx->val.vu32); in mlxsw_sp_params_acl_region_rehash_intrvl_set()
3901 value.vu32 = 0; in mlxsw_sp2_params_register()
/linux-6.1.9/net/core/
Ddevlink.c5280 if (nla_put_u32(msg, DEVLINK_ATTR_PARAM_VALUE_DATA, val.vu32)) in devlink_nl_param_value_fill_one()
5520 value->vu32 = nla_get_u32(param_data); in devlink_param_value_get_from_info()