Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/netronome/nfp/
Ddevlink_param.c119 ctx->val.vu8 = arg->invalid_dl_val; in nfp_devlink_param_u8_get()
126 ctx->val.vu8 = arg->hi_to_dl[value]; in nfp_devlink_param_u8_get()
158 arg->hwinfo_name, arg->dl_to_hi[ctx->val.vu8]); in nfp_devlink_param_u8_set()
182 if (val.vu8 > arg->max_dl_val) { in nfp_devlink_param_u8_validate()
187 if (val.vu8 == arg->invalid_dl_val) { in nfp_devlink_param_u8_validate()
/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_devlink.c75 pfvf->flow_cfg->ucast_flt_cnt = ctx->val.vu8; in otx2_dl_ucast_flt_cnt_set()
91 ctx->val.vu8 = pfvf->flow_cfg ? pfvf->flow_cfg->ucast_flt_cnt : 0; in otx2_dl_ucast_flt_cnt_get()
/linux-6.12.1/drivers/crypto/marvell/octeontx2/
Dotx2_cpt_devlink.c44 ctx->val.vu8 = (reg_val >> 18) & 0x1; in otx2_cpt_dl_t106_mode_get()
65 reg_val |= ((u64)ctx->val.vu8 & 0x1) << 18; in otx2_cpt_dl_t106_mode_set()
/linux-6.12.1/drivers/net/wwan/iosm/
Diosm_ipc_devlink.c29 ctx->val.vu8 = ipc_devlink->param.erase_full_flash; in ipc_devlink_get_param()
42 ipc_devlink->param.erase_full_flash = ctx->val.vu8; in ipc_devlink_set_param()
/linux-6.12.1/drivers/net/dsa/mv88e6xxx/
Ddevlink.c41 err = mv88e6xxx_atu_get_hash(chip, &ctx->val.vu8); in mv88e6xxx_devlink_param_get()
63 err = mv88e6xxx_atu_set_hash(chip, ctx->val.vu8); in mv88e6xxx_devlink_param_set()
/linux-6.12.1/drivers/net/ethernet/intel/ice/devlink/
Ddevlink.c617 err = ice_get_tx_topo_user_sel(pf, &ctx->val.vu8); in ice_devlink_tx_sched_layers_get()
640 err = ice_update_tx_topo_user_sel(pf, ctx->val.vu8); in ice_devlink_tx_sched_layers_set()
669 if (val.vu8 != ICE_SCHED_5_LAYERS && val.vu8 != ICE_SCHED_9_LAYERS) { in ice_devlink_tx_sched_layers_validate()
/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_devlink.c1309 ctx->val.vu8 = (u8)percent; in rvu_af_dl_npc_mcam_high_zone_percent_get()
1323 percent = ctx->val.vu8; in rvu_af_dl_npc_mcam_high_zone_percent_set()
1342 if (val.vu8 < 12 || val.vu8 > 100) { in rvu_af_dl_npc_mcam_high_zone_percent_validate()
/linux-6.12.1/net/devlink/
Dparam.c206 if (nla_put_u8(msg, DEVLINK_ATTR_PARAM_VALUE_DATA, val.vu8)) in devlink_nl_param_value_fill_one()
462 value->vu8 = nla_get_u8(param_data); in devlink_param_value_get_from_info()
/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_devlink.c693 val32 = (u32)src->vu8; in bnxt_copy_to_nvm_data()
713 dst->vu8 = (u8)val32; in bnxt_copy_from_nvm_data()
760 *nvm_cfg_ver |= ver.vu8; in bnxt_hwrm_get_nvm_cfg_ver()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/
Dcore.c1265 if (value.vu8 == DEVLINK_PARAM_FW_LOAD_POLICY_VALUE_FLASH) in mlxsw_core_fw_rev_validate()
1313 if (val.vu8 != DEVLINK_PARAM_FW_LOAD_POLICY_VALUE_DRIVER && in mlxsw_core_devlink_param_fw_load_policy_validate()
1314 val.vu8 != DEVLINK_PARAM_FW_LOAD_POLICY_VALUE_FLASH) { in mlxsw_core_devlink_param_fw_load_policy_validate()
1338 value.vu8 = DEVLINK_PARAM_FW_LOAD_POLICY_VALUE_DRIVER; in mlxsw_core_fw_params_register()
/linux-6.12.1/include/net/
Ddevlink.h430 u8 vu8; member