STRUCT SST_BLOCK(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ struct sst_block(9) πŸŽ€

okay so bestie, welcome to the Kernel API Manual β€” today's main character is struct sst_block, and honestly? she's a whole vibe. πŸ’…


✨ NAME ✨

struct sst_block β€” literally the structure used to block a user/fw data call to another fw/user call. that's it, that's her job, and she does it flawlessly. no cap. 🫢


🌸 SYNOPSIS 🌸

struct sst_block {
    bool condition;
    int ret_code;
    void *data;
    u32 size;
    bool on;
    u32 msg_id;
    u32 drv_id;
    struct list_head node;
 };

look at that struct. iconic. every field accounted for, not a single one skipped, we love a complete layout. ✨


πŸ’– Members πŸ’–

  • condition β€” the condition for the blocking check. yes bestie, she's checking whether we block or not. πŸ‘‘
  • ret_code β€” the ret code that gets handed back when the block is released. it's giving "here's your receipt, you're free to go". 🧾
  • data β€” data ptr. just a pointer to the data, doing pointer things. πŸ¦‹
  • size β€” size of data. the whole "how much" of the situation. πŸ“
  • on β€” block condition. the on/off of the blocking vibe check. πŸ”₯
  • msg_id β€” lowkey the important one: msg_id = msgid in mfld/ctp, mrfld = NULL. keeping that exactly as written, don't come for me. πŸ’€
  • drv_id β€” str_id in mfld/ctp, = drv_id in mrfld. fr fr, that's the mapping, memorize it. 🌈
  • node β€” list head node. every struct needs a little linked-list moment. ⭐

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./sound/soc/intel/atom/sst/sst.h struct stream_info(9)
  • struct sst_fw_header(9)
  • struct fw_module_header(9)
  • struct fw_block_info(9)
  • struct intel_sst_drv(9)

go read those next, bestie, it's the whole friend group and they all slay. πŸ’œ


ngl this page is short but she's still the moment. treat your blocking checks with respect and she'll treat you right. πŸŽ€

and that's the tea! πŸ“ this lil' page came from ./sound/soc/intel/atom/sst, dated October 2026 β€” screenshot it, cite it, tag me in it. mwah! πŸ’‹βœ¨πŸ‘‘

πŸ“¦ where this page comes from