Home
last modified time | relevance | path

Searched refs:soc_dts (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/drivers/thermal/intel/
Dintel_soc_dts_thermal.c28 static struct intel_soc_dts_sensors *soc_dts; variable
33 intel_soc_dts_iosf_interrupt_handler(soc_dts); in soc_irq_thread_fn()
55 soc_dts = intel_soc_dts_iosf_init(INTEL_SOC_DTS_INTERRUPT_APIC, 2, 1); in intel_soc_thermal_init()
56 if (IS_ERR(soc_dts)) { in intel_soc_thermal_init()
57 err = PTR_ERR(soc_dts); in intel_soc_thermal_init()
81 "soc_dts", soc_dts); in intel_soc_thermal_init()
92 err = intel_soc_dts_iosf_add_read_only_critical_trip(soc_dts, in intel_soc_thermal_init()
101 free_irq(soc_dts_thres_irq, soc_dts); in intel_soc_thermal_init()
104 intel_soc_dts_iosf_exit(soc_dts); in intel_soc_thermal_init()
112 free_irq(soc_dts_thres_irq, soc_dts); in intel_soc_thermal_exit()
[all …]
Dintel_soc_dts_iosf.c345 for (j = 0; j < sensors->soc_dts[i].trip_count; ++j) { in intel_soc_dts_iosf_add_read_only_critical_trip()
346 if (!(sensors->soc_dts[i].trip_mask & BIT(j))) { in intel_soc_dts_iosf_add_read_only_critical_trip()
347 return update_trip_temp(&sensors->soc_dts[i], j, in intel_soc_dts_iosf_add_read_only_critical_trip()
385 thermal_zone_device_update(sensors->soc_dts[i].tzone, in intel_soc_dts_iosf_interrupt_handler()
425 sensors->soc_dts[i].sensors = sensors; in intel_soc_dts_iosf_init()
426 ret = add_dts_thermal_zone(i, &sensors->soc_dts[i], in intel_soc_dts_iosf_init()
434 ret = update_trip_temp(&sensors->soc_dts[i], 0, 0, in intel_soc_dts_iosf_init()
439 ret = update_trip_temp(&sensors->soc_dts[i], 1, 0, in intel_soc_dts_iosf_init()
448 remove_dts_thermal_zone(&sensors->soc_dts[i]); in intel_soc_dts_iosf_init()
461 update_trip_temp(&sensors->soc_dts[i], 0, 0, 0); in intel_soc_dts_iosf_exit()
[all …]
Dintel_quark_dts_thermal.c113 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()
Dintel_soc_dts_iosf.h42 struct intel_soc_dts_sensor_entry soc_dts[SOC_MAX_DTS_SENSORS]; member
/Linux-v5.4/drivers/thermal/intel/int340x_thermal/
Dprocessor_thermal_device.c61 struct intel_soc_dts_sensors *soc_dts; member
453 intel_soc_dts_iosf_interrupt_handler(proc_priv->soc_dts); in proc_thermal_pci_msi_irq()
645 proc_priv->soc_dts = intel_soc_dts_iosf_init( in proc_thermal_pci_probe()
648 if (!IS_ERR(proc_priv->soc_dts) && pdev->irq) { in proc_thermal_pci_probe()
657 proc_priv->soc_dts); in proc_thermal_pci_probe()
659 proc_priv->soc_dts = NULL; in proc_thermal_pci_probe()
683 if (proc_priv->soc_dts) { in proc_thermal_pci_remove()
684 intel_soc_dts_iosf_exit(proc_priv->soc_dts); in proc_thermal_pci_remove()