STRUCT INV_ICM42600_STATE(9)
πΈ NAME πΈ
okay so bestie, welcome to the Kernel API Manual page for struct inv_icm42600_state β driver state variables, aka the struct where this driver keeps its whole main-character state π
β¨. This is the entire vibe check, and every member is listed below, no cap.
β¨ SYNOPSIS β¨
struct inv_icm42600_state {
struct mutex lock;
enum inv_icm42600_chip chip;
const char *name;
struct regmap *map;
struct regulator *vddio_supply;
int irq;
struct iio_mount_matrix orientation;
struct inv_icm42600_conf conf;
struct inv_icm42600_suspended suspended;
struct iio_dev *indio_gyro;
struct iio_dev *indio_accel;
struct {
s64 gyro;
s64 accel;
} timestamp;
struct inv_icm42600_apex apex;
struct inv_icm42600_fifo fifo;
u8 buffer[3];
};
π Members π
okay so hereβs the member-by-member rundown, and not me listing every single one with love π«Ά:
lockβ the lock for serializing multiple registers access, so register access doesnβt get messy π.chipβ chip identifier, iykyk.nameβ chip name.mapβ regmap pointer.vddio_supplyβ I/O voltage regulator for the chip. Itβs giving power-supply realness β‘.irqβ chip irq, required to enable/disable and set wakeup π¨.orientationβ sensor chip orientation relative to main hardware.confβ chip sensors configurations.suspendedβ suspended sensors configuration.indio_gyroβ gyroscope IIO device.indio_accelβ accelerometer IIO device.timestampβ interrupt timestamps; the little struct holdss64 gyroands64 accelβ±οΈ.apexβ APEX (Advanced Pedometer and Event detection) management.fifoβ FIFO management structure.bufferβ data transfer buffer aligned for DMA.
π SEE ALSO π
- Kernel file
./drivers/iio/imu/inv_icm42600/inv_icm42600.h struct inv_icm42600_sensor_state(9)
thatβs the whole page, bestie π«Ά. Cute sign-off: source/version ./drivers/iio/imu/inv_icm42600, date October 2026, page struct inv_icm42600_state(9) β mwah πβ¨.
π¦ 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