Home
last modified time | relevance | path

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

/Linux-v6.1/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()
54 soc_dts = intel_soc_dts_iosf_init(INTEL_SOC_DTS_INTERRUPT_APIC, 2, 1); in intel_soc_thermal_init()
55 if (IS_ERR(soc_dts)) { in intel_soc_thermal_init()
56 err = PTR_ERR(soc_dts); in intel_soc_thermal_init()
80 "soc_dts", soc_dts); in intel_soc_thermal_init()
91 err = intel_soc_dts_iosf_add_read_only_critical_trip(soc_dts, in intel_soc_thermal_init()
100 free_irq(soc_dts_thres_irq, soc_dts); in intel_soc_thermal_init()
103 intel_soc_dts_iosf_exit(soc_dts); in intel_soc_thermal_init()
111 free_irq(soc_dts_thres_irq, soc_dts); in intel_soc_thermal_exit()
[all …]
Dintel_soc_dts_iosf.c353 struct intel_soc_dts_sensor_entry *entry = &sensors->soc_dts[i]; 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()
471 update_trip_temp(&sensors->soc_dts[i], 1, 0, 0); in intel_soc_dts_iosf_exit()
472 remove_dts_thermal_zone(&sensors->soc_dts[i]); in intel_soc_dts_iosf_exit()
Dintel_quark_dts_thermal.c109 static struct soc_sensor_entry *soc_dts; variable
423 soc_dts = alloc_soc_dts(); in intel_quark_thermal_init()
424 if (IS_ERR(soc_dts)) { in intel_quark_thermal_init()
425 err = PTR_ERR(soc_dts); in intel_quark_thermal_init()
432 free_soc_dts(soc_dts); in intel_quark_thermal_init()
438 free_soc_dts(soc_dts); in intel_quark_thermal_exit()
Dintel_soc_dts_iosf.h40 struct intel_soc_dts_sensor_entry soc_dts[SOC_MAX_DTS_SENSORS]; member
/Linux-v6.1/drivers/thermal/intel/int340x_thermal/
Dprocessor_thermal_device_pci_legacy.c26 intel_soc_dts_iosf_interrupt_handler(proc_priv->soc_dts); in proc_thermal_pci_msi_irq()
61 proc_priv->soc_dts = intel_soc_dts_iosf_init( in proc_thermal_pci_probe()
64 if (!IS_ERR(proc_priv->soc_dts) && pdev->irq) { in proc_thermal_pci_probe()
73 proc_priv->soc_dts); in proc_thermal_pci_probe()
75 proc_priv->soc_dts = NULL; in proc_thermal_pci_probe()
97 if (proc_priv->soc_dts) { in proc_thermal_pci_remove()
98 intel_soc_dts_iosf_exit(proc_priv->soc_dts); in proc_thermal_pci_remove()
Dprocessor_thermal_device.h46 struct intel_soc_dts_sensors *soc_dts; member