STRUCT ZPA2326_PRIVATE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct zpa2326_private(9) πŸ’–

Okay so welcome to the Kernel API Manual page for struct zpa2326_private, aka the per-device internal private state. Bestie, this struct is literally the device’s private little group chat β€” all the internal state lives here, and I’m obsessed. πŸ’…


✨ NAME ✨

struct zpa2326_private β€” Per-device internal private state. πŸŽ€

🌸 SYNOPSIS 🌸

Here’s the struct exactly as it appears, no cap:

       struct zpa2326_private {
           s64 timestamp;
           struct regmap                  *regmap;
           int result;
           struct completion               data_ready;
           struct iio_trigger             *trigger;
           bool waken;
           int irq;
           const struct zpa2326_frequency *frequency;
           struct regulator               *vref;
           struct regulator               *vdd;
        };

🫢 Members 🫢

Each member is a little main character:

  • timestamp β€” Buffered samples ready datum. 🌟
  • regmap β€” Underlying I2C / SPI bus adapter used to abstract slave register accesses. πŸ”Œ
  • result β€” Allows sampling logic to get completion status of operations that interrupt handlers perform asynchronously. ⏳
  • data_ready β€” Interrupt handler uses this to wake user context up at sampling operation completion. πŸ˜΄β†’πŸ˜³
  • trigger β€” Optional hardware / interrupt driven trigger used to notify external devices a new sample is ready. πŸ“£
  • waken β€” Flag indicating whether or not device has just been powered on. πŸ”‹
  • irq β€” Optional interrupt line: negative or zero if not declared into DT, in which case sampling logic keeps polling status register to detect completion. 🚨
  • frequency β€” Current hardware sampling frequency. 🎚️
  • vref β€” Power / voltage reference. ⚑
  • vdd β€” Power supply. πŸ“

πŸ”₯ SEE ALSO πŸ”₯

Okay bestie, the lore continues here β€” all the sibling pages and the kernel file:

Cute sign-off: source/version ./drivers/iio/pressure, date October 2026, page struct zpa2326_private(9). Periodt. πŸ’–
πŸ“¦ where this page comes from