fill_swm_input(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ fill_swm_input(9) ✨

okay so bestie, this page is from the Kernel API Manual, and today’s main character is fill_swm_input(9). we’re doing SWM input ids and register bit-fields, no cap πŸ’…


🌸 NAME 🌸

fill_swm_input β€” fill in the SWM input ids given the register. periodt.

πŸ¦‹ SYNOPSIS πŸ¦‹

int fill_swm_input (struct snd_soc_component *cmpnt , struct swm_input_ids *swm_input , unsigned int reg );

πŸŽ€ ARGUMENTS πŸŽ€

  • cmpnt β€” an ASoC component. your fave little component, slay.
  • swm_input β€” array of swm_input_ids. literally the array, bestie.
  • reg β€” the register value is a bit-field inicated which mixer inputs are ON. (yes, inicated is the doc’s word, i’m not fixing it, i’m just delivering it πŸ’€)

🧚 DESCRIPTION 🧚

use the lookup table to get the input-id and fill it in the structure. that’s the whole move. iconic, lowkey.

πŸ”₯ SEE ALSO πŸ”₯


mwah πŸ’‹ this cutie is fill_swm_input(9) from ./sound/soc/intel/atom, dated October 2026. bye bestie 🫢

πŸ“¦ where this page comes from