STRUCT GSC_HWMON_CHANNEL(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ 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