STRUCT STM32_DAC(9)
β¨ 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 withpm_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
- 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