Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dcore_thermal.c99 struct thermal_zone_device *tzdev; member
108 struct thermal_zone_device *tzdev; member
204 struct thermal_zone_device *tzdev, in mlxsw_thermal_tz_score_update() argument
227 thermal->tz_highest_dev = tzdev; in mlxsw_thermal_tz_score_update()
231 static int mlxsw_thermal_bind(struct thermal_zone_device *tzdev, in mlxsw_thermal_bind() argument
234 struct mlxsw_thermal *thermal = tzdev->devdata; in mlxsw_thermal_bind()
245 err = thermal_zone_bind_cooling_device(tzdev, i, cdev, in mlxsw_thermal_bind()
257 static int mlxsw_thermal_unbind(struct thermal_zone_device *tzdev, in mlxsw_thermal_unbind() argument
260 struct mlxsw_thermal *thermal = tzdev->devdata; in mlxsw_thermal_unbind()
270 err = thermal_zone_unbind_cooling_device(tzdev, i, cdev); in mlxsw_thermal_unbind()
[all …]
/Linux-v5.4/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()
85 ch_thermal->tzdev = thermal_zone_device_register("cxgb4", num_trip, in cxgb4_thermal_init()
89 if (IS_ERR(ch_thermal->tzdev)) { in cxgb4_thermal_init()
90 ret = PTR_ERR(ch_thermal->tzdev); in cxgb4_thermal_init()
92 ch_thermal->tzdev = NULL; in cxgb4_thermal_init()
[all …]
Dcxgb4.h910 struct thermal_zone_device *tzdev; member
/Linux-v5.4/drivers/thermal/
Dtango_thermal.c78 struct thermal_zone_device *tzdev; in tango_thermal_probe() local
93 tzdev = devm_thermal_zone_of_sensor_register(&pdev->dev, 0, priv, &ops); in tango_thermal_probe()
94 return PTR_ERR_OR_ZERO(tzdev); in tango_thermal_probe()
Dmtk_thermal.c872 struct thermal_zone_device *tzdev; in mtk_thermal_probe() local
954 tzdev = devm_thermal_zone_of_sensor_register(&pdev->dev, 0, mt, in mtk_thermal_probe()
956 if (IS_ERR(tzdev)) { in mtk_thermal_probe()
957 ret = PTR_ERR(tzdev); in mtk_thermal_probe()