Home
last modified time | relevance | path

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

/linux-6.6.21/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()
157 arg->hwinfo_name, arg->dl_to_hi[ctx->val.vu8]); in nfp_devlink_param_u8_set()
181 if (val.vu8 > arg->max_dl_val) { in nfp_devlink_param_u8_validate()
186 if (val.vu8 == arg->invalid_dl_val) { in nfp_devlink_param_u8_validate()
/linux-6.6.21/drivers/net/wwan/iosm/
Diosm_ipc_devlink.c29 ctx->val.vu8 = ipc_devlink->param.erase_full_flash; in ipc_devlink_get_param()
41 ipc_devlink->param.erase_full_flash = ctx->val.vu8; in ipc_devlink_set_param()
/linux-6.6.21/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.6.21/net/devlink/
Dparam.c205 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.6.21/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_devlink.c721 val32 = (u32)src->vu8; in bnxt_copy_to_nvm_data()
741 dst->vu8 = (u8)val32; in bnxt_copy_from_nvm_data()
788 *nvm_cfg_ver |= ver.vu8; in bnxt_hwrm_get_nvm_cfg_ver()
/linux-6.6.21/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_devlink.c1504 ctx->val.vu8 = (u8)percent; in rvu_af_dl_npc_mcam_high_zone_percent_get()
1517 percent = ctx->val.vu8; in rvu_af_dl_npc_mcam_high_zone_percent_set()
1536 if (val.vu8 < 12 || val.vu8 > 100) { in rvu_af_dl_npc_mcam_high_zone_percent_validate()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dcore.c1251 if (value.vu8 == DEVLINK_PARAM_FW_LOAD_POLICY_VALUE_FLASH) in mlxsw_core_fw_rev_validate()
1299 if (val.vu8 != DEVLINK_PARAM_FW_LOAD_POLICY_VALUE_DRIVER && in mlxsw_core_devlink_param_fw_load_policy_validate()
1300 val.vu8 != DEVLINK_PARAM_FW_LOAD_POLICY_VALUE_FLASH) { in mlxsw_core_devlink_param_fw_load_policy_validate()
1324 value.vu8 = DEVLINK_PARAM_FW_LOAD_POLICY_VALUE_DRIVER; in mlxsw_core_fw_params_register()
/linux-6.6.21/include/net/
Ddevlink.h429 u8 vu8; member