Home
last modified time | relevance | path

Searched refs:tzdev (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.15/drivers/net/ethernet/mellanox/mlxsw/
Dcore_thermal.c82 struct thermal_zone_device *tzdev; member
90 struct thermal_zone_device *tzdev; member
168 tz->tzdev->type, crit_temp, emerg_temp); in mlxsw_thermal_module_trips_update()
190 struct thermal_zone_device *tzdev, in mlxsw_thermal_tz_score_update() argument
213 thermal->tz_highest_dev = tzdev; in mlxsw_thermal_tz_score_update()
217 static int mlxsw_thermal_bind(struct thermal_zone_device *tzdev, in mlxsw_thermal_bind() argument
220 struct mlxsw_thermal *thermal = tzdev->devdata; in mlxsw_thermal_bind()
231 err = thermal_zone_bind_cooling_device(tzdev, i, cdev, in mlxsw_thermal_bind()
243 static int mlxsw_thermal_unbind(struct thermal_zone_device *tzdev, in mlxsw_thermal_unbind() argument
246 struct mlxsw_thermal *thermal = tzdev->devdata; in mlxsw_thermal_unbind()
[all …]
/Linux-v5.15/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_thermal.c12 static int cxgb4_thermal_get_temp(struct thermal_zone_device *tzdev, in cxgb4_thermal_get_temp() argument
15 struct adapter *adap = tzdev->devdata; in cxgb4_thermal_get_temp()
32 static int cxgb4_thermal_get_trip_type(struct thermal_zone_device *tzdev, in cxgb4_thermal_get_trip_type() argument
35 struct adapter *adap = tzdev->devdata; in cxgb4_thermal_get_trip_type()
44 static int cxgb4_thermal_get_trip_temp(struct thermal_zone_device *tzdev, in cxgb4_thermal_get_trip_temp() argument
47 struct adapter *adap = tzdev->devdata; in cxgb4_thermal_get_trip_temp()
87 ch_thermal->tzdev = thermal_zone_device_register(ch_tz_name, num_trip, in cxgb4_thermal_init()
91 if (IS_ERR(ch_thermal->tzdev)) { in cxgb4_thermal_init()
92 ret = PTR_ERR(ch_thermal->tzdev); in cxgb4_thermal_init()
94 ch_thermal->tzdev = NULL; in cxgb4_thermal_init()
[all …]
Dcxgb4.h1081 struct thermal_zone_device *tzdev; member
/Linux-v5.15/drivers/thermal/
Dmtk_thermal.c995 struct thermal_zone_device *tzdev; in mtk_thermal_probe() local
1085 tzdev = devm_thermal_zone_of_sensor_register(&pdev->dev, 0, mt, in mtk_thermal_probe()
1087 if (IS_ERR(tzdev)) { in mtk_thermal_probe()
1088 ret = PTR_ERR(tzdev); in mtk_thermal_probe()
1092 ret = devm_thermal_add_hwmon_sysfs(tzdev); in mtk_thermal_probe()