Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_devlink.c334 val32 = (u32)src->vu8; in bnxt_copy_to_nvm_data()
354 dst->vu8 = (u8)val32; in bnxt_copy_from_nvm_data()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dcore.c1079 if (value.vu8 == DEVLINK_PARAM_FW_LOAD_POLICY_VALUE_FLASH) in mlxsw_core_fw_rev_validate()
1136 if (val.vu8 != DEVLINK_PARAM_FW_LOAD_POLICY_VALUE_DRIVER && in mlxsw_core_devlink_param_fw_load_policy_validate()
1137 val.vu8 != DEVLINK_PARAM_FW_LOAD_POLICY_VALUE_FLASH) { in mlxsw_core_devlink_param_fw_load_policy_validate()
1161 value.vu8 = DEVLINK_PARAM_FW_LOAD_POLICY_VALUE_DRIVER; in mlxsw_core_fw_params_register()
/kernel/linux/linux-5.10/include/net/
Ddevlink.h392 u8 vu8; member
/kernel/linux/linux-5.10/net/core/
Ddevlink.c3674 if (nla_put_u8(msg, DEVLINK_ATTR_PARAM_VALUE_DATA, val.vu8)) in devlink_nl_param_value_fill_one()
3915 value->vu8 = nla_get_u8(param_data); in devlink_param_value_get_from_info()