Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/thermal/intel/
H A 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 …]
H A Dintel_soc_dts_iosf.c353 for (j = 0; j < sensors->soc_dts[i].trip_count; ++j) { in intel_soc_dts_iosf_add_read_only_critical_trip()
354 if (!(sensors->soc_dts[i].trip_mask & BIT(j))) { in intel_soc_dts_iosf_add_read_only_critical_trip()
355 return update_trip_temp(&sensors->soc_dts[i], j, in intel_soc_dts_iosf_add_read_only_critical_trip()
393 thermal_zone_device_update(sensors->soc_dts[i].tzone, in intel_soc_dts_iosf_interrupt_handler()
433 sensors->soc_dts[i].sensors = sensors; in intel_soc_dts_iosf_init()
434 ret = add_dts_thermal_zone(i, &sensors->soc_dts[i], in intel_soc_dts_iosf_init()
442 ret = update_trip_temp(&sensors->soc_dts[i], 0, 0, in intel_soc_dts_iosf_init()
447 ret = update_trip_temp(&sensors->soc_dts[i], 1, 0, in intel_soc_dts_iosf_init()
456 remove_dts_thermal_zone(&sensors->soc_dts[i]); in intel_soc_dts_iosf_init()
469 update_trip_temp(&sensors->soc_dts[i], 0, 0, 0); in intel_soc_dts_iosf_exit()
[all …]
H A 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()
H A Dintel_soc_dts_iosf.h40 struct intel_soc_dts_sensor_entry soc_dts[SOC_MAX_DTS_SENSORS]; member
/OK3568_Linux_fs/kernel/drivers/thermal/intel/int340x_thermal/
H A Dprocessor_thermal_device.c67 struct intel_soc_dts_sensors *soc_dts; member
463 intel_soc_dts_iosf_interrupt_handler(proc_priv->soc_dts); in proc_thermal_pci_msi_irq()
655 proc_priv->soc_dts = intel_soc_dts_iosf_init( in proc_thermal_pci_probe()
658 if (!IS_ERR(proc_priv->soc_dts) && pdev->irq) { in proc_thermal_pci_probe()
667 proc_priv->soc_dts); in proc_thermal_pci_probe()
669 proc_priv->soc_dts = NULL; in proc_thermal_pci_probe()
693 if (proc_priv->soc_dts) { in proc_thermal_pci_remove()
694 intel_soc_dts_iosf_exit(proc_priv->soc_dts); in proc_thermal_pci_remove()