STRUCT SDW_CDNS_DAI_RUNTIME(9)
π 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.preparereads 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
- 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