STRUCT PARAM_ID_SH_MEM_PULL_PUSH_MODE_CFG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 struct param_id_sh_mem_pull_push_mode_cfg(9) 🌸

okay bestie, welcome to the Kernel API Manual πŸ’– β€” yes, the actual manual name, we're fancy here. today's main character is a struct that's all about shared memory push/pull config, and honestly? it's giving "the setup sheet before the real show starts" ✨


πŸ’« NAME πŸ’«

struct param_id_sh_mem_pull_push_mode_cfg β€” the shared memory push/pull config, no cap 🫢


πŸŽ€ SYNOPSIS πŸŽ€

here's the whole glow-up, copied exactly, don't touch the letters:

struct param_id_sh_mem_pull_push_mode_cfg {
    uint32_t shared_circ_buf_addr_lsw;
    uint32_t shared_circ_buf_addr_msw;
    uint32_t shared_circ_buf_size;
    uint32_t circ_buf_mem_map_handle;
    uint32_t shared_pos_buf_addr_lsw;
    uint32_t shared_pos_buf_addr_msw;
    uint32_t pos_buf_mem_map_handle;
 };

πŸ¦‹ Members πŸ¦‹

bestie it's a whole roster of uint32_t icons, let's meet them πŸ’…

  • shared_circ_buf_addr_lsw β€” the lower 32 bits of the circular buffer address. yes, the bottom half. she's half of a whole ✨
  • shared_circ_buf_addr_msw β€” the upper 32 bits of that same circular buffer address. together with her lsw bestie they make the full address 🫢
  • shared_circ_buf_size β€” circular buffer size, in bytes. and yes the unit matters, ngl πŸ“
  • circ_buf_mem_map_handle β€” the circular buffer memory map handle. lowkey the VIP pass for that buffer 🎟️
  • shared_pos_buf_addr_lsw β€” the lower 32 bits of the position buffer address. different buffer, same lsw/msw energy πŸ¦‹
  • shared_pos_buf_addr_msw β€” the upper 32 bits of the position buffer address. matching set, periodt πŸ’œ
  • pos_buf_mem_map_handle β€” the position buffer memory map handle. last one in the lineup and she ate πŸ”₯

🌈 SEE ALSO 🌈

go read these next, i'm obsessed with how much cross-referencing is happening here:

  • Kernel file ./sound/soc/qcom/qdsp6/audioreach.h struct event_cfg_sh_mem_pull_push_mode_watermark_t(9)
  • struct apm_module_register_events(9)
  • struct apm_module_event(9)
  • struct param_id_hw_ep_frame_duration(9)
  • struct sh_mem_pull_push_mode_position_buffer(9)

and that's the whole page, bestie πŸ’–βœ¨πŸŽ€ this little icon came to you from ./sound/soc/qcom/qdsp6, dated October 2026 β€” mwah, go forth and map some buffers πŸ§šπŸ’…

πŸ“¦ where this page comes from