STRUCT SOF_IPC4_GTW_ATTRIBUTES(9)
π struct sof_ipc4_gtw_attributes(9) π
okay bestie, welcome to the Kernel API Manual π you've landed on the page for struct sof_ipc4_gtw_attributes (yeah she's a mouthful, the header lowkey abbreviates her as struct sof_i...w_attributes(9) and honestly? fair). it's giving gateway energy. let's get into it β¨
β¨ NAME β¨
struct sof_ipc4_gtw_attributes β Gateway attributes π«Ά
π¦ SYNOPSIS π¦
here's the whole struct, bestie, and yes you can see the entire fit β it's literally three bitfields and a dream:
struct sof_ipc4_gtw_attributes {
uint32_t lp_buffer_alloc : 1;
uint32_t alloc_from_reg_file : 1;
uint32_t rsvd : 30;
};
π Members π
lp_buffer_allocβ the gateway data said "put me in low power memory pls" β¨ that's this one bit right here. one whole bit of yes low power memory please.alloc_from_reg_fileβ and this bit is the gateway data requesting to live in register file memory π register file girlies rise.rsvdβ reserved for future use π¦ aka the 30 bits we're saving for later, no cap. do not touch, she's not ready yet.
ok important vibe check: these are bitfields, so: 1and: 30are not decoration β they're the actual width of each field.1 + 1 + 30 = 32, the math is mathing, periodt π
π SEE ALSO π
if you're obsessed with this one (and why wouldn't you be), the whole friend group lives in the kernel file ./sound/soc/sof/ipc4-topology.h β go say hi to:
struct sof_ipc4_pipeline(9)struct ipc4_pipeline_set_state_data(9)struct sof_ipc4_pin_format(9)struct sof_ipc4_available_audio_format(9)struct sof_copier_gateway_cfg(9)struct sof_ipc4_copier_data(9)struct sof_ipc4_dma_device_stream_ch_map(9)struct sof_ipc4_dma_stream_ch_map(9)struct sof_ipc4_dma_config(9)struct sof_ipc4_dma_config_tlv(9)struct sof_ipc4_copier(9)struct sof_ipc4_ctrl_value_chan(9)struct sof_ipc4_control_data(9)struct sof_ipc4_control_msg_payload(9)struct sof_ipc4_gain_params(9)struct sof_ipc4_gain_data(9)struct sof_ipc4_gain(9)struct sof_ipc4_mixer(9)struct sof_ipc4_src(9)struct sof_ipc4_asrc(9)struct sof_ipc4_base_module_cfg_ext(9)struct sof_ipc4_process(9)
like, that's a whole squad π and they all pull up together under ./sound/soc/sof β go read them, they ate π₯
and that's the page, bestie! πΈ sign-off time: this one comes from ./sound/soc/sof, dated October 2026 β so yeah, she's got a little timestamp moment π hope the gateway vibes made sense, mwah π
π¦ 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