sof_parse_tokens(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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:


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