STRUCT STM32_SAI_CONF(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β€” a bool support 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