sof_parse_token_sets(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 for token_instance_num of each token in the tokens πŸ’«
  • 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:


Bye bestie 🫢 this page's source/version is ./sound/soc/sof, dated October 2026. Mwah πŸ’‹

πŸ“¦ where this page comes from