Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Ddevlink.c439 int group_num = val.vu32; in mlx5_devlink_large_group_num_validate()
455 return (val.vu32 >= 64 && val.vu32 <= 4096) ? 0 : -EINVAL; in mlx5_devlink_eq_depth_validate()
463 return val.vu32 ? 0 : -EINVAL; in mlx5_devlink_hairpin_num_queues_validate()
472 u32 val32 = val.vu32; in mlx5_devlink_hairpin_queue_size_validate()
502 value.vu32 = link_speed64; in mlx5_devlink_hairpin_params_init_values()
506 value.vu32 = in mlx5_devlink_hairpin_params_init_values()
546 value.vu32 = MLX5_COMP_EQ_SIZE; in mlx5_devlink_set_params_init_values()
551 value.vu32 = MLX5_NUM_ASYNC_EQE; in mlx5_devlink_set_params_init_values()
726 if (val.vu32 == 0) { in mlx5_devlink_max_uc_list_validate()
731 if (!is_power_of_2(val.vu32)) { in mlx5_devlink_max_uc_list_validate()
[all …]
H A Deq.c647 return val.vu32; in async_eq_depth_devlink_param_get()
998 return val.vu32; in comp_eq_depth_devlink_param_get()
H A Dmain.c521 return val.vu32; in max_uc_list_get_devlink_param()
H A Deswitch.c1357 esw->params.large_group_num = val.vu32; in mlx5_eswitch_get_devlink_param()
H A Den_tc.c1162 params.log_num_packets = ilog2(val.vu32); in mlx5e_hairpin_flow_add()
1178 params.num_channels = val.vu32; in mlx5e_hairpin_flow_add()
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_devlink.c717 val32 = src->vu32; in bnxt_copy_to_nvm_data()
737 dst->vu32 = val32; in bnxt_copy_from_nvm_data()
790 *nvm_cfg_ver = ver.vu32; in bnxt_hwrm_get_nvm_cfg_ver()
1158 if (val.vu32 > max_val) { in bnxt_dl_msix_validate()
/openbmc/linux/net/devlink/
H A Dparam.c213 if (nla_put_u32(msg, DEVLINK_ATTR_PARAM_VALUE_DATA, val.vu32)) in devlink_nl_param_value_fill_one()
472 value->vu32 = nla_get_u32(param_data); in devlink_param_value_get_from_info()
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_devlink.c1369 int dwrr_mtu = val.vu32; in rvu_af_dl_dwrr_mtu_validate()
1409 dwrr_mtu = convert_bytes_to_dwrr_mtu(ctx->val.vu32); in rvu_af_dl_dwrr_mtu_set()
1428 ctx->val.vu32 = convert_dwrr_mtu_to_bytes(dwrr_mtu); in rvu_af_dl_dwrr_mtu_get()
/openbmc/linux/drivers/net/netdevsim/
H A Ddev.c526 value.vu32 = nsim_dev->max_macs; in nsim_devlink_set_params_init_values()
546 nsim_dev->max_macs = saved_value.vu32; in nsim_devlink_param_load_driverinit_values()
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_acl_tcam.c1500 ctx->val.vu32 = tcam->vregion_rehash_intrvl; in mlxsw_sp_acl_tcam_region_rehash_intrvl_get()
1513 u32 val = ctx->val.vu32; in mlxsw_sp_acl_tcam_region_rehash_intrvl_set()
/openbmc/linux/include/net/
H A Ddevlink.h431 u32 vu32; member
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dmain.c219 u32 value = val.vu32; in mlx4_devlink_max_macs_validate()
271 value.vu32 = 1UL << log_num_mac; in mlx4_devlink_set_params_init_values()
3961 log_num_mac = order_base_2(saved_value.vu32); in mlx4_devlink_param_load_driverinit_values()