Home
last modified time | relevance | path

Searched refs:ti_bandgap (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/thermal/ti-soc-thermal/
H A 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 *bg
[all...]
H A Dti-bandgap.h33 * | struct ti_bandgap |-->| struct device * |
183 * struct ti_bandgap - bandgap device structure
190 * @lock: spinlock for ti_bandgap structure
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);
329 int (*report_temperature)(struct ti_bandgap *bgp, int id);
330 int (*expose_sensor)(struct ti_bandgap *bgp, int id, char *domain);
331 int (*remove_sensor)(struct ti_bandgap *bgp, int id);
337 int ti_bandgap_read_thot(struct ti_bandgap *bg
[all...]
H A Dti-bandgap.c38 static int ti_bandgap_force_single_read(struct ti_bandgap *bgp, int id);
48 * @bgp: pointer to ti_bandgap structure
54 static u32 ti_bandgap_readl(struct ti_bandgap *bgp, u32 reg) in ti_bandgap_readl()
61 * @bgp: pointer to ti_bandgap structure
67 static void ti_bandgap_writel(struct ti_bandgap *bgp, u32 val, u32 reg) in ti_bandgap_writel()
94 * @bgp: pointer to ti_bandgap structure
102 static int ti_bandgap_power(struct ti_bandgap *bgp, bool on) in ti_bandgap_power()
117 * @bgp: pointer to ti_bandgap structure
131 static u32 ti_errata814_bandgap_read_temp(struct ti_bandgap *bgp, u32 reg) in ti_errata814_bandgap_read_temp()
148 * @bgp: pointer to ti_bandgap structur
[all...]
H A Dti-thermal-common.c31 struct ti_bandgap *bgp;
71 struct ti_bandgap *bgp; in __ti_thermal_get_temp()
120 struct ti_bandgap *bgp; in __ti_thermal_get_trend()
146 *ti_thermal_build_data(struct ti_bandgap *bgp, int id) in ti_thermal_build_data()
165 int ti_thermal_expose_sensor(struct ti_bandgap *bgp, int id, in ti_thermal_expose_sensor()
193 int ti_thermal_remove_sensor(struct ti_bandgap *bgp, int id) in ti_thermal_remove_sensor()
207 int ti_thermal_report_sensor_temperature(struct ti_bandgap *bgp, int id) in ti_thermal_report_sensor_temperature()
218 int ti_thermal_register_cpu_cooling(struct ti_bandgap *bgp, int id) in ti_thermal_register_cpu_cooling()
259 int ti_thermal_unregister_cpu_cooling(struct ti_bandgap *bgp, int id) in ti_thermal_unregister_cpu_cooling()
/kernel/linux/linux-6.6/drivers/thermal/ti-soc-thermal/
H A Dti-thermal.h42 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 *bg
[all...]
H A Dti-bandgap.h33 * | struct ti_bandgap |-->| struct device * |
183 * struct ti_bandgap - bandgap device structure
190 * @lock: spinlock for ti_bandgap structure
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 *bg
[all...]
H A Dti-bandgap.c38 static int ti_bandgap_force_single_read(struct ti_bandgap *bgp, int id);
48 * @bgp: pointer to ti_bandgap structure
54 static u32 ti_bandgap_readl(struct ti_bandgap *bgp, u32 reg) in ti_bandgap_readl()
61 * @bgp: pointer to ti_bandgap structure
67 static void ti_bandgap_writel(struct ti_bandgap *bgp, u32 val, u32 reg) in ti_bandgap_writel()
94 * @bgp: pointer to ti_bandgap structure
102 static int ti_bandgap_power(struct ti_bandgap *bgp, bool on) in ti_bandgap_power()
117 * @bgp: pointer to ti_bandgap structure
131 static u32 ti_errata814_bandgap_read_temp(struct ti_bandgap *bgp, u32 reg) in ti_errata814_bandgap_read_temp()
148 * @bgp: pointer to ti_bandgap structur
[all...]
H A Dti-thermal-common.c34 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()

Completed in 5 milliseconds