STRUCT PARAM_S(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, welcome to the struct param_s(9) page ✨ β€” struct param_s is literally the sent rpmsg parameter πŸ‘‘. that's the whole vibe. no cap.


πŸŽ€ SYNOPSIS πŸŽ€

here's the struct in all its main-character glory, copied exactly so you don't have to squint πŸ’…:

struct param_s {
    unsigned char audioindex;
    unsigned char format;
    unsigned char channels;
    unsigned int  rate;
    unsigned int  buffer_addr;
    unsigned int  buffer_size;
    unsigned int  period_size;
    unsigned int  buffer_tail;
 };

🌸 Members 🌸

every field is doing its own little thing, and yes we're going through every single one 🫢:

  • audioindex β€” audio instance index 🎧
  • format β€” audio format ✨
  • channels β€” audio channel number 🌈
  • rate β€” sample rate ⭐
  • buffer_addr β€” dma buffer physical address or register for SET_CODEC_VALUE πŸ“
  • buffer_size β€” dma buffer size or register value for SET_CODEC_VALUE πŸ“¦
  • period_size β€” period size πŸŽ€
  • buffer_tail β€” current period index πŸŒ€

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./sound/soc/fsl/imx-pcm-rpmsg.h β€” go peek, bestie, it's right there πŸ“
  • struct rpmsg_head(9), struct rpmsg_info(9) β€” the other structs in the friend group πŸ’œ

mwah πŸ’‹ this page lives under ./sound/soc/fsl, stamped October 2026, and it's giving struct param_s(9) energy fr fr πŸŽ€βœ¨

πŸ“¦ where this page comes from