thermal_bind_cdev_to_trip(9)
okay so bestie, welcome to the Kernel API Manual page for thermal_bind_cdev_to_trip(9) π
β¨ This is the one where a cooling device gets bound to a trip point, and honestly itβs giving βsmall function, big thermal-zone energy.β
π NAME π
thermal_bind_cdev_to_trip - bind a cooling device to a thermal zone π
β¨ SYNOPSIS β¨
int thermal_bind_cdev_to_trip (struct thermal_zone_device *tz , struct
thermal_trip_desc *td , struct thermal_cooling_device *cdev , struct
cooling_spec *cool_spec );
πΈ ARGUMENTS πΈ
okay, the cast of characters:
tzβ pointer tostruct thermal_zone_deviceπtdβ descriptor of the trip point to bindcdevto π―cdevβ pointer tostruct thermal_cooling_deviceπ§cool_specβ cooling specification for the trip point andcdevπ
π¦ DESCRIPTION π¦
This interface function binds a thermal cooling device to a certain trip point of a thermal zone device. no cap, thatβs the whole vibe.
This function is usually called in the thermal zone device .bind callback. iykyk π
π₯ RETURN π₯
0 on success, the proper error value otherwise. thatβs it bestie β success gets the 0, everything else gets the proper error value π
π SEE ALSO π
Kernel file ./drivers/thermal/thermal_core.c β and the whole friend group:
bind_previous_governor(9)thermal_set_governor(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)thermal_zone_get_zone_by_name(9)
source/version: ./drivers/thermal Β· date: October 2026 Β· manual: Kernel API Manual Β· entry: thermal_bind_cdev_to_trip(9). bye bestie, go bind responsibly π«Άβ¨
π¦ 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