STRUCT PARAM_ID_SH_MEM_PULL_PUSH_MODE_CFG(9)
πΈ 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.hstructevent_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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms