mtk_infracf...s_protection(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

omg hii bestie β€” welcome to the Kernel API Manual page for mtk_infracf...s_protection(9), aka the mtk_infracfg_clear_bus_protection era πŸ’…βœ¨

mtk_infracfg_clear_bus_protection β€” disable bus protection πŸ›‘πŸ¦‹

✨ SYNOPSIS ✨

the whole signature, no cap:

       int mtk_infracfg_clear_bus_protection (struct regmap *infracfg , u32
       mask , bool reg_update );

🌸 ARGUMENTS 🌸

okay so here's what you're passing in, bestie:

  • infracfg β€” the infracfg regmap πŸ—ΊοΈ
  • mask β€” the mask containing the protection bits to be disabled βœ‚οΈ
  • reg_update β€” the boolean flag that determines to clear the protection bits by regmap_update_bits with enable register(PROTECTEN) or by regmap_write with clear register(PROTECTEN_CLR) πŸ”

πŸ’œ DESCRIPTION πŸ’œ

this function disables the bus protection bits previously enabled with mtk_infracfg_set_bus_protection β€” it's literally the undo button for that setup, periodt 🫢

πŸŽ€ SEE ALSO πŸŽ€

go peek at these, iykyk:


xoxo, your kernel bestie πŸ’‹ β€” source/version: ./drivers/soc/mediatek; date: October 2026 🌈

πŸ“¦ where this page comes from