STRUCT STM32_DAC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct stm32_dac(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸ’– you're literally about to meet struct stm32_dac, and honestly? it's giving "quiet private data of the DAC driver" energy and we respect it 🫢


🌸 NAME 🌸

struct stm32_dac β€” the private data of the DAC driver πŸ’… no cap, that's the whole vibe


πŸ¦‹ SYNOPSIS πŸ¦‹

struct stm32_dac {
    struct stm32_dac_common *common;
    struct mutex            lock;
 };

look at her. two members. iconic. not a single wasted field 😭


πŸŽ€ Members πŸŽ€

  • common β€” a reference to the DAC common data ✨ like, it's the shared stuff, and she's holding the pointer to it. lowkey essential.
  • lock β€” a lock that protects against potential races when reading and update CR πŸ”₯ it's there to keep everything in sync with pm_runtime, fr fr. don't skip her, she's doing the work πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘

  • Kernel file ./drivers/iio/dac/stm32-dac.c β€” go read the source, iykyk πŸ’œ

and that's the whole page bestie, slay πŸ’– go forth and be normal about mutexes 🧚

β€” with love from the ./drivers/iio/dac crew, October 2026, struct stm32_dac(9) era πŸŒˆβœ¨πŸŽ€

πŸ“¦ where this page comes from