STRUCT SDW_CDNS_PDI(9)
β¨ struct sdw_cdns_pdi(9) β the Kernel API Manual tea βπ
okay so bestie, welcome to the struct sdw_cdns_pdi(9) page from the Kernel API Manual β yes it's a real kernel thing, no I'm not joking, and yes we're gonna get through it together π«Ά
πΈ NAME πΈ
struct sdw_cdns_pdi β a PDI (Physical Data Interface) instance β¨ literally what it says on the tin, no cap.
π SYNOPSIS π
here's the whole vibe, verbatim, do not touch:
struct sdw_cdns_pdi {
int num;
int intel_alh_id;
int l_ch_num;
int h_ch_num;
int ch_count;
enum sdw_data_direction dir;
enum sdw_stream_type type;
};
look at her. iconic. not a single field out of place π
π¦ MEMBERS π¦
okay let's go through the whole squad one by one, no skipping, we respect all of them:
numβ the pdi number. that's her whole government name, basically πintel_alh_idβ link identifier. it's giving "who's your plus-one at the link party" πl_ch_numβ low channel for PDI. the low end, the bass, the foundation πΆh_ch_numβ high channel for PDI. the high end, the sparkle on top β¨ch_countβ total channel count for PDI. the whole headcount, both ends combined, fr fr.dirβ data direction. which way the data's walking, bestie πΆββοΈtypeβ stream type, (only PCM supported). read that again: only PCM supported β anything else is a no from her π
π SEE ALSO π
go read the rest of the family, iykyk:
- Kernel file
./drivers/soundwire/cadence_master.hstruct sdw_cdns_streams(9)struct sdw_cdns_stream_config(9)struct sdw_cdns_dai_runtime(9)struct sdw_cdns(9)
π the cute sign-off π
and that's the page, bestie!! π this little beauty lives over in ./drivers/soundwire, it's from the October 2026 edition of the Kernel API Manual, and its official title is struct sdw_cdns_pdi(9). go forth and slay your soundwire init π₯π
π¦ 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