STRUCT MTK_CLK_RST_DESC(9)
π struct mtk_clk_rst_desc(9) π
okay so bestie, welcome to the Kernel API Manual β¨ β this is the page for struct mtk_clk_rst_desc, which is literally the description of MediaTek clock reset. it's giving "tiny struct, big responsibilities" and honestly? we're obsessed π
πΈ NAME πΈ
struct mtk_clk_rst_desc β Description of MediaTek clock reset. no cap, that's the whole vibe π
β¨ SYNOPSIS β¨
struct mtk_clk_rst_desc {
enum mtk_reset_version version;
u16 *rst_bank_ofs;
u32 rst_bank_nr;
u16 *rst_idx_map;
u32 rst_idx_map_nr;
};
look at her. five fields. main character energy fr fr π (and yes, copy it exactly like that, don't you dare reformat it π)
π¦ Members π¦
versionβ the reset version, which is defined inenum mtk_reset_version. iykyk πrst_bank_ofsβ a pointer to an array containing the base offsets of the reset register. lowkey just a pointer, highkey important π«Άrst_bank_nrβ the quantity of reset bank. that's the count, bestie, don't forget it β¨rst_idx_mapβ a pointer to an array containing ids if the input argument is an index. and listen β this array is not necessary if our input argument does not mean index. so don't come for her if it's absent πrst_idx_map_nrβ the quantity of reset index map. another count. slay π
π SEE ALSO π
- Kernel file
./drivers/clk/mediatek/reset.h enum mtk_reset_version(9)struct mtk_clk_rst_data(9)
go read those too, bestie, they're literally in the same friend group π
π§ and that's a wrap!! no cap, you now know this struct better than the people who wrote it (jk... mostly) π
kisses, and stay hydrated while you're poking at MediaTek clock/reset code π
β¨ β this page came from ./drivers/clk/mediatek, dated October 2026, and the header/footer both ride for struct mtk_clk_rst_desc(9) ππ¦
π¦ 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