Home
last modified time | relevance | path

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

/linux/tools/perf/util/
H A Dparse-sublevel-options.c13 char *vstr, *s = strdup(str); in parse_one_sublevel_option() local
21 vstr = strchr(s, '='); in parse_one_sublevel_option()
22 if (vstr) in parse_one_sublevel_option()
23 *vstr++ = 0; in parse_one_sublevel_option()
37 if (vstr) in parse_one_sublevel_option()
38 v = atoi(vstr); in parse_one_sublevel_option()
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dnv_param.c273 strscpy(ctx->val.vstr, cqe_compress_str[value], sizeof(ctx->val.vstr)); in mlx5_nv_param_devlink_cqe_compress_get()
285 if (!strcmp(val->vstr, cqe_compress_str[i])) in mlx5_nv_param_devlink_cqe_compress_validate()
305 if (!strcmp(ctx->val.vstr, "aggressive")) in mlx5_nv_param_devlink_cqe_compress_set()
376 strscpy(ctx->val.vstr, swp_l4_csum_mode_str[value], in mlx5_devlink_swp_l4_csum_mode_get()
377 sizeof(ctx->val.vstr)); in mlx5_devlink_swp_l4_csum_mode_get()
392 if (!strcmp(val->vstr, swp_l4_csum_mode_str[i])) in mlx5_devlink_swp_l4_csum_mode_validate()
457 if (!strcmp(ctx->val.vstr, "full_csum")) in mlx5_devlink_swp_l4_csum_mode_set()
478 strscpy(ctx->val.vstr, swp_l4_csum_mode_str[value], in mlx5_devlink_swp_l4_csum_mode_get_default()
479 sizeof(ctx->val.vstr)); in mlx5_devlink_swp_l4_csum_mode_get_default()
/linux/samples/trace_events/
H A Dtrace-events-sample.h315 __vstring( vstr, fmt, va )
326 __assign_vstr(vstr, fmt, va);
383 __get_str(vstr),
/linux/drivers/net/wan/framer/pef2256/
H A Dpef2256.c86 u8 vstr, wid; in pef2256_get_version() local
88 vstr = pef2256_read8(pef2256, PEF2256_VSTR); in pef2256_get_version()
91 switch (vstr) { in pef2256_get_version()
112 dev_err(pef2256->dev, "Unknown version (0x%02x, 0x%02x)\n", vstr, wid); in pef2256_get_version()
/linux/lib/crypto/arm/
H A Dsha1-ce-core.S121 vstr dgbs, [r0, #16]
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_devlink.c1275 snprintf(ctx->val.vstr, sizeof(ctx->val.vstr), "%s", in rvu_af_npc_defrag_feature_get()
1306 if (kstrtoull(val->vstr, 10, &enable)) { in rvu_af_npc_defrag_feature_validate()
1336 snprintf(ctx->val.vstr, sizeof(ctx->val.vstr), "%s", in rvu_af_npc_exact_feature_get()
1362 if (kstrtoull(val->vstr, 10, &enable)) { in rvu_af_npc_exact_feature_validate()
/linux/drivers/tty/serial/
H A Dsunsab.h29 u8 vstr; /* Version Status Register */ member
H A Dsunsab.c292 !(readb(&up->regs->r.vstr) & SAB82532_VSTR_CD)); in check_status()
396 val = readb(&up->regs->r.vstr); in sunsab_get_mctrl()
989 up->type = readb(&up->regs->r.vstr) & 0x0f; in sunsab_init_one()
/linux/drivers/net/ethernet/intel/ice/devlink/
H A Ddevlink.c1546 snprintf(ctx->val.vstr, sizeof(ctx->val.vstr), "%s", mode_str); in ice_devlink_local_fwd_get()
1564 int new_local_fwd_mode = ice_devlink_local_fwd_str_to_mode(ctx->val.vstr); in ice_devlink_local_fwd_set()
1572 dev_info(dev, "Setting local_fwd to %s\n", ctx->val.vstr); in ice_devlink_local_fwd_set()
1597 if (ice_devlink_local_fwd_str_to_mode(val->vstr) < 0) { in ice_devlink_local_fwd_validate()
/linux/net/devlink/
H A Dparam.c245 if (nla_put_string(msg, nla_type, val->vstr)) in devlink_nl_param_value_put()
586 strcpy(value->vstr, nla_data(param_data)); in devlink_param_value_get_from_info()
/linux/include/net/
H A Ddevlink.h450 char vstr[__DEVLINK_PARAM_MAX_STRING_VALUE]; member