STRUCT SDW_AMD_DAI_RUNTIME(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct sdw_amd_dai_runtime(9) β€” like, the AMD SoundWire DAI runtime data, bestie πŸŽ€

okay so this is a page from the Kernel API Manual, section 9, and it's all about one lil struct that holds the runtime data for an AMD SoundWire DAI. it's giving "small struct, big responsibilities" energy ngl πŸ¦‹


✨ NAME ✨

struct sdw_amd_dai_runtime β€” AMD sdw dai runtime data. that's it, that's the whole vibe πŸ’–


🌸 SYNOPSIS 🌸

struct sdw_amd_dai_runtime {
    char *name;
    struct sdw_stream_runtime *stream;
    struct sdw_bus *bus;
    enum sdw_stream_type stream_type;
 };

like, four members, immaculate layout, no notes πŸ‘‘


🫢 Members 🫢

okay let's meet the cast, one by one, main character style ⭐

  • name β€” SoundWire stream name. it's a char *, it's the name, it's literally right there in the field name bestie 😭
  • stream β€” stream runtime. it's a struct sdw_stream_runtime * and it's holding your stream runtime, periodt πŸ’…
  • bus β€” Bus handle. a struct sdw_bus *, aka the bus handle, aka how you get to the bus πŸ”₯
  • stream_type β€” Stream type. an enum sdw_stream_type β€” the type of the stream, no cap ✨
fr fr, every field is exactly named what it is. rare W for readability ngl πŸ™ˆ

πŸ‘‘ SEE ALSO πŸ‘‘

more lore if you wanna go down the rabbit hole, bestie 🧚

  • Kernel file ./include/linux/soundwire/sdw_amd.h
  • struct amd_sdw_manager(9)
  • struct sdw_amd_acpi_info(9)
  • struct sdw_amd_ctx(9)
  • struct sdw_amd_res(9)

and that's the whole page, you ate that πŸ’– this came from ./include/linux/soundwire, dated October 2026, and it's page struct sdw_amd_dai_runtime(9) of the Kernel API Manual β€” slay, go read the source, iykyk πŸŒˆπŸŽ€

πŸ“¦ where this page comes from