STRUCT SDW_CDNS_PDI(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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.h struct
  • 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