STRUCT SDW_AMD_CTX(9)
π 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
- 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