STRUCT MTK_VDEC_HW_DEV(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 struct mtk_vdec_hw_dev(9) 🌸

okay bestie, this page comes straight from the Kernel API Manual, and it’s giving β€œvdec hardware driver data” in the best way. We’re talking about the struct that holds the vdec hardware driver’s whole little world. No cap. πŸ’…

✨ NAME ✨

struct mtk_vdec_hw_dev β€” vdec hardware driver data. That’s the assignment, and it ate. πŸŽ€

🧚 SYNOPSIS 🧚

       struct mtk_vdec_hw_dev {
           struct platform_device *plat_dev;
           struct mtk_vcodec_dec_dev *main_dev;
           void __iomem *reg_base[VDEC_HW_MAX];
           struct mtk_vcodec_dec_ctx *curr_ctx;
           int dec_irq;
           struct mtk_vcodec_pm pm;
           int hw_idx;
        };

πŸ‘‘ Members πŸ‘‘

Each member, in order, no skipping β€” we’re keeping every detail, periodt:

  • plat_dev β€” platform device, literally the platform device.
  • main_dev β€” main device, yes bestie, the main device.
  • reg_base β€” mapped address of MTK Vcodec registers. The synopsis shows it as reg_base[VDEC_HW_MAX], and we love an array moment. ✨
  • curr_ctx β€” the context that is waiting for codec hardware. It’s waiting, your honor 😭
  • dec_irq β€” decoder irq resource.
  • pm β€” power management control.
  • hw_idx β€” each hardware index. Exactly as it says.

🌈 SEE ALSO 🌈

  • Kernel file β€” ./drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_hw.h
  • enum mtk_vdec_hw_reg_idx(9)

okay that’s the whole page, bestie. The footer says source/version <rainbow>./drivers/media/platform/media...</rainbow> and date October 2026, all for struct mtk_vdec_hw_dev(9). Stay hydrated and go peek at that header file πŸ«ΆπŸ’–

πŸ“¦ where this page comes from