STRUCT ZPA2326_PRIVATE(9)
π 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:
- Kernel file:
./drivers/iio/pressure/zpa2326.cβZPA2326 theory of operations(9)π§ struct zpa2326_frequency(9)zpa2326_enable_device(9)zpa2326_sleep(9)zpa2326_reset_device(9)zpa2326_start_oneshot(9)zpa2326_power_on(9)zpa2326_power_off(9)zpa2326_config_oneshot(9)zpa2326_clear_fifo(9)zpa2326_dequeue_pressure(9)zpa2326_fill_sample_buffer(9)zpa2326_resume(9)zpa2326_suspend(9)zpa2326_handle_irq(9)zpa2326_handle_threaded_irq(9)zpa2326_wait_oneshot_completion(9)zpa2326_poll_oneshot_completion(9)zpa2326_fetch_raw_sample(9)zpa2326_sample_oneshot(9)zpa2326_trigger_handler(9)zpa2326_preenable_buffer(9)zpa2326_postenable_buffer(9)zpa2326_set_trigger_state(9)zpa2326_init_managed_trigger(9)π«Ά
Cute sign-off: source/version./drivers/iio/pressure, date October 2026, pagestruct zpa2326_private(9). 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