Home
last modified time | relevance | path

Searched full:tokens (Results 1 – 25 of 196) sorted by relevance

12345678

/linux-6.8/rust/macros/
Dquote.rs6 fn to_tokens(&self, tokens: &mut TokenStream); in to_tokens()
10 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens()
12 v.to_tokens(tokens); in to_tokens()
18 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens()
19 tokens.extend([TokenTree::from(self.clone())]); in to_tokens()
24 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens()
25 tokens.extend([self.clone()]); in to_tokens()
30 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens()
31 tokens.extend(self.clone()); in to_tokens()
35 /// Converts tokens into [`proc_macro::TokenStream`] and performs variable interpolations with
[all …]
Dpaste.rs5 fn concat(tokens: &[TokenTree], group_span: Span) -> TokenTree { in concat()
6 let mut tokens = tokens.iter(); in concat() localVariable
10 match tokens.next() { in concat()
29 let Some(TokenTree::Ident(ident)) = tokens.next() else { in concat()
57 pub(crate) fn expand(tokens: &mut Vec<TokenTree>) { in expand()
58 for token in tokens.iter_mut() { in expand()
72 // Recursively expand tokens inside the group in expand()
82 for i in (0..tokens.len().saturating_sub(3)).rev() { in expand()
85 (&tokens[i + 1], &tokens[i + 2]), in expand()
89 match &tokens[i + 3] { in expand()
[all …]
Dvtable.rs8 let mut tokens: Vec<_> = ts.into_iter().collect(); in vtable() localVariable
11 let is_trait = tokens in vtable()
24 let body = match tokens.pop() { in vtable()
94 tokens.push(TokenTree::Group(Group::new(Delimiter::Brace, new_body))); in vtable()
95 tokens.into_iter().collect() in vtable()
/linux-6.8/sound/soc/sof/
Dtopology.c17 #include <uapi/sound/sof/tokens.h>
40 * sof_update_ipc_object - Parse multiple sets of tokens within the token array associated with the
59 const struct sof_topology_token *tokens; in sof_update_ipc_object() local
72 /* No tokens to match */ in sof_update_ipc_object()
76 tokens = token_list[token_id].tokens; in sof_update_ipc_object()
77 if (!tokens) { in sof_update_ipc_object()
78 dev_err(scomp->dev, "Invalid tokens for token id: %d\n", token_id); in sof_update_ipc_object()
87 if (tokens[i].token == tuples[j].token) { in sof_update_ipc_object()
88 switch (tokens[i].type) { in sof_update_ipc_object()
91 u32 *val = (u32 *)((u8 *)object + tokens[i].offset + in sof_update_ipc_object()
[all …]
Dipc3-topology.c10 #include <uapi/sound/sof/tokens.h>
231 * DMIC PDM Tokens
233 * as it increments the index while parsing the array of pdm tokens
301 /* Core tokens */
307 /* Component extended tokens */
314 [SOF_PCM_TOKENS] = {"PCM tokens", pcm_tokens, ARRAY_SIZE(pcm_tokens)},
315 [SOF_PIPELINE_TOKENS] = {"Pipeline tokens", pipeline_tokens, ARRAY_SIZE(pipeline_tokens)},
316 [SOF_SCHED_TOKENS] = {"Scheduler tokens", sched_tokens, ARRAY_SIZE(sched_tokens)},
317 [SOF_COMP_TOKENS] = {"Comp tokens", comp_tokens, ARRAY_SIZE(comp_tokens)},
318 [SOF_CORE_TOKENS] = {"Core tokens", core_tokens, ARRAY_SIZE(core_tokens)},
[all …]
/linux-6.8/tools/perf/pmu-events/arch/x86/amdzen4/
Dother.json51 …iefDescription": "Number of cycles dispatch is stalled for integer physical register file tokens.",
63 "BriefDescription": "Number of cycles dispatch is stalled for store queue tokens.",
69 "BriefDescription": "Number of cycles dispatch is stalled for taken branch buffer tokens.",
75 …BriefDescription": "Number of cycles dispatch is stalled for floating-point register file tokens.",
81 "BriefDescription": "Number of cycles dispatch is stalled for floating-point scheduler tokens.",
93 … "BriefDescription": "Number of cycles dispatch is stalled for integer scheduler queue 0 tokens.",
99 … "BriefDescription": "Number of cycles dispatch is stalled for integer scheduler queue 1 tokens.",
105 … "BriefDescription": "Number of cycles dispatch is stalled for integer scheduler queue 2 tokens.",
111 … "BriefDescription": "Number of cycles dispatch is stalled for integer scheduler queue 3 tokens.",
117 "BriefDescription": "Number of cycles dispatch is stalled for retire queue tokens.",
/linux-6.8/tools/perf/pmu-events/arch/x86/amdzen1/
Dother.json17 …patch group is valid but does not get dispatched due to a token stall. RETIRE Tokens unavailable.",
23 …ispatch group is valid but does not get dispatched due to a token stall. AGSQ Tokens unavailable.",
29 …tch group is valid but does not get dispatched due to a token stall. ALU tokens total unavailable.…
35 …tch group is valid but does not get dispatched due to a token stall. ALSQ 3_0 Tokens unavailable.",
41 …patch group is valid but does not get dispatched due to a token stall. ALSQ 3 Tokens unavailable.",
47 …patch group is valid but does not get dispatched due to a token stall. ALSQ 2 Tokens unavailable.",
53 …patch group is valid but does not get dispatched due to a token stall. ALSQ 1 Tokens unavailable.",
/linux-6.8/net/netfilter/
Dnft_limit.c20 u64 tokens; member
34 u64 now, tokens; in nft_limit_eval() local
39 tokens = priv->limit->tokens + now - priv->limit->last; in nft_limit_eval()
40 if (tokens > priv->tokens_max) in nft_limit_eval()
41 tokens = priv->tokens_max; in nft_limit_eval()
44 delta = tokens - cost; in nft_limit_eval()
46 priv->limit->tokens = delta; in nft_limit_eval()
50 priv->limit->tokens = tokens; in nft_limit_eval()
61 u64 unit, tokens, rate_with_burst; in nft_limit_init() local
88 if (check_mul_overflow(tmp, priv->burst, &tokens)) in nft_limit_init()
[all …]
/linux-6.8/scripts/
Dasn1_compiler.c348 struct token *tokens; in tokenise() local
352 /* Assume we're going to have half as many tokens as we have in tokenise()
355 token_list = tokens = calloc((end - buffer) / 2, sizeof(struct token)); in tokenise()
356 if (!tokens) { in tokenise()
407 tokens[tix].line = lineno; in tokenise()
410 /* Handle string tokens */ in tokenise()
420 tokens[tix].size = q - p; in tokenise()
423 tokens[tix].content = malloc(tokens[tix].size + 1); in tokenise()
424 if (!tokens[tix].content) { in tokenise()
428 memcpy(tokens[tix].content, start, tokens[tix].size); in tokenise()
[all …]
/linux-6.8/drivers/net/wireguard/
Dratelimiter.c27 u64 last_time_ns, tokens, ip; member
113 u64 now, tokens; in wg_ratelimiter_allow() local
117 * the burst as part of the maximum tokens, rather than in wg_ratelimiter_allow()
122 tokens = min_t(u64, TOKEN_MAX, in wg_ratelimiter_allow()
123 entry->tokens + now - in wg_ratelimiter_allow()
126 ret = tokens >= PACKET_COST; in wg_ratelimiter_allow()
127 entry->tokens = ret ? tokens - PACKET_COST : tokens; in wg_ratelimiter_allow()
147 entry->tokens = TOKEN_MAX - PACKET_COST; in wg_ratelimiter_allow()
/linux-6.8/Documentation/ABI/testing/
Dsysfs-platform-dell-smbios1 What: /sys/devices/platform/<platform>/tokens/*
6 A read-only description of Dell platform tokens
19 Tokens will vary from machine to machine, and
20 only tokens available on that machine will be
/linux-6.8/tools/perf/pmu-events/arch/x86/amdzen3/
Dother.json70 …lid but does not get dispatched due to a token stall. Insufficient Retire Queue tokens available.",
76 …ispatch group is valid but does not get dispatched due to a token stall. AGSQ Tokens unavailable.",
82 …atch group is valid but does not get dispatched due to a token stall. No tokens for Integer Schedu…
88 …atch group is valid but does not get dispatched due to a token stall. No tokens for Integer Schedu…
94 …atch group is valid but does not get dispatched due to a token stall. No tokens for Integer Schedu…
100 …atch group is valid but does not get dispatched due to a token stall. No tokens for Integer Schedu…
/linux-6.8/tools/perf/pmu-events/arch/x86/amdzen2/
Dother.json82 …patch group is valid but does not get dispatched due to a token stall. RETIRE Tokens unavailable.",
88 …ispatch group is valid but does not get dispatched due to a token stall. AGSQ Tokens unavailable.",
94 …tch group is valid but does not get dispatched due to a token stall. ALU tokens total unavailable.…
106 …patch group is valid but does not get dispatched due to a token stall. ALSQ 2 Tokens unavailable.",
112 …patch group is valid but does not get dispatched due to a token stall. ALSQ 1 Tokens unavailable.",
/linux-6.8/tools/arch/x86/kcpuid/
Dkcpuid.c303 * Tokens: in parse_line()
311 char *tokens[6]; in parse_line() local
325 tokens[i] = strtok(str, ","); in parse_line()
326 if (!tokens[i]) in parse_line()
330 tokens[5] = strtok(str, "\n"); in parse_line()
331 if (!tokens[5]) in parse_line()
335 index = strtoull(tokens[0], NULL, 0); in parse_line()
354 sub = strtoul(tokens[1], NULL, 0); in parse_line()
359 buf = tokens[2]; in parse_line()
376 buf = tokens[3]; in parse_line()
[all …]
/linux-6.8/lib/
Dts_fsm.c35 struct ts_fsm_token tokens[]; member
160 strict = fsm->tokens[0].recur != TS_FSM_HEAD_IGNORE; in fsm_find()
166 cur = &fsm->tokens[tok_idx]; in fsm_find()
169 next = &fsm->tokens[tok_idx + 1]; in fsm_find()
261 struct ts_fsm_token *tokens = (struct ts_fsm_token *) pattern; in fsm_init() local
262 unsigned int ntokens = len / sizeof(*tokens); in fsm_init()
272 struct ts_fsm_token *t = &tokens[i]; in fsm_init()
289 memcpy(fsm->tokens, pattern, len); in fsm_init()
292 struct ts_fsm_token *t = &fsm->tokens[i]; in fsm_init()
305 return fsm->tokens; in fsm_get_pattern()
/linux-6.8/drivers/platform/x86/dell/
Ddell-smbios-base.c47 /* generally tokens are allowed, but may be further filtered or
82 /* tokens that are whitelisted for given capabilities */
90 /* tokens that are explicitly blacklisted */
212 /* tokens enabled ? */ in dell_smbios_call_filter()
356 int tokens = (dm->length-11)/sizeof(struct calling_interface_token)-1; in parse_da_table() local
371 new_da_tokens = krealloc(da_tokens, (da_num_tokens + tokens) * in parse_da_table()
379 memcpy(da_tokens+da_num_tokens, table->tokens, in parse_da_table()
380 sizeof(struct calling_interface_token) * tokens); in parse_da_table()
382 da_num_tokens += tokens; in parse_da_table()
463 .name = "tokens"
[all …]
Ddell-smbios.h23 /* Tokens used in kernel drivers, any of these
56 struct calling_interface_token tokens[]; member
/linux-6.8/drivers/i2c/busses/
Di2c-meson.c82 * @tokens: Sequence of tokens to be written to the device
83 * @num_tokens: Number of tokens
101 u32 tokens[2]; member
124 i2c->tokens[0] = 0; in meson_i2c_reset_tokens()
125 i2c->tokens[1] = 0; in meson_i2c_reset_tokens()
132 i2c->tokens[0] |= (token & 0xf) << (i2c->num_tokens * 4); in meson_i2c_add_token()
134 i2c->tokens[1] |= (token & 0xf) << ((i2c->num_tokens % 8) * 4); in meson_i2c_add_token()
274 writel(i2c->tokens[0], i2c->regs + REG_TOK_LIST0); in meson_i2c_prepare_xfer()
275 writel(i2c->tokens[1], i2c->regs + REG_TOK_LIST1); in meson_i2c_prepare_xfer()
/linux-6.8/include/uapi/sound/
Dsnd_sst_tokens.h3 * snd_sst_tokens.h - Intel SST tokens definition
102 * share the same set of tokens
228 * module_id and loadable flags dont have tokens as these values will be
231 * Tokens defined can be used either in the manifest or widget private data.
233 * SKL_TKN_MM is used as a suffix for all tokens that represent
Dsnd_ar_tokens.h167 /* DAI Tokens */
169 /* SUB GRAPH Tokens */
175 /* Container Tokens */
182 /* Module Tokens */
/linux-6.8/drivers/staging/media/atomisp/pci/
Dgdc_v2_defs.h63 // After the first data token is received, pre-defined number of tokens with the following meaning …
64 // 1. two tokens: SRC address ; DST address
65 // 2. nine tokens: P0'Y, .., P3'Y ; SRC address ; DST address
113 // Like this, we have three tokens in the scaling protocol,
/linux-6.8/scripts/genksyms/
Dlex.l23 and then we categorize those basic tokens in the second stage. */
67 /* The Pedant requires that the other C multi-character tokens be
68 recognized as tokens. We don't actually use them since we don't
77 /* All other tokens are single characters. */
114 of the parser to tailor the tokens that are returned. */
/linux-6.8/net/sched/
Dsch_tbf.c108 s64 tokens; /* Current number of B tokens */ member
109 s64 ptokens; /* Current number of P tokens */
291 toks += q->tokens; in tbf_dequeue()
302 q->tokens = toks; in tbf_dequeue()
335 q->tokens = q->buffer; in tbf_reset()
463 q->tokens = q->buffer; in tbf_change()
/linux-6.8/drivers/mtd/ubi/
Dblock.c103 char *tokens[UBIBLOCK_PARAM_COUNT]; in ubiblock_set_param() local
127 tokens[i] = strsep(&pbuf, ","); in ubiblock_set_param()
130 if (tokens[1]) { in ubiblock_set_param()
132 ret = kstrtoint(tokens[0], 10, &param->ubi_num); in ubiblock_set_param()
137 ret = kstrtoint(tokens[1], 10, &param->vol_id); in ubiblock_set_param()
140 strcpy(param->name, tokens[1]); in ubiblock_set_param()
145 strcpy(param->name, tokens[0]); in ubiblock_set_param()
/linux-6.8/include/dt-bindings/gce/
Dmt8186-gce.h348 /* CMDQ sw tokens
385 /* GPR access tokens (for register backup)
388 * MUST NOT CHANGE, these tokens sync with MDP
419 /* CMDQ sw tokens END */

12345678