ufs_mtk_init(9)
π NAME π
okay so bestie, welcome to ufs_mtk_init(9) from the Kernel API Manual π
this function is literally here to find other essential mmio bases. that's the whole name-card energy β¨
π SYNOPSIS π
int ufs_mtk_init (struct ufs_hba *hba );
π¦ ARGUMENTS π¦
hbaβ host controller instance.
π₯ DESCRIPTION π₯
okay so here's the vibe: ufs_mtk_init binds the PHY with the controller and powers up the PHY, enabling clocks and regulators. no cap, that's what it does π
π RETURN π
-EPROBE_DEFERif binding fails.- a negative error if phy power up fails.
- zero on success. periodt β¨
π SEE ALSO π
- Kernel file
./drivers/ufs/host/ufs-mediatek.c ufs_mtk_setup_clocks(9)ufs_mtk_init_clocks(9)ufs_mtk_clk_scale(9)ufs_mtk_probe(9)ufs_mtk_remove(9)
signing off from the ./drivers/ufs/host source/version, dated 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