Searched refs:tzdev (Results 1 – 4 of 4) sorted by relevance
82 struct thermal_zone_device *tzdev; member90 struct thermal_zone_device *tzdev; member213 thermal->tz_highest_dev = tzdev; in mlxsw_thermal_tz_score_update()683 if (IS_ERR(module_tz->tzdev)) { in mlxsw_thermal_module_tz_init()731 module_tz->tzdev = NULL; in mlxsw_thermal_module_fini()813 if (IS_ERR(gearbox_tz->tzdev)) in mlxsw_thermal_gearbox_tz_init()973 if (IS_ERR(thermal->tzdev)) { in mlxsw_thermal_init()999 if (thermal->tzdev) { in mlxsw_thermal_init()1001 thermal->tzdev = NULL; in mlxsw_thermal_init()1018 if (thermal->tzdev) { in mlxsw_thermal_fini()[all …]
15 struct adapter *adap = tzdev->devdata; in cxgb4_thermal_get_temp()35 struct adapter *adap = tzdev->devdata; in cxgb4_thermal_get_trip_type()47 struct adapter *adap = tzdev->devdata; in cxgb4_thermal_get_trip_temp()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()98 ret = thermal_zone_device_enable(ch_thermal->tzdev); in cxgb4_thermal_init()101 thermal_zone_device_unregister(adap->ch_thermal.tzdev); in cxgb4_thermal_init()110 if (adap->ch_thermal.tzdev) { in cxgb4_thermal_remove()111 thermal_zone_device_unregister(adap->ch_thermal.tzdev); in cxgb4_thermal_remove()[all …]
1081 struct thermal_zone_device *tzdev; member
995 struct thermal_zone_device *tzdev; in mtk_thermal_probe() local1085 tzdev = devm_thermal_zone_of_sensor_register(&pdev->dev, 0, mt, in mtk_thermal_probe()1087 if (IS_ERR(tzdev)) { in mtk_thermal_probe()1088 ret = PTR_ERR(tzdev); in mtk_thermal_probe()1092 ret = devm_thermal_add_hwmon_sysfs(tzdev); in mtk_thermal_probe()
Completed in 20 milliseconds