Lines Matching refs:ti_bandgap
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);
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);
343 int ti_bandgap_read_update_interval(struct ti_bandgap *bgp, int id,
345 int ti_bandgap_write_update_interval(struct ti_bandgap *bgp, int id,
347 int ti_bandgap_read_temperature(struct ti_bandgap *bgp, int id,
349 int ti_bandgap_set_sensor_data(struct ti_bandgap *bgp, int id, void *data);
350 void *ti_bandgap_get_sensor_data(struct ti_bandgap *bgp, int id);
351 int ti_bandgap_get_trend(struct ti_bandgap *bgp, int id, int *trend);