Searched refs:soc_dts (Results 1 – 5 of 5) sorted by relevance
/linux-4.4.14/drivers/thermal/ |
D | intel_soc_dts_thermal.c | 34 static struct intel_soc_dts_sensors *soc_dts; variable 39 intel_soc_dts_iosf_interrupt_handler(soc_dts); in soc_irq_thread_fn() 60 soc_dts = intel_soc_dts_iosf_init(INTEL_SOC_DTS_INTERRUPT_APIC, 2, 1); in intel_soc_thermal_init() 61 if (IS_ERR(soc_dts)) { in intel_soc_thermal_init() 62 err = PTR_ERR(soc_dts); in intel_soc_thermal_init() 72 "soc_dts", soc_dts); in intel_soc_thermal_init() 79 err = intel_soc_dts_iosf_add_read_only_critical_trip(soc_dts, in intel_soc_thermal_init() 88 free_irq(soc_dts_thres_irq, soc_dts); in intel_soc_thermal_init() 90 intel_soc_dts_iosf_exit(soc_dts); in intel_soc_thermal_init() 98 free_irq(soc_dts_thres_irq, soc_dts); in intel_soc_thermal_exit() [all …]
|
D | intel_soc_dts_iosf.c | 355 for (j = 0; j < sensors->soc_dts[i].trip_count; ++j) { in intel_soc_dts_iosf_add_read_only_critical_trip() 356 if (!(sensors->soc_dts[i].trip_mask & BIT(j))) { in intel_soc_dts_iosf_add_read_only_critical_trip() 357 return update_trip_temp(&sensors->soc_dts[i], j, in intel_soc_dts_iosf_add_read_only_critical_trip() 395 thermal_zone_device_update(sensors->soc_dts[i].tzone); in intel_soc_dts_iosf_interrupt_handler() 434 sensors->soc_dts[i].sensors = sensors; in intel_soc_dts_iosf_init() 435 ret = add_dts_thermal_zone(i, &sensors->soc_dts[i], in intel_soc_dts_iosf_init() 443 ret = update_trip_temp(&sensors->soc_dts[i], 0, 0, in intel_soc_dts_iosf_init() 448 ret = update_trip_temp(&sensors->soc_dts[i], 1, 0, in intel_soc_dts_iosf_init() 457 remove_dts_thermal_zone(&sensors->soc_dts[i]); in intel_soc_dts_iosf_init() 470 update_trip_temp(&sensors->soc_dts[i], 0, 0, 0); in intel_soc_dts_iosf_exit() [all …]
|
D | intel_quark_dts_thermal.c | 113 static struct soc_sensor_entry *soc_dts; variable 449 soc_dts = alloc_soc_dts(); in intel_quark_thermal_init() 450 if (IS_ERR(soc_dts)) { in intel_quark_thermal_init() 451 err = PTR_ERR(soc_dts); in intel_quark_thermal_init() 458 free_soc_dts(soc_dts); in intel_quark_thermal_init() 464 free_soc_dts(soc_dts); in intel_quark_thermal_exit()
|
D | intel_soc_dts_iosf.h | 51 struct intel_soc_dts_sensor_entry soc_dts[SOC_MAX_DTS_SENSORS]; member
|
/linux-4.4.14/drivers/thermal/int340x_thermal/ |
D | processor_thermal_device.c | 50 struct intel_soc_dts_sensors *soc_dts; member 324 intel_soc_dts_iosf_interrupt_handler(proc_priv->soc_dts); in proc_thermal_pci_msi_irq() 363 proc_priv->soc_dts = intel_soc_dts_iosf_init( in proc_thermal_pci_probe() 366 if (proc_priv->soc_dts && pdev->irq) { in proc_thermal_pci_probe() 375 proc_priv->soc_dts); in proc_thermal_pci_probe() 377 proc_priv->soc_dts = NULL; in proc_thermal_pci_probe() 391 if (proc_priv->soc_dts) { in proc_thermal_pci_remove() 392 intel_soc_dts_iosf_exit(proc_priv->soc_dts); in proc_thermal_pci_remove()
|