STRUCT INA3221_INPUT(9)
π struct ina3221_input(9) π
okay bestie, welcome to the Kernel API Manual β¨ β this is the page for struct ina3221_input, and it's literally all about the info that's specific to one channel's input source. no cap, that's the whole vibe. π¦
πΈ NAME πΈ
struct ina3221_input β channel input source specific information π
so like, it's the little info packet for a channel's input source. that's it. that's the girl. π
β¨ SYNOPSIS β¨
struct ina3221_input {
const char *label;
int shunt_resistor;
bool disconnected;
bool summation_disable;
};
look at her. four fields. immaculate. π
π«Ά Members π«Ά
labelβ the label of the channel input source π·οΈ literally just what this input source is called.shunt_resistorβ the shunt resistor value of the channel input source β‘ it's anint, and it's holding that resistor value, periodt.disconnectedβ the connection status of the channel input source π abool, so it's giving plugged-in-or-not energy.summation_disableβ the channel summation status of the input source ββ also abool, and yes it's the summation status, bestie, iykyk.
π₯ SEE ALSO π₯
- Kernel file
./drivers/hwmon/ina3221.cβ the actual source, go read her π struct ina3221_data(9)β her bigger, more main-character sibling π
ngl if you're poking at hwmon stuff in the kernel, this struct is lowkey the key to understanding per-channel input info. go off. π
and that's the page!! mwah π β brought to you by ./drivers/hwmon, dated October 2026, filed under struct ina3221_input(9) π§ββοΈπβ¨
π¦ 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