Searched refs:tzdev (Results 1 – 5 of 5) sorted by relevance
| /Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/ |
| D | core_thermal.c | 99 struct thermal_zone_device *tzdev; member 107 struct thermal_zone_device *tzdev; member 203 struct thermal_zone_device *tzdev, in mlxsw_thermal_tz_score_update() argument 226 thermal->tz_highest_dev = tzdev; in mlxsw_thermal_tz_score_update() 230 static int mlxsw_thermal_bind(struct thermal_zone_device *tzdev, in mlxsw_thermal_bind() argument 233 struct mlxsw_thermal *thermal = tzdev->devdata; in mlxsw_thermal_bind() 244 err = thermal_zone_bind_cooling_device(tzdev, i, cdev, in mlxsw_thermal_bind() 256 static int mlxsw_thermal_unbind(struct thermal_zone_device *tzdev, in mlxsw_thermal_unbind() argument 259 struct mlxsw_thermal *thermal = tzdev->devdata; in mlxsw_thermal_unbind() 269 err = thermal_zone_unbind_cooling_device(tzdev, i, cdev); in mlxsw_thermal_unbind() [all …]
|
| /Linux-v5.10/drivers/net/ethernet/chelsio/cxgb4/ |
| D | cxgb4_thermal.c | 12 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 …]
|
| D | cxgb4.h | 1083 struct thermal_zone_device *tzdev; member
|
| /Linux-v5.10/drivers/thermal/ |
| D | tango_thermal.c | 78 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()
|
| D | mtk_thermal.c | 993 struct thermal_zone_device *tzdev; in mtk_thermal_probe() local 1083 tzdev = devm_thermal_zone_of_sensor_register(&pdev->dev, 0, mt, in mtk_thermal_probe() 1085 if (IS_ERR(tzdev)) { in mtk_thermal_probe() 1086 ret = PTR_ERR(tzdev); in mtk_thermal_probe()
|