STRUCT MTK_CLK_RST_DESC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 in enum 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