Lines Matching defs:spear_thermal
50 struct thermal_zone_device *spear_thermal = dev_get_drvdata(dev);
51 struct spear_thermal_dev *stdev = thermal_zone_device_priv(spear_thermal);
66 struct thermal_zone_device *spear_thermal = dev_get_drvdata(dev);
67 struct spear_thermal_dev *stdev = thermal_zone_device_priv(spear_thermal);
91 struct thermal_zone_device *spear_thermal = NULL;
125 spear_thermal = thermal_tripless_zone_device_register("spear_thermal",
127 if (IS_ERR(spear_thermal)) {
129 ret = PTR_ERR(spear_thermal);
132 ret = thermal_zone_device_enable(spear_thermal);
138 platform_set_drvdata(pdev, spear_thermal);
146 thermal_zone_device_unregister(spear_thermal);
156 struct thermal_zone_device *spear_thermal = platform_get_drvdata(pdev);
157 struct spear_thermal_dev *stdev = thermal_zone_device_priv(spear_thermal);
159 thermal_zone_device_unregister(spear_thermal);
180 .name = "spear_thermal",