Home
last modified time | relevance | path

Searched refs:ti_bandgap (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/thermal/ti-soc-thermal/
Dti-bandgap.h199 struct ti_bandgap { struct
239 int (*register_cooling)(struct ti_bandgap *bgp, int id);
240 int (*unregister_cooling)(struct ti_bandgap *bgp, int id);
331 int (*report_temperature)(struct ti_bandgap *bgp, int id);
332 int (*expose_sensor)(struct ti_bandgap *bgp, int id, char *domain);
333 int (*remove_sensor)(struct ti_bandgap *bgp, int id);
339 int ti_bandgap_read_thot(struct ti_bandgap *bgp, int id, int *thot);
340 int ti_bandgap_write_thot(struct ti_bandgap *bgp, int id, int val);
341 int ti_bandgap_read_tcold(struct ti_bandgap *bgp, int id, int *tcold);
342 int ti_bandgap_write_tcold(struct ti_bandgap *bgp, int id, int val);
[all …]
Dti-thermal.h57 int ti_thermal_expose_sensor(struct ti_bandgap *bgp, int id, char *domain);
58 int ti_thermal_remove_sensor(struct ti_bandgap *bgp, int id);
59 int ti_thermal_report_sensor_temperature(struct ti_bandgap *bgp, int id);
60 int ti_thermal_register_cpu_cooling(struct ti_bandgap *bgp, int id);
61 int ti_thermal_unregister_cpu_cooling(struct ti_bandgap *bgp, int id);
64 int ti_thermal_expose_sensor(struct ti_bandgap *bgp, int id, char *domain) in ti_thermal_expose_sensor()
70 int ti_thermal_remove_sensor(struct ti_bandgap *bgp, int id) in ti_thermal_remove_sensor()
76 int ti_thermal_report_sensor_temperature(struct ti_bandgap *bgp, int id) in ti_thermal_report_sensor_temperature()
82 int ti_thermal_register_cpu_cooling(struct ti_bandgap *bgp, int id) in ti_thermal_register_cpu_cooling()
88 int ti_thermal_unregister_cpu_cooling(struct ti_bandgap *bgp, int id) in ti_thermal_unregister_cpu_cooling()
Dti-bandgap.c38 static int ti_bandgap_force_single_read(struct ti_bandgap *bgp, int id);
54 static u32 ti_bandgap_readl(struct ti_bandgap *bgp, u32 reg) in ti_bandgap_readl()
67 static void ti_bandgap_writel(struct ti_bandgap *bgp, u32 val, u32 reg) in ti_bandgap_writel()
102 static int ti_bandgap_power(struct ti_bandgap *bgp, bool on) in ti_bandgap_power()
131 static u32 ti_errata814_bandgap_read_temp(struct ti_bandgap *bgp, u32 reg) in ti_errata814_bandgap_read_temp()
158 static u32 ti_bandgap_read_temp(struct ti_bandgap *bgp, int id) in ti_bandgap_read_temp()
206 struct ti_bandgap *bgp = data; in ti_bandgap_talert_irq_handler()
292 int ti_bandgap_adc_to_mcelsius(struct ti_bandgap *bgp, int adc_val, int *t) in ti_bandgap_adc_to_mcelsius()
315 static inline int ti_bandgap_validate(struct ti_bandgap *bgp, int id) in ti_bandgap_validate()
337 static void ti_bandgap_read_counter(struct ti_bandgap *bgp, int id, in ti_bandgap_read_counter()
[all …]
Dti-thermal-common.c32 struct ti_bandgap *bgp;
72 struct ti_bandgap *bgp; in __ti_thermal_get_temp()
113 struct ti_bandgap *bgp; in __ti_thermal_get_trend()
139 *ti_thermal_build_data(struct ti_bandgap *bgp, int id) in ti_thermal_build_data()
158 int ti_thermal_expose_sensor(struct ti_bandgap *bgp, int id, in ti_thermal_expose_sensor()
191 int ti_thermal_remove_sensor(struct ti_bandgap *bgp, int id) in ti_thermal_remove_sensor()
205 int ti_thermal_report_sensor_temperature(struct ti_bandgap *bgp, int id) in ti_thermal_report_sensor_temperature()
216 int ti_thermal_register_cpu_cooling(struct ti_bandgap *bgp, int id) in ti_thermal_register_cpu_cooling()
257 int ti_thermal_unregister_cpu_cooling(struct ti_bandgap *bgp, int id) in ti_thermal_unregister_cpu_cooling()