Home
last modified time | relevance | path

Searched refs:tok (Results 1 – 12 of 12) sorted by relevance

/dpdk/lib/eal/common/
H A Deal_common_string_fns.c16 int i, tok = 0; in rte_strsplit() local
23 if (string[i] == '\0' || tok >= maxtokens) in rte_strsplit()
27 tokens[tok++] = &string[i]; in rte_strsplit()
34 return tok; in rte_strsplit()
/dpdk/app/test-bbdev/
H A Dtest_bbdev_vector.c65 if (tok == NULL) in parse_values()
73 while (tok != NULL) { in parse_values()
99 if (tok == NULL) in parse_values()
268 char *tok = NULL; in parse_turbo_flags() local
272 if (tok == NULL) in parse_turbo_flags()
276 trim_space(tok); in parse_turbo_flags()
298 if (tok == NULL) in parse_turbo_flags()
332 char *tok = NULL; in parse_expected_status() local
336 if (tok == NULL) in parse_expected_status()
340 trim_space(tok); in parse_expected_status()
[all …]
/dpdk/app/test-crypto-perf/
H A Dcperf_test_vector_parsing.c219 char *tok, *error = NULL; in parse_values() local
221 tok = strtok(tokens, CPERF_VALUE_DELIMITER); in parse_values()
222 if (tok == NULL) in parse_values()
230 while (tok != NULL) { in parse_values()
245 values[n_tokens] = (uint8_t) strtoul(tok, &error, 0); in parse_values()
247 printf("Failed with convert '%s'\n", tok); in parse_values()
252 tok = strtok(NULL, CPERF_VALUE_DELIMITER); in parse_values()
253 if (tok == NULL) in parse_values()
/dpdk/drivers/event/cnxk/
H A Dcnxk_tim_evdev.c520 char *tok = strtok(value, "-"); in cnxk_tim_parse_ring_param() local
529 while (tok != NULL) { in cnxk_tim_parse_ring_param()
530 *val = atoi(tok); in cnxk_tim_parse_ring_param()
531 tok = strtok(NULL, "-"); in cnxk_tim_parse_ring_param()
607 char *tok; in cnxk_tim_parse_clk_list() local
613 tok = strtok(str, "-"); in cnxk_tim_parse_clk_list()
614 while (tok != NULL && src[i] != ROC_TIM_CLK_SRC_INVALID) { in cnxk_tim_parse_clk_list()
615 dev->ext_clk_freq[src[i]] = strtoull(tok, NULL, 10); in cnxk_tim_parse_clk_list()
616 tok = strtok(NULL, "-"); in cnxk_tim_parse_clk_list()
H A Dcnxk_eventdev.c583 char *tok = strtok(value, "-"); in parse_queue_param() local
589 while (tok != NULL) { in parse_queue_param()
590 *val = atoi(tok); in parse_queue_param()
591 tok = strtok(NULL, "-"); in parse_queue_param()
/dpdk/drivers/net/nfp/nfpcore/
H A Dnfp_cpp_pcie_ops.c131 uint64_t *bar_base, int tgt, int act, int tok, in nfp_compute_bar() argument
170 newcfg |= NFP_PCIE_BAR_PCIE2CPP_TOKEN_BASEADDRESS(tok); in nfp_compute_bar()
186 printf("\t%d:%d:%d:0x%#llx-0x%#llx>\n", tgt, act, tok, in nfp_compute_bar()
201 newcfg |= NFP_PCIE_BAR_PCIE2CPP_TOKEN_BASEADDRESS(tok); in nfp_compute_bar()
208 printf("\ttarget=%d, token=%d\n", tgt, tok); in nfp_compute_bar()
221 bar->index, tgt, tok, (unsigned long long)offset, in nfp_compute_bar()
229 printf("BAR%d: Too small for %d:%d:%d\n", bar->index, tgt, tok, in nfp_compute_bar()
272 int act, int tok, uint64_t offset, size_t size, int width) in nfp_reconfigure_bar() argument
278 err = nfp_compute_bar(bar, &newcfg, &newbase, tgt, act, tok, offset, in nfp_reconfigure_bar()
/dpdk/lib/cmdline/
H A Dcmdline_parse.c201 int tok; in cmdline_parse() local
251 tok = match_inst(inst, buf, 0, result_buf, in cmdline_parse()
254 if (tok > 0) /* we matched at least one token */ in cmdline_parse()
257 else if (!tok) { in cmdline_parse()
/dpdk/drivers/common/cnxk/
H A Dcnxk_telemetry_nix.c780 char *tok = strtok(param, ","); in cnxk_nix_tel_handle_info_x() local
783 if (!tok) in cnxk_nix_tel_handle_info_x()
786 rq = strtol(tok, NULL, 10); in cnxk_nix_tel_handle_info_x()
796 char *tok = strtok(param, ","); in cnxk_nix_tel_handle_info_x() local
799 if (!tok) in cnxk_nix_tel_handle_info_x()
802 cq = strtol(tok, NULL, 10); in cnxk_nix_tel_handle_info_x()
812 char *tok = strtok(param, ","); in cnxk_nix_tel_handle_info_x() local
815 if (!tok) in cnxk_nix_tel_handle_info_x()
818 sq = strtol(tok, NULL, 10); in cnxk_nix_tel_handle_info_x()
/dpdk/drivers/bus/fslmc/qbman/include/
H A Dfsl_qbman_portal.h216 uint8_t tok; member
313 uint8_t tok; member
/dpdk/drivers/bus/fslmc/qbman/
H A Dqbman_portal.c1842 d->pull.tok = token; in qbman_pull_desc_set_token()
1897 d->pull.tok = s->sys.idx + 1; in qbman_swp_pull_direct()
1922 d->pull.tok = s->sys.idx + 1; in qbman_swp_pull_cinh_direct()
1946 d->pull.tok = s->sys.idx + 1; in qbman_swp_pull_mem_back()
2224 if (dq->dq.tok == 0) in qbman_result_has_new_result()
2232 ((struct qbman_result *)dq)->dq.tok = 0; in qbman_result_has_new_result()
2251 if (dq->dq.tok == 0) in qbman_check_new_result()
2259 ((struct qbman_result *)dq)->dq.tok = 0; in qbman_check_new_result()
2268 if (dq->dq.tok == 0) in qbman_check_command_complete()
2271 s = portal_idx_map[dq->dq.tok - 1]; in qbman_check_command_complete()
/dpdk/lib/eal/linux/
H A Deal_vfio.c1335 char *tok[16], *group_tok, *end; in rte_vfio_get_group_num() local
1352 tok, RTE_DIM(tok), '/'); in rte_vfio_get_group_num()
1361 group_tok = tok[ret - 1]; in rte_vfio_get_group_num()
/dpdk/drivers/bus/dpaa/include/
H A Dfsl_qman.h311 u8 tok; member