STRUCT HANTRO_AUX_BUF(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct hantro_aux_buf(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸ’… and today's main character is struct hantro_aux_buf β€” literally just an auxiliary DMA buffer for hardware data πŸŽ€ like that's the whole vibe.


🌸 NAME 🌸

struct hantro_aux_buf β€” auxiliary DMA buffer for hardware data ✨ no cap, that's it, that's the girl.


πŸ¦‹ SYNOPSIS πŸ¦‹

ok so here's the whole struct, copied exactly, do not touch the formatting or she will come for you:

struct hantro_aux_buf {
    void *cpu;
    dma_addr_t dma;
    size_t size;
    unsigned long attrs;
 };

πŸ‘‘ Members πŸ‘‘

  • cpu β€” the CPU pointer to the buffer. like, the vibe from the CPU's point of view 🫢
  • dma β€” the DMA address of the buffer. bestie's other address, the device-facing one πŸ’«
  • size β€” size of the buffer. yes it's the size, we been knew πŸ’…
  • attrs β€” the attributes of the DMA mapping. the little personality traits of the mapping, iykyk ✨

πŸ’– SEE ALSO πŸ’–

Lives in the kernel file ./drivers/media/platform/verisilicon/hantro_hw.h β€” go say hi to her neighbours, she's super social:

  • struct hantro_h264_dec_ctrls(9)
  • struct hantro_h264_dec_reflists(9)
  • struct hantro_h264_dec_hw_ctx(9)
  • struct hantro_hevc_dec_ctrls(9)
  • struct hantro_hevc_dec_hw_ctx(9)
  • struct hantro_mpeg2_dec_hw_ctx(9)
  • struct hantro_vp8_dec_hw_ctx(9)
  • struct hantro_vp9_frame_info(9)
  • struct hantro_vp9_dec_hw_ctx(9)
  • struct hantro_av1_dec_ctrls(9)
  • struct hantro_av1_dec_hw_ctx(9)
  • struct hantro_postproc_ctx(9)
  • struct hantro_postproc_ops(9)
  • struct hantro_codec_ops(9)
  • enum hantro_enc_fmt(9)

ok that's the whole page bestie, every single detail preserved, not a crumb lost πŸ“

and finally the cute little sign-off: this one's sourced from ./drivers/media/platform/veris... and dated October 2026, and yes the header and footer both say struct hantro_aux_buf(9) because she loves a matching set πŸ’œ periodt 🧚

πŸ“¦ where this page comes from