sof_parse_token_sets(9)
π sof_parse_token_sets(9) π
β¨ NAME β¨
Okay bestie, welcome to the Kernel API Manual πΈ. Today's main character is sof_parse_token_sets β parse multiple sets of tokens. Periodt. π
β¨ SYNOPSIS β¨
No cap, here's the signature exactly as it appears:
int sof_parse_token_sets (struct snd_soc_component *scomp , void *object
, const struct sof_topology_token *tokens , int count , struct
snd_soc_tplg_vendor_array *array , int array_size , int
token_instance_num , size_t object_size );
β¨ ARGUMENTS β¨
Vibe check on the arguments, fr fr β nothing skipped:
scompβ pointer to the soc component, slay πobjectβ target ipc struct for parsed values πtokensβ token definition array describing what tokens to parse πcountβ number of tokens in the definition array πarrayβ source pointer to consecutive vendor arrays in topology π¦array_sizeβ total size of array βtoken_instance_numβ number of times the same tokens need to be parsed, i.e. the function looks fortoken_instance_numof each token in thetokensπ«object_sizeβ offset to the next target ipc struct with multiple sets π₯
β¨ DESCRIPTION β¨
Okay so this function parses multiple sets of tokens in vendor arrays into consecutive ipc structs. That's the assignment. It's giving parser with main character energy. β¨
β¨ SEE ALSO β¨
Kernel file ./sound/soc/sof/topology.c β and the whole crew, 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_tokens(9)sof_set_widget_pipeline(9)
Bye bestie π«Ά this page's source/version is ./sound/soc/sof, dated October 2026. Mwah π
π¦ 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