Searched defs:bgp (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/drivers/thermal/ti-soc-thermal/ |
D | ti-bandgap.c | 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() 82 #define RMW_BITS(bgp, id, reg, mask, val) \ argument 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() local 296 int ti_bandgap_adc_to_mcelsius(struct ti_bandgap *bgp, int adc_val, int *t) in ti_bandgap_adc_to_mcelsius() 319 static inline int ti_bandgap_validate(struct ti_bandgap *bgp, int id) in ti_bandgap_validate() 341 static void ti_bandgap_read_counter(struct ti_bandgap *bgp, int id, in ti_bandgap_read_counter() [all …]
|
D | ti-thermal-common.c | 45 struct ti_bandgap *bgp; member 85 struct ti_bandgap *bgp; in __ti_thermal_get_temp() local 134 struct ti_bandgap *bgp; in __ti_thermal_get_trend() local 160 *ti_thermal_build_data(struct ti_bandgap *bgp, int id) in ti_thermal_build_data() 179 int ti_thermal_expose_sensor(struct ti_bandgap *bgp, int id, in ti_thermal_expose_sensor() 207 int ti_thermal_remove_sensor(struct ti_bandgap *bgp, int id) in ti_thermal_remove_sensor() 221 int ti_thermal_report_sensor_temperature(struct ti_bandgap *bgp, int id) in ti_thermal_report_sensor_temperature() 232 int ti_thermal_register_cpu_cooling(struct ti_bandgap *bgp, int id) in ti_thermal_register_cpu_cooling() 273 int ti_thermal_unregister_cpu_cooling(struct ti_bandgap *bgp, int id) in ti_thermal_unregister_cpu_cooling()
|
D | ti-thermal.h | 78 int ti_thermal_expose_sensor(struct ti_bandgap *bgp, int id, char *domain) in ti_thermal_expose_sensor() 84 int ti_thermal_remove_sensor(struct ti_bandgap *bgp, int id) in ti_thermal_remove_sensor() 90 int ti_thermal_report_sensor_temperature(struct ti_bandgap *bgp, int id) in ti_thermal_report_sensor_temperature() 96 int ti_thermal_register_cpu_cooling(struct ti_bandgap *bgp, int id) in ti_thermal_register_cpu_cooling() 102 int ti_thermal_unregister_cpu_cooling(struct ti_bandgap *bgp, int id) in ti_thermal_unregister_cpu_cooling()
|