sst_fill_module_list(9)
π sst_fill_module_list(9) π
okay bestie, we're in the Kernel API Manual today and this one is a lil C function that literally just introduces people to each other β it's giving matchmaker energy, no cap π«Ά
β¨ NAME β¨
sst_fill_module_list β populate the list of modules/gains for a pipe
like it literally fills in the list of modules and gains for a pipe, that's the whole job, periodt π
π¦ SYNOPSIS π¦
int sst_fill_module_list (struct snd_kcontrol *kctl , struct
snd_soc_dapm_widget *w , int type );
π ARGUMENTS π
kctlβ kcontrol pointer ποΈ (yes it's a pointer, yes it's astruct snd_kcontrol *)wβ dapm widget πΈtypeβ widget type π·οΈ
π DESCRIPTION π
So here's the tea, bestie: this function fills the widget pointer in the kcontrol private data, and also fills the kcontrol pointer in the widget private data. Mutual. Two-way. Iconic. π
The widget pointer is used to send the algo/gain in the .put handler if the widget is powerd on. π₯
The kcontrol pointer is used to send the algo/gain in the widget power ON/OFF event handler. And here's the important bit: each widget (pipe) has multiple algos stored in the algo_list. π
ngl this is the kind of function that's small but the whole pipe situation lowkey falls apart without it π
π SEE ALSO π
Kernel file ./sound/soc/intel/atom/sst-atom-controls.c
sst_fill_and_send_cmd(9)sst_slot_get(9)sst_slot_put(9)sst_find_and_send_pipe_algo(9)sst_send_gain_cmd(9)fill_swm_input(9)sst_send_pipe_gains(9)sst_fill_widget_module_info(9)sst_fill_linked_widgets(9)sst_map_modules_to_pipe(9)
okay that's the whole page, go slay πβ¨
this lil beauty lives in the kernel source at ./sound/soc/intel/atom and the date on it is October 2026 β π bye bestie, drink water, read your kernel docs π
π¦ 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