STRUCT ROCKCHIP_THERMAL_SENSOR(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct rockchip_thermal_sensor(9) πŸ’–

okay so this is a page from the Kernel API Manual, and honestly? it's giving "small but mighty" ✨ because struct rockchip_thermal_sensor is literally the little guy that holds the information of thermal sensor. no cap, that's the whole vibe β€” it's a container, it's iconic, it's the main character of thermal sensor bookkeeping πŸŽ€


🌸 NAME 🌸

struct rockchip_thermal_sensor β€” hold the information of thermal sensor πŸ’…


✨ SYNOPSIS ✨

struct rockchip_thermal_sensor {
    struct rockchip_thermal_data *thermal;
    struct thermal_zone_device *tzd;
    struct device_node *of_node;
    int id;
    int trim_temp;
 };

like, look at her. five fields. flawless. no notes 🫢


πŸ¦‹ Members πŸ¦‹

  • thermal β€” pointer to the platform/configuration data. she's connected, she knows people πŸ’œ
  • tzd β€” pointer to a thermal zone. yes bestie, a whole thermal_zone_device πŸ“
  • of_node β€” pointer to the device_node representing this sensor, if any. the "if any" is doing so much work here, pls respect it 😭
  • id β€” identifier of the thermal sensor. everyone needs a name tag 🌈
  • trim_temp β€” per-sensor trim temperature value. per-sensor!! not like the other sensors πŸ”₯

πŸ‘‘ SEE ALSO πŸ‘‘

the kernel file ./drivers/thermal/rockchip_thermal.c β€” and literally all her friends, fr fr:

go read them!! iykyk πŸ’€ the whole thermal squad is in there and they ate πŸ’…

and that's the whole page bestie 🌟 source lives under ./drivers/thermal, dated October 2026, and we're closing out struct rockchip_thermal_sensor(9) with a little kiss 😘 mwah β€” go keep those sensors toasty πŸ§šβ€β™€οΈπŸ’–

πŸ“¦ where this page comes from