STRUCT SOF_COPIER_GATEWAY_CFG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct sof_copier_gateway_cfg(9) β€” bestie's guide to the IPC gateway config

okay so first things first: this is a page straight outta the Kernel API Manual, and the star of the show is struct sof_copier_gateway_cfg β€” literally the IPC gateway configuration. yes queen, we're in kernel-land now πŸŽ€


✨ NAME ✨

struct sof_copier_gateway_cfg β€” the IPC gateway configuration. that's it, that's the vibe πŸ’–


🌸 SYNOPSIS 🌸

here's the whole struct, copy-pasted with love and zero typos:

struct sof_copier_gateway_cfg {
    uint32_t node_id;
    uint32_t dma_buffer_size;
    uint32_t config_length;
    uint32_t config_data[];
};
notice the config_data[]? yeah bestie that's an array with no size β€” it's giving flexible-array-member energy 🌈

πŸ‘‘ Members πŸ‘‘

  • node_id β€” the ID of the Gateway Node. like, which node are we even talking about? this one, babes. 🫢
  • dma_buffer_size β€” the preferred Gateway DMA buffer size, and it's measured in bytes fr fr. "preferred" is doing a lot of work here, so like… it's a preference, not a promise, iykyk πŸ’…
  • config_length β€” the length of the gateway node configuration blob that's specified in #config_data. yes, the blob. we love a blob ✨
  • config_data β€” and here it is: the gateway node configuration blob itself. the main character of the whole struct, honestly 🌟

πŸ¦‹ SEE ALSO πŸ¦‹

okay don't leave yet, there's a whole little family of structs and they all live in the kernel file ./sound/soc/sof/ipc4-topology.h. gathering them all here, no gatekeeping πŸ’œ

  • 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_ipc4_copier_data(9)
  • struct sof_ipc4_gtw_attributes(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, the whole squad is in ./sound/soc/sof/ipc4-topology.h β€” go say hi to them, they don't bite 🧚


ngl if you ever forget what a gateway config looks like, just come back here. four fields. not that deep. slay. πŸ”₯

kisses and good vibes from ./sound/soc/sof, dated October 2026 β€” that's the source, the version, and the date, all wrapped up with a bow πŸŽ€πŸ’–βœ¨

πŸ“¦ where this page comes from