Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/thermal/ti-soc-thermal/
Dti-thermal.h87 int ti_thermal_expose_sensor(struct ti_bandgap *bgp, int id, char *domain);
88 int ti_thermal_remove_sensor(struct ti_bandgap *bgp, int id);
89 int ti_thermal_report_sensor_temperature(struct ti_bandgap *bgp, int id);
90 int ti_thermal_register_cpu_cooling(struct ti_bandgap *bgp, int id);
91 int ti_thermal_unregister_cpu_cooling(struct ti_bandgap *bgp, int id);
94 int ti_thermal_expose_sensor(struct ti_bandgap *bgp, int id, char *domain) in ti_thermal_expose_sensor()
100 int ti_thermal_remove_sensor(struct ti_bandgap *bgp, int id) in ti_thermal_remove_sensor()
106 int ti_thermal_report_sensor_temperature(struct ti_bandgap *bgp, int id) in ti_thermal_report_sensor_temperature()
112 int ti_thermal_register_cpu_cooling(struct ti_bandgap *bgp, int id) in ti_thermal_register_cpu_cooling()
118 int ti_thermal_unregister_cpu_cooling(struct ti_bandgap *bgp, int id) in ti_thermal_unregister_cpu_cooling()
Dti-bandgap.h239 struct ti_bandgap { struct
281 int (*register_cooling)(struct ti_bandgap *bgp, int id);
282 int (*unregister_cooling)(struct ti_bandgap *bgp, int id);
374 int (*report_temperature)(struct ti_bandgap *bgp, int id);
375 int (*expose_sensor)(struct ti_bandgap *bgp, int id, char *domain);
376 int (*remove_sensor)(struct ti_bandgap *bgp, int id);
382 int ti_bandgap_read_thot(struct ti_bandgap *bgp, int id, int *thot);
383 int ti_bandgap_write_thot(struct ti_bandgap *bgp, int id, int val);
384 int ti_bandgap_read_tcold(struct ti_bandgap *bgp, int id, int *tcold);
385 int ti_bandgap_write_tcold(struct ti_bandgap *bgp, int id, int val);
[all …]
Dti-bandgap.c46 static int ti_bandgap_force_single_read(struct ti_bandgap *bgp, int id);
58 static u32 ti_bandgap_readl(struct ti_bandgap *bgp, u32 reg) in ti_bandgap_readl()
71 static void ti_bandgap_writel(struct ti_bandgap *bgp, u32 val, u32 reg) in ti_bandgap_writel()
106 static int ti_bandgap_power(struct ti_bandgap *bgp, bool on) in ti_bandgap_power()
135 static u32 ti_errata814_bandgap_read_temp(struct ti_bandgap *bgp, u32 reg) in ti_errata814_bandgap_read_temp()
162 static u32 ti_bandgap_read_temp(struct ti_bandgap *bgp, int id) in ti_bandgap_read_temp()
210 struct ti_bandgap *bgp = data; in ti_bandgap_talert_irq_handler()
296 int ti_bandgap_adc_to_mcelsius(struct ti_bandgap *bgp, int adc_val, int *t) in ti_bandgap_adc_to_mcelsius()
322 int ti_bandgap_mcelsius_to_adc(struct ti_bandgap *bgp, long temp, int *adc) in ti_bandgap_mcelsius_to_adc()
359 int ti_bandgap_add_hyst(struct ti_bandgap *bgp, int adc_val, int hyst_val, in ti_bandgap_add_hyst()
[all …]
Dti-thermal-common.c43 struct ti_bandgap *bgp;
83 struct ti_bandgap *bgp; in __ti_thermal_get_temp()
187 struct ti_bandgap *bgp; in ti_thermal_set_mode()
245 struct ti_bandgap *bgp; in __ti_thermal_get_trend()
307 *ti_thermal_build_data(struct ti_bandgap *bgp, int id) in ti_thermal_build_data()
326 int ti_thermal_expose_sensor(struct ti_bandgap *bgp, int id, in ti_thermal_expose_sensor()
362 int ti_thermal_remove_sensor(struct ti_bandgap *bgp, int id) in ti_thermal_remove_sensor()
379 int ti_thermal_report_sensor_temperature(struct ti_bandgap *bgp, int id) in ti_thermal_report_sensor_temperature()
390 int ti_thermal_register_cpu_cooling(struct ti_bandgap *bgp, int id) in ti_thermal_register_cpu_cooling()
427 int ti_thermal_unregister_cpu_cooling(struct ti_bandgap *bgp, int id) in ti_thermal_unregister_cpu_cooling()