arizona_set_output_mode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

arizona_set_output_mode(9) πŸ’…

okay bestie, welcome to the Kernel API Manual β€” this one is literally all about arizona_set_output_mode(9) ✨


🌸 NAME 🌸

arizona_set_output_mode β€” set the mode of the specified output, periodt πŸ’–


✨ SYNOPSIS ✨

int arizona_set_output_mode (struct snd_soc_component *component , int output , bool diff );

πŸŽ€ ARGUMENTS πŸŽ€

  • component β€” the device you're configuring, bestie 🫢
  • output β€” the output number πŸ‘‘
  • diff β€” True means "yup, set this output to differential mode" πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so picture this: some systems use external analogue switches to connect more analogue devices to the CODEC than are supported by the device 😭 lowkey a lot, but that's the setup.

In some systems, this means you gotta change the switched output from single ended to differential mode dynamically at runtime β€” and that operation is supported using this function, slay ✨

Most systems have a single static configuration, and they should use platform data instead. no cap, that's the vibe for the majority πŸ’–


πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./sound/soc/codecs/arizona.c β€” go read it, iykyk πŸ‘‘

mwah πŸ’‹ this cutie came from ./sound/soc/codecs and is dated October 2026 β€” source/version and date, all accounted for, bye bestie πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from