Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dcore_thermal.c80 struct thermal_zone_device *tzdev; member
98 struct thermal_zone_device *tzdev; member
172 tz->tzdev->type, crit_temp, emerg_temp); in mlxsw_thermal_module_trips_update()
193 static int mlxsw_thermal_bind(struct thermal_zone_device *tzdev, in mlxsw_thermal_bind() argument
196 struct mlxsw_thermal *thermal = tzdev->devdata; in mlxsw_thermal_bind()
207 err = thermal_zone_bind_cooling_device(tzdev, i, cdev, in mlxsw_thermal_bind()
219 static int mlxsw_thermal_unbind(struct thermal_zone_device *tzdev, in mlxsw_thermal_unbind() argument
222 struct mlxsw_thermal *thermal = tzdev->devdata; in mlxsw_thermal_unbind()
232 err = thermal_zone_unbind_cooling_device(tzdev, i, cdev); in mlxsw_thermal_unbind()
241 static int mlxsw_thermal_get_temp(struct thermal_zone_device *tzdev, in mlxsw_thermal_get_temp() argument
[all …]
/linux-6.1.9/drivers/thermal/
Dmtk_thermal.c995 struct thermal_zone_device *tzdev; in mtk_thermal_probe() local
1085 tzdev = devm_thermal_of_zone_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()