Searched refs:soc_dts (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/drivers/thermal/ |
D | intel_soc_dts_thermal.c | 37 static struct intel_soc_dts_sensors *soc_dts; variable 42 intel_soc_dts_iosf_interrupt_handler(soc_dts); in soc_irq_thread_fn() 64 soc_dts = intel_soc_dts_iosf_init(INTEL_SOC_DTS_INTERRUPT_APIC, 2, 1); in intel_soc_thermal_init() 65 if (IS_ERR(soc_dts)) { in intel_soc_thermal_init() 66 err = PTR_ERR(soc_dts); in intel_soc_thermal_init() 90 "soc_dts", soc_dts); in intel_soc_thermal_init() 101 err = intel_soc_dts_iosf_add_read_only_critical_trip(soc_dts, in intel_soc_thermal_init() 110 free_irq(soc_dts_thres_irq, soc_dts); in intel_soc_thermal_init() 113 intel_soc_dts_iosf_exit(soc_dts); in intel_soc_thermal_init() 121 free_irq(soc_dts_thres_irq, soc_dts); in intel_soc_thermal_exit() [all …]
|
D | intel_soc_dts_iosf.c | 354 for (j = 0; j < sensors->soc_dts[i].trip_count; ++j) { in intel_soc_dts_iosf_add_read_only_critical_trip() 355 if (!(sensors->soc_dts[i].trip_mask & BIT(j))) { in intel_soc_dts_iosf_add_read_only_critical_trip() 356 return update_trip_temp(&sensors->soc_dts[i], j, in intel_soc_dts_iosf_add_read_only_critical_trip() 394 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 448 soc_dts = alloc_soc_dts(); in intel_quark_thermal_init() 449 if (IS_ERR(soc_dts)) { in intel_quark_thermal_init() 450 err = PTR_ERR(soc_dts); in intel_quark_thermal_init() 457 free_soc_dts(soc_dts); in intel_quark_thermal_init() 463 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-v4.19/drivers/thermal/int340x_thermal/ |
D | processor_thermal_device.c | 63 struct intel_soc_dts_sensors *soc_dts; member 384 intel_soc_dts_iosf_interrupt_handler(proc_priv->soc_dts); in proc_thermal_pci_msi_irq() 423 proc_priv->soc_dts = intel_soc_dts_iosf_init( in proc_thermal_pci_probe() 426 if (proc_priv->soc_dts && pdev->irq) { in proc_thermal_pci_probe() 435 proc_priv->soc_dts); in proc_thermal_pci_probe() 437 proc_priv->soc_dts = NULL; in proc_thermal_pci_probe() 451 if (proc_priv->soc_dts) { in proc_thermal_pci_remove() 452 intel_soc_dts_iosf_exit(proc_priv->soc_dts); in proc_thermal_pci_remove()
|