Home
last modified time | relevance | path

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

/drivers/net/wan/framer/pef2256/
A Dpef2256.c85 u8 vstr, wid; in pef2256_get_version() local
87 vstr = pef2256_read8(pef2256, PEF2256_VSTR); in pef2256_get_version()
90 switch (vstr) { in pef2256_get_version()
111 dev_err(pef2256->dev, "Unknown version (0x%02x, 0x%02x)\n", vstr, wid); in pef2256_get_version()
/drivers/crypto/marvell/octeontx2/
A Dotx2_cpt_devlink.c29 ctx->val.vstr[0] = '\0'; in otx2_cpt_dl_uc_info()
A Dotx2_cptpf_ucode.c1618 strscpy(tmp_buf, ctx->val.vstr, strlen(ctx->val.vstr) + 1); in otx2_cpt_dl_custom_egrp_create()
1770 if (strncasecmp(ctx->val.vstr, "egrp", 4)) in otx2_cpt_dl_custom_egrp_delete()
1772 tmp = ctx->val.vstr; in otx2_cpt_dl_custom_egrp_delete()
/drivers/net/ethernet/intel/ice/devlink/
A Ddevlink.c1524 snprintf(ctx->val.vstr, sizeof(ctx->val.vstr), "%s", mode_str); in ice_devlink_local_fwd_get()
1542 int new_local_fwd_mode = ice_devlink_local_fwd_str_to_mode(ctx->val.vstr); in ice_devlink_local_fwd_set()
1550 dev_info(dev, "Setting local_fwd to %s\n", ctx->val.vstr); in ice_devlink_local_fwd_set()
1575 if (ice_devlink_local_fwd_str_to_mode(val.vstr) < 0) { in ice_devlink_local_fwd_validate()
/drivers/staging/greybus/
A Daudio_codec.h123 char vstr[NAME_SIZE]; member
/drivers/tty/serial/
A Dsunsab.h29 u8 vstr; /* Version Status Register */ member
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()
/drivers/net/ethernet/mellanox/mlx5/core/
A Dfs_core.c3734 char *value = val.vstr; in mlx5_fs_mode_validate()
3780 if (!strcmp(ctx->val.vstr, "smfs")) in mlx5_fs_mode_set()
3782 else if (!strcmp(ctx->val.vstr, "hmfs")) in mlx5_fs_mode_set()
3798 strscpy(ctx->val.vstr, "smfs", sizeof(ctx->val.vstr)); in mlx5_fs_mode_get()
3801 strscpy(ctx->val.vstr, "hmfs", sizeof(ctx->val.vstr)); in mlx5_fs_mode_get()
3804 strscpy(ctx->val.vstr, "dmfs", sizeof(ctx->val.vstr)); in mlx5_fs_mode_get()
/drivers/net/ethernet/marvell/octeontx2/af/
A Drvu_devlink.c1254 snprintf(ctx->val.vstr, sizeof(ctx->val.vstr), "%s", in rvu_af_npc_exact_feature_get()
1280 if (kstrtoull(val.vstr, 10, &enable)) { in rvu_af_npc_exact_feature_validate()

Completed in 34 milliseconds