STRUCT GSC_HWMON_CHANNEL(9)
π NAME π
okay bestie, welcome to the Kernel API Manual entry for struct gsc_hwmon_channel(9) π this page is literally about struct gsc_hwmon_channel β configuration parameters. that's the vibe, that's the assignment. periodt. π
β¨ SYNOPSIS β¨
here's the exact struct, no cap:
struct gsc_hwmon_channel {
unsigned int reg;
unsigned int mode;
const char *name;
unsigned int mvoffset;
unsigned int vdiv[2];
};
πΈ Members πΈ
regβ I2C register offset. the register coordinate in I2C land, iconic β¨modeβ channel mode. it's the channel mode, simple as that πnameβ channel name. main character label energy πmvoffsetβ voltage offset. the voltage offset, noted π«Άvdivβ voltage divider array (2 resistor values in milli-ohms). yes, 2 resistor values, in milli-ohms, no cap π
π¦ SEE ALSO π¦
Kernel file ./include/linux/platform_data/gsc_hwmon.h struct gsc_hwmon_platform_data(9) β that's the other one you wanna peek at, bestie π
mwah π this page came from ./include/linux/platform_data, dated October 2026, and it's literally the struct gsc_hwmon_channel(9) page. periodt. π«Ά
π¦ 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