STRUCT MTK_VDEC_HW_DEV(9)
πΈ 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 asreg_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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms