STRUCT SDW_AMD_CTX(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so welcome to the struct sdw_amd_ctx(9) page from the Kernel API Manual β€” and bestie, this struct is literally the context allocated by the controller driver probe. that's the whole assignment. πŸ’…


✨ SYNOPSIS ✨

struct sdw_amd_ctx {
    int count;
    u32 link_mask;
    struct platform_device *pdev[AMD_SDW_MAX_MANAGER_COUNT];
    struct sdw_peripherals *peripherals;
 };

πŸŽ€ Members πŸŽ€

  • count β€” link count. short, sweet, slaying. ✨
  • link_mask β€” a bit-wise mask listing SoundWire links reported by the Controller. it's giving "which links are we talking about" energy. πŸ¦‹
  • pdev β€” platform device structure. iconic platform-device representation, no cap. πŸ’–
  • peripherals β€” array representing Peripherals exposed across all enabled links. yes bestie, all enabled links. πŸ‘‘

🌈 SEE ALSO 🌈

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

go check these out if you want the full lore, iykyk 🫢

anyway, mwah πŸ’‹ this page's source/version is ./include/linux/soundwire, and it's dated October 2026 β€” periodt. 🌸

πŸ“¦ where this page comes from