STRUCT ROCKCHIP_THERMAL_SENSOR(9)
π 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 wholethermal_zone_deviceπof_nodeβ pointer to thedevice_noderepresenting 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:
struct chip_tsadc_table(9)struct rockchip_tsadc_chip(9)struct rockchip_thermal_data(9)struct tsadc_table(9)rk_tsadcv2_initialize(9)rk_tsadcv3_initialize(9)rk_tsadcv3_control(9)rockchip_get_efuse_value(9)rockchip_thermal_reset_controller(9)
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
- 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