STRUCT STM32_SAI_CONF(9)
π struct stm32_sai_conf(9) β like, the SAI configuration struct, bestie
okay so real talk, this is from the Kernel API Manual and it's literally just a struct that tells the kernel how your STM32 SAI is built. no cap, it's small, but it's iconic. let's get into it π
β¨ NAME β¨
struct stm32_sai_conf β SAI configuration, periodt. that's the whole vibe. π
πΈ SYNOPSIS πΈ
struct stm32_sai_conf {
int (*get_sai_ck_parent)(struct stm32_sai_data *sai);
u32 version;
u32 fifo_size;
bool has_spdif_pdm;
bool no_dma_burst;
};
that's it. five members. copy it exactly, don't touch anything, i'm watching π
π¦ Members π¦
here's the group chat roll call, and yes i'm giving each one main character energy π
get_sai_ck_parentβ a function pointer that gets the parent clock of the SAI kernel clock. like, who's your mom? this tells you. π₯versionβ the SAI version.u32, obviously. it's giving "which firmware era are we in" β¨fifo_sizeβ the SAI fifo size, expressed as a number of words. important detail, don't forget the "words" part fr fr π«Άhas_spdif_pdmβ aboolsupport flag for the SAI S/PDIF and PDM features. if it's set, those features are supported. iykyk πno_dma_burstβ if this is set, it supports only DMA single transfers. like, no bursting, only singles. respect the constraint bestie π
π SEE ALSO π
- Kernel file
./sound/soc/stm/stm32_sai.h struct stm32_sai_data(9)
go read those, they're the supporting cast and they ate π
and that's the whole page, bestie β no notes, we love a compact struct. this one came from ./sound/soc/stm, dated October 2026, and it's filed under struct stm32_sai_conf(9). mwah, see you in the next manpage πβ¨ππ¦πΈ
π¦ 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