STRUCT MLX90632_DATA(9)
π struct mlx90632_data(9) π
okay so bestie, welcome to the Kernel API Manual β¨ β this is the page for struct mlx90632_data, and it's literally the private little data clubhouse for the MLX90632 device π no cap, it's just the driver's own stash of state. iykyk.
πΈ NAME πΈ
struct mlx90632_data β private data for the MLX90632 device π (yes, private, it's not for you, it's for the driver, respect the boundaries)
β¨ SYNOPSIS β¨
struct mlx90632_data {
struct i2c_client *client;
struct mutex lock;
struct regmap *regmap;
u16 emissivity;
u8 mtyp;
u32 object_ambient_temperature;
struct regulator *regulator;
int powerstatus;
unsigned long interaction_ts;
};
like, that's the whole vibe right there π
π¦ Members π¦
bestie, let's go through the cast one by one, main character energy for each:
clientβ the I2C client of the device π that's who we're talking to.lockβ internal mutex, there so multiple reads for a single measurement don't step on each other's toes π one at a time, bestie, one at a time.regmapβ the regmap of the device β¨emissivityβ object emissivity, and it goes from0to1000where1000=1. so like, milli-emissivity, periodt π₯mtypβ measurement type, the physical sensor configuration used for the extended range calculations π don't sleep on it.object_ambient_temperatureβ ambient temperature at the object π‘οΈ (this one might differ from the ambient temperature of the sensor β yes, they're different things, don't @ me).regulatorβ regulator of the device β‘powerstatusβ current POWER status of the device πinteraction_tsβ timestamp of the last temperature read, used for power management, in jiffies β±οΈ it's giving "I remember when you last called me".
π SEE ALSO π
- Kernel file
./drivers/iio/temperature/mlx90632.cπ mlx90632_reset_delay(9)mlx90632_perform_measurement(9)mlx90632_perform_measurement_burst(9)mlx90632_pm_interraction_wakeup(9)
fr fr go read those next, they're the sequel episodes π
and that's the page, bestie π«Ά this iconic little slice of the kernel lives over in ./drivers/iio/temperature, dated October 2026, and it's filed under struct mlx90632_data(9) π mwah, slay, bye β¨
π¦ 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