thermal_zon...zone_by_name(9)
Hey bestie π welcome to the Kernel API Manual page for thermal_zone_get_zone_by_name(9) β itβs giving kernel-core realness and Iβm obsessed.
πΈ NAME πΈ
thermal_zone_get_zone_by_name β search for a zone and returns its ref β¨
β¨ SYNOPSIS β¨
struct thermal_zone_device * thermal_zone_get_zone_by_name (const char
*name );
π ARGUMENTS π
nameβ the thermal zone name to fetch the temperature π«Ά
π¦ DESCRIPTION π¦
When only one zone is found with the passed name, it returns a reference to it. Thatβs the whole vibe: one matching zone, one returned reference π
π RETURN π
On success, it returns a reference to a unique thermal zone whose matching name equals name. Otherwise you get an ERR_PTR, bestie π
-EINVALβ for invalid parameters-ENODEVβ for not found-EEXISTβ for multiple matches
π₯ SEE ALSO π₯
- Kernel file
./drivers/thermal/thermal_core.c bind_previous_governor(9)thermal_set_governor(9)thermal_bind_cdev_to_trip(9)thermal_unbind_cdev_from_trip(9)thermal_cooling_device_register(9)devm_thermal_cooling_device_register(9)thermal_cooling_device_update(9)thermal_cooling_device_unregister(9)thermal_zone_device_register_with_trips(9)thermal_zone_device_unregister(9)
source/version: ./drivers/thermal β date: October 2026 β page: thermal_zon...zone_by_name(9) β bye bestie, go read your kernel docs and hydrate π
π
π¦ 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