Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dcore_thermal.c69 struct thermal_zone_device *tzdev; member
99 static int mlxsw_thermal_bind(struct thermal_zone_device *tzdev, in mlxsw_thermal_bind() argument
102 struct mlxsw_thermal *thermal = tzdev->devdata; in mlxsw_thermal_bind()
113 err = thermal_zone_bind_cooling_device(tzdev, i, cdev, in mlxsw_thermal_bind()
125 static int mlxsw_thermal_unbind(struct thermal_zone_device *tzdev, in mlxsw_thermal_unbind() argument
128 struct mlxsw_thermal *thermal = tzdev->devdata; in mlxsw_thermal_unbind()
138 err = thermal_zone_unbind_cooling_device(tzdev, i, cdev); in mlxsw_thermal_unbind()
147 static int mlxsw_thermal_get_mode(struct thermal_zone_device *tzdev, in mlxsw_thermal_get_mode() argument
150 struct mlxsw_thermal *thermal = tzdev->devdata; in mlxsw_thermal_get_mode()
157 static int mlxsw_thermal_set_mode(struct thermal_zone_device *tzdev, in mlxsw_thermal_set_mode() argument
[all …]
/Linux-v4.19/drivers/thermal/
Dtango_thermal.c77 struct thermal_zone_device *tzdev; in tango_thermal_probe() local
92 tzdev = devm_thermal_zone_of_sensor_register(&pdev->dev, 0, priv, &ops); in tango_thermal_probe()
93 return PTR_ERR_OR_ZERO(tzdev); in tango_thermal_probe()
Dmtk_thermal.c681 struct thermal_zone_device *tzdev; in mtk_thermal_probe() local
762 tzdev = devm_thermal_zone_of_sensor_register(&pdev->dev, 0, mt, in mtk_thermal_probe()
764 if (IS_ERR(tzdev)) { in mtk_thermal_probe()
765 ret = PTR_ERR(tzdev); in mtk_thermal_probe()