STRUCT MBG_MAP_TABLE(9)
π struct mbg_map_table(9) π
Okay bestie, this is the Kernel API Manual entry for struct mbg_map_table β literally the temperature-to-voltage mapping entry. Itβs giving βsmall struct, important jobβ energy, and weβre gonna get into every single member. π«Ά
πΈ NAME πΈ
struct mbg_map_table β temperature to voltage mapping entry
β¨ SYNOPSIS β¨
struct mbg_map_table {
int min_temp;
int vtemp0;
int tc;
};
π§ Members π§
min_tempβ the minimum temperature supported by this mapping entry. Like, the floor of the temp range, no cap. π‘οΈvtemp0β the reference voltage or ADC code corresponding to the temperature. Your little voltage/ADC bestie for that temp. β‘tcβ the temperature coefficient used for conversion calculations. The math-y icon of the group. π₯
π₯ SEE ALSO π₯
Kernel file ./drivers/thermal/qcom/qcom-spmi-mbg-tm.c, and struct mbg_tm_chip(9) π
Cute little sign-off from the Kernel API Manual: source ./drivers/thermal/qcom, date October 2026, page struct mbg_map_table(9) β periodt, mwah πβ¨
π¦ 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