Searched refs:tzdev (Results 1 – 5 of 5) sorted by relevance
/drivers/net/ethernet/mellanox/mlxsw/ |
D | core_thermal.c | 91 struct thermal_zone_device *tzdev; member 99 struct thermal_zone_device *tzdev; member 173 tz->tzdev->type, crit_temp, emerg_temp); in mlxsw_thermal_module_trips_update() 198 struct thermal_zone_device *tzdev, in mlxsw_thermal_tz_score_update() argument 221 thermal->tz_highest_dev = tzdev; in mlxsw_thermal_tz_score_update() 225 static int mlxsw_thermal_bind(struct thermal_zone_device *tzdev, in mlxsw_thermal_bind() argument 228 struct mlxsw_thermal *thermal = tzdev->devdata; in mlxsw_thermal_bind() 239 err = thermal_zone_bind_cooling_device(tzdev, i, cdev, in mlxsw_thermal_bind() 251 static int mlxsw_thermal_unbind(struct thermal_zone_device *tzdev, in mlxsw_thermal_unbind() argument 254 struct mlxsw_thermal *thermal = tzdev->devdata; in mlxsw_thermal_unbind() [all …]
|
/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
|
/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()
|