| /linux/tools/perf/util/ |
| H A D | parse-sublevel-options.c | 13 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 D | nv_param.c | 267 strscpy(ctx->val.vstr, cqe_compress_str[value], sizeof(ctx->val.vstr)); in mlx5_nv_param_devlink_cqe_compress_get() 279 if (!strcmp(val.vstr, cqe_compress_str[i])) in mlx5_nv_param_devlink_cqe_compress_validate() 299 if (!strcmp(ctx->val.vstr, "aggressive")) in mlx5_nv_param_devlink_cqe_compress_set() 370 strscpy(ctx->val.vstr, swp_l4_csum_mode_str[value], in mlx5_devlink_swp_l4_csum_mode_get() 371 sizeof(ctx->val.vstr)); in mlx5_devlink_swp_l4_csum_mode_get() 386 if (!strcmp(val.vstr, swp_l4_csum_mode_str[i])) in mlx5_devlink_swp_l4_csum_mode_validate() 451 if (!strcmp(ctx->val.vstr, "full_csum")) in mlx5_devlink_swp_l4_csum_mode_set() 472 strscpy(ctx->val.vstr, swp_l4_csum_mode_str[value], in mlx5_devlink_swp_l4_csum_mode_get_default() 473 sizeof(ctx->val.vstr)); in mlx5_devlink_swp_l4_csum_mode_get_default()
|
| /linux/samples/trace_events/ |
| H A D | trace-events-sample.h | 306 __vstring( vstr, fmt, va ) 317 __assign_vstr(vstr, fmt, va); 374 __get_str(vstr),
|
| /linux/drivers/net/wan/framer/pef2256/ |
| H A D | pef2256.c | 86 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 D | sha1-ce-core.S | 121 vstr dgbs, [r0, #16]
|
| /linux/drivers/crypto/marvell/octeontx2/ |
| H A D | otx2_cpt_devlink.c | 30 ctx->val.vstr[0] = '\0'; in otx2_cpt_dl_uc_info()
|
| H A D | otx2_cptpf_ucode.c | 1619 strscpy(tmp_buf, ctx->val.vstr); in otx2_cpt_dl_custom_egrp_create() 1771 if (strncasecmp(ctx->val.vstr, "egrp", 4)) in otx2_cpt_dl_custom_egrp_delete() 1773 tmp = ctx->val.vstr; in otx2_cpt_dl_custom_egrp_delete()
|
| /linux/drivers/net/ethernet/intel/ice/devlink/ |
| H A D | devlink.c | 1544 snprintf(ctx->val.vstr, sizeof(ctx->val.vstr), "%s", mode_str); in ice_devlink_local_fwd_get() 1562 int new_local_fwd_mode = ice_devlink_local_fwd_str_to_mode(ctx->val.vstr); in ice_devlink_local_fwd_set() 1570 dev_info(dev, "Setting local_fwd to %s\n", ctx->val.vstr); in ice_devlink_local_fwd_set() 1595 if (ice_devlink_local_fwd_str_to_mode(val.vstr) < 0) { in ice_devlink_local_fwd_validate()
|
| /linux/drivers/staging/greybus/ |
| H A D | audio_codec.h | 123 char vstr[NAME_SIZE]; member
|
| /linux/drivers/tty/serial/ |
| H A D | sunsab.h | 29 u8 vstr; /* Version Status Register */ member
|
| H A D | sunsab.c | 292 !(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/net/devlink/ |
| H A D | param.c | 240 if (nla_put_string(msg, nla_type, val.vstr)) in devlink_nl_param_value_put() 543 strcpy(value->vstr, nla_data(param_data)); in devlink_param_value_get_from_info()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | fs_core.c | 3775 char *value = val.vstr; in mlx5_fs_mode_validate() 3820 if (!strcmp(ctx->val.vstr, "smfs")) in mlx5_fs_mode_set() 3822 else if (!strcmp(ctx->val.vstr, "hmfs")) in mlx5_fs_mode_set() 3839 strscpy(ctx->val.vstr, "smfs", sizeof(ctx->val.vstr)); in mlx5_fs_mode_get() 3842 strscpy(ctx->val.vstr, "hmfs", sizeof(ctx->val.vstr)); in mlx5_fs_mode_get() 3845 strscpy(ctx->val.vstr, "dmfs", sizeof(ctx->val.vstr)); in mlx5_fs_mode_get()
|
| /linux/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | rvu_devlink.c | 1272 snprintf(ctx->val.vstr, sizeof(ctx->val.vstr), "%s", in rvu_af_npc_exact_feature_get() 1298 if (kstrtoull(val.vstr, 10, &enable)) { in rvu_af_npc_exact_feature_validate()
|
| /linux/include/net/ |
| H A D | devlink.h | 442 char vstr[__DEVLINK_PARAM_MAX_STRING_VALUE]; member
|