STRUCT MLX90632_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 from 0 to 1000 where 1000 = 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 πŸ’œ

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