sof_parse_tokens(9)
π NAME π
okay so welcome to sof_parse_tokens(9) from the Kernel API Manual, bestie π
β this one is literally about parsing one set of tokens, and she ate that job up.
β¨ SYNOPSIS β¨
here's the exact signature, no cap β copy it character for character π«Ά:
int sof_parse_tokens (struct snd_soc_component *scomp , void *object ,
const struct sof_topology_token *tokens , int num_tokens , struct
snd_soc_tplg_vendor_array *array , int array_size );
π ARGUMENTS π
scompβ pointer to soc component, like which soc component we're working with πobjectβ target ipc struct for parsed values, the main-character struct catching the parsed values πtokensβ token definition array describing what tokens to parse, aka the definition array that says which tokens we're parsing πΈnum_tokensβ number of tokens in definition array, fr fr π’arrayβ source pointer to consecutive vendor arrays in topology, the source pointer to those consecutive vendor arrays πarray_sizeβ total size of array, periodt π
π¦ DESCRIPTION π¦
basically, she parses a single set of tokens in vendor arrays into consecutive ipc structs. that's the whole vibe β one set of tokens, vendor arrays, consecutive ipc structs, done β¨
π SEE ALSO π
Kernel file ./sound/soc/sof/topology.c β plus these function besties, iykyk:
sof_update_ipc_object(9)sof_parse_uuid_tokens(9)sof_copy_tuples(9)sof_parse_string_tokens(9)sof_parse_word_tokens(9)sof_parse_token_sets(9)sof_set_widget_pipeline(9)
mwah π this page ships from ./sound/soc/sof and is dated October 2026 β that's the cute sign-off, bestie, no cap π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms