STRUCT INA3221_INPUT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 an int, and it's holding that resistor value, periodt.
  • disconnected β€” the connection status of the channel input source πŸ”Œ a bool, so it's giving plugged-in-or-not energy.
  • summation_disable β€” the channel summation status of the input source βž•βž– also a bool, 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