STRUCT MTK_DRIVE_DESC(9)
πΈ NAME πΈ
okay so bestie, welcome to the struct mtk_drive_desc(9) page from the Kernel API Manual π¦ β this is the structure that holds the information of the driving current. literally its whole little job, no cap π
β¨ SYNOPSIS β¨
struct mtk_drive_desc {
u8 min;
u8 max;
u8 step;
u8 scal;
};
π Members π
minβ the minimum current of this group πmaxβ the maximum current of this group π₯stepβ the step current of this group β¨scalβ the weight factor βοΈ
π Description π
bestie, the formula is right here and it is literally this:
formula: output = ((input) / step - 1) * scal
thatβs the whole vibe. periodt π«Ά
π SEE ALSO π
- Kernel file
./drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.cβ go peek, iykyk πβ¨
mwah π this cutie came from ./drivers/pinctrl/mediatek, and itβs dated October 2026 β struct mtk_drive_desc(9) signing off π«Άπ
π¦ 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