STRUCT SOF_IPC4_GTW_ATTRIBUTES(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ 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 : 1 and : 30 are 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