STRUCT MLX90635_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’œ NAME

struct mlx90635_data β€” the private data struct for the MLX90635 device, aka the little backstage closet where this temperature sensor keeps all its stuff πŸŽ€


✨ SYNOPSIS

struct mlx90635_data {
    struct i2c_client *client;
    struct mutex lock;
    struct regmap *regmap;
    struct regmap *regmap_ee;
    u16 emissivity;
    struct regulator *regulator;
    int powerstatus;
    unsigned long interaction_ts;
 };

Bestie, that's the whole vibe right there β€” eight fields, zero drama, all business πŸ’…


🫢 Members

  • client β€” the I2C client of the device. literally who this sensor is talking to on the bus 🌸
  • lock β€” an internal mutex, and ngl it's kinda the main character here: a single triggered measurement needs multiple reads, so this lock exists to keep the data consistent. no cap, it's holding everything together πŸ”₯
  • regmap β€” the regmap of the device registers. your regular, everyday register map ✨
  • regmap_ee β€” the regmap of the device EEPROM, which (fun fact) can be cached πŸ’–
  • emissivity β€” the object emissivity, a u16 from 0 to 1000, where 1000 = 1. yes, that's the scale, she's built different πŸ¦‹
  • regulator β€” the regulator of the device. power supply energy πŸ‘‘
  • powerstatus β€” the current POWER status of the device (yes, it's uppercase in the name and we respect it) 🌈
  • interaction_ts β€” timestamp of the last temperature read, measured in jiffies, and it's used for power management. so basically "when did we last hang out" but for power πŸ•

🧚 SEE ALSO


okay that's the whole page, slay πŸ’… it lives over in ./drivers/iio/temperature, dated October 2026, and this was struct mlx90635_data(9) from the Kernel API Manual β€” go read the source file if you wanna know more, iykyk πŸŽ€βœ¨

πŸ“¦ where this page comes from