Searched refs:ti_bandgap (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/thermal/ti-soc-thermal/ |
H A D | ti-thermal.h | 42 int ti_thermal_expose_sensor(struct ti_bandgap *bgp, int id, char *domain); 43 int ti_thermal_remove_sensor(struct ti_bandgap *bgp, int id); 44 int ti_thermal_report_sensor_temperature(struct ti_bandgap *bgp, int id); 45 int ti_thermal_register_cpu_cooling(struct ti_bandgap *bgp, int id); 46 int ti_thermal_unregister_cpu_cooling(struct ti_bandgap *bgp, int id); 49 int ti_thermal_expose_sensor(struct ti_bandgap *bgp, int id, char *domain) in ti_thermal_expose_sensor() 55 int ti_thermal_remove_sensor(struct ti_bandgap *bgp, int id) in ti_thermal_remove_sensor() 61 int ti_thermal_report_sensor_temperature(struct ti_bandgap *bgp, int id) in ti_thermal_report_sensor_temperature() 67 int ti_thermal_register_cpu_cooling(struct ti_bandgap *bgp, int id) in ti_thermal_register_cpu_cooling() 73 int ti_thermal_unregister_cpu_cooling(struct ti_bandgap *bgp, int id) in ti_thermal_unregister_cpu_cooling()
|
H A D | ti-bandgap.h | 199 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); 343 int ti_bandgap_read_update_interval(struct ti_bandgap *bgp, int id, 347 int ti_bandgap_read_temperature(struct ti_bandgap *bgp, int id, [all …]
|
H A D | ti-bandgap.c | 54 static u32 ti_bandgap_readl(struct ti_bandgap *bgp, u32 reg) in ti_bandgap_readl() 102 static int ti_bandgap_power(struct ti_bandgap *bgp, bool on) in ti_bandgap_power() 206 struct ti_bandgap *bgp = data; in ti_bandgap_talert_irq_handler() 822 struct ti_bandgap *bgp; in ti_bandgap_build() 889 struct ti_bandgap *bgp; in ti_bandgap_probe() 1074 struct ti_bandgap *bgp = platform_get_drvdata(pdev); in ti_bandgap_remove() 1106 static int ti_bandgap_save_ctxt(struct ti_bandgap *bgp) in ti_bandgap_save_ctxt() 1176 struct ti_bandgap *bgp = dev_get_drvdata(dev); in ti_bandgap_suspend() 1193 struct ti_bandgap *bgp; in bandgap_omap_cpu_notifier() 1195 bgp = container_of(nb, struct ti_bandgap, nb); in bandgap_omap_cpu_notifier() [all …]
|
H A D | ti-thermal-common.c | 34 struct ti_bandgap *bgp; 74 struct ti_bandgap *bgp; in __ti_thermal_get_temp() 117 struct ti_bandgap *bgp; in __ti_thermal_get_trend() 143 *ti_thermal_build_data(struct ti_bandgap *bgp, int id) in ti_thermal_build_data() 162 int ti_thermal_expose_sensor(struct ti_bandgap *bgp, int id, in ti_thermal_expose_sensor() 192 int ti_thermal_remove_sensor(struct ti_bandgap *bgp, int id) in ti_thermal_remove_sensor() 206 int ti_thermal_report_sensor_temperature(struct ti_bandgap *bgp, int id) in ti_thermal_report_sensor_temperature() 217 int ti_thermal_register_cpu_cooling(struct ti_bandgap *bgp, int id) in ti_thermal_register_cpu_cooling() 258 int ti_thermal_unregister_cpu_cooling(struct ti_bandgap *bgp, int id) in ti_thermal_unregister_cpu_cooling()
|
/openbmc/u-boot/drivers/thermal/ |
H A D | ti-bandgap.c | 27 struct ti_bandgap { struct 163 struct ti_bandgap *bgp = dev_get_priv(dev); in ti_bandgap_get_temp() 177 struct ti_bandgap *bgp = dev_get_priv(dev); in ti_bandgap_probe() 197 .priv_auto_alloc_size = sizeof(struct ti_bandgap),
|