aux_entry 125 drivers/thermal/intel/intel_quark_dts_thermal.c struct soc_sensor_entry *aux_entry = tzd->devdata; aux_entry 134 drivers/thermal/intel/intel_quark_dts_thermal.c aux_entry->mode = THERMAL_DEVICE_ENABLED; aux_entry 138 drivers/thermal/intel/intel_quark_dts_thermal.c if (!aux_entry->locked) { aux_entry 145 drivers/thermal/intel/intel_quark_dts_thermal.c aux_entry->mode = THERMAL_DEVICE_ENABLED; aux_entry 147 drivers/thermal/intel/intel_quark_dts_thermal.c aux_entry->mode = THERMAL_DEVICE_DISABLED; aux_entry 158 drivers/thermal/intel/intel_quark_dts_thermal.c struct soc_sensor_entry *aux_entry = tzd->devdata; aux_entry 167 drivers/thermal/intel/intel_quark_dts_thermal.c aux_entry->mode = THERMAL_DEVICE_DISABLED; aux_entry 171 drivers/thermal/intel/intel_quark_dts_thermal.c if (!aux_entry->locked) { aux_entry 179 drivers/thermal/intel/intel_quark_dts_thermal.c aux_entry->mode = THERMAL_DEVICE_DISABLED; aux_entry 181 drivers/thermal/intel/intel_quark_dts_thermal.c aux_entry->mode = THERMAL_DEVICE_ENABLED; aux_entry 225 drivers/thermal/intel/intel_quark_dts_thermal.c static int update_trip_temp(struct soc_sensor_entry *aux_entry, aux_entry 234 drivers/thermal/intel/intel_quark_dts_thermal.c if (aux_entry->locked) { aux_entry 318 drivers/thermal/intel/intel_quark_dts_thermal.c struct soc_sensor_entry *aux_entry = tzd->devdata; aux_entry 319 drivers/thermal/intel/intel_quark_dts_thermal.c *mode = aux_entry->mode; aux_entry 348 drivers/thermal/intel/intel_quark_dts_thermal.c static void free_soc_dts(struct soc_sensor_entry *aux_entry) aux_entry 350 drivers/thermal/intel/intel_quark_dts_thermal.c if (aux_entry) { aux_entry 351 drivers/thermal/intel/intel_quark_dts_thermal.c if (!aux_entry->locked) { aux_entry 355 drivers/thermal/intel/intel_quark_dts_thermal.c aux_entry->store_dts_enable); aux_entry 359 drivers/thermal/intel/intel_quark_dts_thermal.c aux_entry->store_ptps); aux_entry 362 drivers/thermal/intel/intel_quark_dts_thermal.c thermal_zone_device_unregister(aux_entry->tzone); aux_entry 363 drivers/thermal/intel/intel_quark_dts_thermal.c kfree(aux_entry); aux_entry 369 drivers/thermal/intel/intel_quark_dts_thermal.c struct soc_sensor_entry *aux_entry; aux_entry 374 drivers/thermal/intel/intel_quark_dts_thermal.c aux_entry = kzalloc(sizeof(*aux_entry), GFP_KERNEL); aux_entry 375 drivers/thermal/intel/intel_quark_dts_thermal.c if (!aux_entry) { aux_entry 387 drivers/thermal/intel/intel_quark_dts_thermal.c aux_entry->locked = true; aux_entry 390 drivers/thermal/intel/intel_quark_dts_thermal.c aux_entry->locked = false; aux_entry 395 drivers/thermal/intel/intel_quark_dts_thermal.c if (!aux_entry->locked) { aux_entry 399 drivers/thermal/intel/intel_quark_dts_thermal.c &aux_entry->store_dts_enable); aux_entry 406 drivers/thermal/intel/intel_quark_dts_thermal.c &aux_entry->store_ptps); aux_entry 411 drivers/thermal/intel/intel_quark_dts_thermal.c aux_entry->tzone = thermal_zone_device_register("quark_dts", aux_entry 414 drivers/thermal/intel/intel_quark_dts_thermal.c aux_entry, &tzone_ops, NULL, 0, polling_delay); aux_entry 415 drivers/thermal/intel/intel_quark_dts_thermal.c if (IS_ERR(aux_entry->tzone)) { aux_entry 416 drivers/thermal/intel/intel_quark_dts_thermal.c err = PTR_ERR(aux_entry->tzone); aux_entry 421 drivers/thermal/intel/intel_quark_dts_thermal.c err = soc_dts_enable(aux_entry->tzone); aux_entry 426 drivers/thermal/intel/intel_quark_dts_thermal.c return aux_entry; aux_entry 429 drivers/thermal/intel/intel_quark_dts_thermal.c thermal_zone_device_unregister(aux_entry->tzone); aux_entry 431 drivers/thermal/intel/intel_quark_dts_thermal.c kfree(aux_entry);