STRUCT SDW_CDNS_STREAMS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct sdw_cdns_streams(9) ✨

okay so this is a page from the Kernel API Manual bestie, and it's all about struct sdw_cdns_streams β€” literally the Cadence stream data structure πŸŽ€


πŸ’– NAME πŸ’–

struct sdw_cdns_streams β€” the Cadence stream data structure. that's it, that's the vibe ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

struct sdw_cdns_streams {
    unsigned int num_bd;
    unsigned int num_in;
    unsigned int num_out;
    unsigned int num_ch_bd;
    unsigned int num_ch_in;
    unsigned int num_ch_out;
    unsigned int num_pdi;
    struct sdw_cdns_pdi *bd;
    struct sdw_cdns_pdi *in;
    struct sdw_cdns_pdi *out;
 };

like, look at her. eleven fields. main character energy fr fr πŸ‘‘


🌸 Members 🌸

okay bestie let's go through the squad one by one, no cap:

  • num_bd β€” number of bidirectional streams πŸ’«
  • num_in β€” number of input streams 🌈
  • num_out β€” number of output streams ⭐
  • num_ch_bd β€” number of output stream channels. yes, that's what it says, and we're not gonna question it, we're just gonna report it πŸ’…
  • num_ch_in β€” hmm. okay so this one is in the struct but the page gives it no description at all πŸ™ˆ same energy as a group chat member who never texts. it's there, that's all we know
  • num_ch_out β€” same situation bestie 😭 it's sitting in the struct, and the page doesn't say a single word about it
  • num_pdi β€” the total number of PDIs πŸ”₯
  • bd β€” the bidirectional streams themselves (struct sdw_cdns_pdi *) 🌸
  • in β€” the input streams (struct sdw_cdns_pdi *) πŸŽ€
  • out β€” the output streams (struct sdw_cdns_pdi *) πŸ¦‹
ngl the field list is a little chaotic β€” some of these have descriptions and some are just... vibing there. we kept every single one anyway because every detail matters πŸ’œ

πŸ‘‘ SEE ALSO πŸ‘‘

go read these next, bestie, it's giving required reading πŸ“š:

  • Kernel file ./drivers/soundwire/cadence_master.h
  • struct sdw_cdns_pdi(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 whole page, bestie!! this one came out of ./drivers/soundwire and it's dated October 2026 ⭐ slay, iconic, ate, no crumbs. go build something with it πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from