mtk_infracf...s_protection(9)
π 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β theinfracfgregmap πΊοΈmaskβ the mask containing the protection bits to be disabled βοΈreg_updateβ the boolean flag that determines to clear the protection bits byregmap_update_bitswith enable register(PROTECTEN) or byregmap_writewith 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:
- Kernel file
./drivers/soc/mediatek/mtk-infracfg.cπ mtk_infracfg_set_bus_protection(9)π
xoxo, your kernel bestie π β source/version: ./drivers/soc/mediatek; date: October 2026 π
π¦ 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