STRUCT SDW_CDNS_DAI_RUNTIME(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’œ struct sdw_cdns_dai_runtime(9) πŸ’œ

okay so bestie, welcome to the Kernel API Manual β€” this one's a struct page, and it's honestly kind of iconic. no cap. 🌸

✨ NAME ✨

struct sdw_cdns_dai_runtime β€” the Cadence DAI runtime data. that's it, that's the whole vibe. it's literally the little bundle of state that keeps track of what a Cadence DAI is doing at runtime. πŸŽ€

πŸ¦‹ SYNOPSIS πŸ¦‹

like, here's the whole shape of her. every field, exactly as written, no edits, no notes:

struct sdw_cdns_dai_runtime {
    char *name;
    struct sdw_stream_runtime *stream;
    struct sdw_cdns_pdi *pdi;
    struct sdw_bus *bus;
    enum sdw_stream_type stream_type;
    int link_id;
    bool suspended;
    bool paused;
    int direction;
 };

πŸ’… Members πŸ’…

okay now the actual cast of characters, one by one, iykyk:

  • name β€” the SoundWire stream name. literally her name. main character energy. ✨
  • stream β€” the stream runtime. yes, that one. the runtime for the stream. 🫢
  • pdi β€” the PDI used for this dai. it's this dai's PDI, ok?? don't share. πŸ™ˆ
  • bus β€” the Bus handle. grab it and go. 🚌
  • stream_type β€” the stream type. type of the stream. the stream's type. (we love a self-describing field πŸ’€)
  • link_id β€” the Master link id. which master link we're on, bestie. πŸ”—
  • suspended β€” status set when suspended, to be used in .prepare. so like, someone sets it, and then .prepare reads it. that's the whole relationship. 😭
  • paused β€” status set in .trigger, to be used in suspend. different setter, different reader, same energy. πŸ”₯
  • direction β€” stream direction. which way the stream goes. ⭐

🌈 SEE ALSO 🌈

go read these next, they're all in the Kernel file ./drivers/soundwire/cadence_master.h, and honestly the whole friend group is worth knowing:

  • struct sdw_cdns_pdi(9)
  • struct sdw_cdns_streams(9)
  • struct sdw_cdns_stream_config(9)
  • struct sdw_cdns(9)

and that's the page, bestie. 🧚 source path ./drivers/soundwire, dated October 2026, and it's all struct sdw_cdns_dai_runtime(9) down here at the bottom. slay. πŸ’–πŸ‘‘

πŸ“¦ where this page comes from