STRUCT SOF_IPC4_DMA_CONFIG_TLV(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so bestie, meet struct sof_ipc4_dma_config_tlv β€” literally just the DMA configuration wrapper, no cap ✨

it's a Kernel API Manual situation, and this little icon is the main character πŸŽ€


✨ SYNOPSIS ✨

here's the whole vibe, character for character, don't touch a thing 🫢

struct sof_ipc4_dma_config_tlv {
    uint32_t type;
    uint32_t length;
    struct sof_ipc4_dma_config dma_config;
 };

🌸 Members 🌸

so there's three of them and they each have a job πŸ’…

  • type β€” set it to SOF_IPC4_GTW_DMA_CONFIG_ID. that's the assignment, that's the whole task, periodt 🎯
  • length β€” this one's a lil math situation: it equals sizeof(struct sof_ipc4_dma_config) + dma_config.dma_priv_config_size. yes it's giving arithmetic, but it's giving correct arithmetic πŸ’–
  • dma_config β€” the actual DMA configuration itself, the real one, the one doing the work πŸ”₯

πŸ¦‹ SEE ALSO πŸ¦‹

the whole friend group 🫢 like genuinely, everything in ./sound/soc/sof/ipc4-topology.h that you might want to go visit next:

  • 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_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_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 entire roster 😭 go read all of them, bestie, they're all interconnected and it's honestly iconic πŸ‘‘


🌈 one little thing: this page lives under ./sound/soc/sof, and it's dated October 2026 β€” shoutout to the Kernel API Manual for keeping the receipts, mwah πŸ’œ

that's the whole page, slay, go configure your DMA, ily πŸ“πŸ§š

πŸ“¦ where this page comes from