Searched refs:tzdev (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | core_thermal.c | 111 struct thermal_zone_device *tzdev; member 130 struct thermal_zone_device *tzdev; member 168 static bool mlxsw_thermal_should_bind(struct thermal_zone_device *tzdev, in mlxsw_thermal_should_bind() argument 173 struct mlxsw_thermal *thermal = thermal_zone_device_priv(tzdev); in mlxsw_thermal_should_bind() 186 static int mlxsw_thermal_get_temp(struct thermal_zone_device *tzdev, in mlxsw_thermal_get_temp() argument 189 struct mlxsw_thermal *thermal = thermal_zone_device_priv(tzdev); in mlxsw_thermal_get_temp() 217 static bool mlxsw_thermal_module_should_bind(struct thermal_zone_device *tzdev, in mlxsw_thermal_module_should_bind() argument 222 struct mlxsw_thermal_module *tz = thermal_zone_device_priv(tzdev); in mlxsw_thermal_module_should_bind() 236 static int mlxsw_thermal_module_temp_get(struct thermal_zone_device *tzdev, in mlxsw_thermal_module_temp_get() argument 239 struct mlxsw_thermal_module *tz = thermal_zone_device_priv(tzdev); in mlxsw_thermal_module_temp_get() [all …]
|
| /linux/drivers/acpi/ |
| H A D | thermal.c | 595 struct device *tzdev = thermal_zone_device(tz->thermal_zone); in acpi_thermal_zone_sysfs_add() local 599 &tzdev->kobj, "thermal_zone"); in acpi_thermal_zone_sysfs_add() 603 ret = sysfs_create_link(&tzdev->kobj, in acpi_thermal_zone_sysfs_add() 613 struct device *tzdev = thermal_zone_device(tz->thermal_zone); in acpi_thermal_zone_sysfs_remove() local 616 sysfs_remove_link(&tzdev->kobj, "device"); in acpi_thermal_zone_sysfs_remove()
|
| /linux/drivers/thermal/mediatek/ |
| H A D | auxadc_thermal.c | 1200 struct thermal_zone_device *tzdev; in mtk_thermal_probe() local 1288 tzdev = devm_thermal_of_zone_register(&pdev->dev, 0, mt, in mtk_thermal_probe() 1290 if (IS_ERR(tzdev)) in mtk_thermal_probe() 1291 return PTR_ERR(tzdev); in mtk_thermal_probe() 1293 ret = devm_thermal_add_hwmon_sysfs(&pdev->dev, tzdev); in mtk_thermal_probe()
|