ti_bandgap
static int ti_bandgap_power(struct ti_bandgap *bgp, bool on)
struct ti_bandgap *bgp = platform_get_drvdata(pdev);
static int ti_bandgap_save_ctxt(struct ti_bandgap *bgp)
static int ti_bandgap_restore_ctxt(struct ti_bandgap *bgp)
struct ti_bandgap *bgp = dev_get_drvdata(dev);
struct ti_bandgap *bgp;
bgp = container_of(nb, struct ti_bandgap, nb);
struct ti_bandgap *bgp = dev_get_drvdata(dev);
static u32 ti_errata814_bandgap_read_temp(struct ti_bandgap *bgp, u32 reg)
static u32 ti_bandgap_read_temp(struct ti_bandgap *bgp, int id)
struct ti_bandgap *bgp = data;
int ti_bandgap_adc_to_mcelsius(struct ti_bandgap *bgp, int adc_val, int *t)
static inline int ti_bandgap_validate(struct ti_bandgap *bgp, int id)
static void ti_bandgap_read_counter(struct ti_bandgap *bgp, int id,
static void ti_bandgap_read_counter_delay(struct ti_bandgap *bgp, int id,
static int ti_bandgap_force_single_read(struct ti_bandgap *bgp, int id);
int ti_bandgap_read_update_interval(struct ti_bandgap *bgp, int id,
static int ti_bandgap_write_counter_delay(struct ti_bandgap *bgp, int id,
static void ti_bandgap_write_counter(struct ti_bandgap *bgp, int id,
int ti_bandgap_write_update_interval(struct ti_bandgap *bgp,
int ti_bandgap_read_temperature(struct ti_bandgap *bgp, int id,
static u32 ti_bandgap_readl(struct ti_bandgap *bgp, u32 reg)
int ti_bandgap_set_sensor_data(struct ti_bandgap *bgp, int id, void *data)
void *ti_bandgap_get_sensor_data(struct ti_bandgap *bgp, int id)
ti_bandgap_force_single_read(struct ti_bandgap *bgp, int id)
static int ti_bandgap_set_continuous_mode(struct ti_bandgap *bgp)
static void ti_bandgap_writel(struct ti_bandgap *bgp, u32 val, u32 reg)
int ti_bandgap_get_trend(struct ti_bandgap *bgp, int id, int *trend)
static int ti_bandgap_tshut_init(struct ti_bandgap *bgp,
static int ti_bandgap_talert_init(struct ti_bandgap *bgp,
static struct ti_bandgap *ti_bandgap_build(struct platform_device *pdev)
struct ti_bandgap *bgp;
struct ti_bandgap *bgp;
int (*register_cooling)(struct ti_bandgap *bgp, int id);
int (*unregister_cooling)(struct ti_bandgap *bgp, int id);
int (*report_temperature)(struct ti_bandgap *bgp, int id);
int (*expose_sensor)(struct ti_bandgap *bgp, int id, char *domain);
int (*remove_sensor)(struct ti_bandgap *bgp, int id);
int ti_bandgap_read_update_interval(struct ti_bandgap *bgp, int id,
int ti_bandgap_write_update_interval(struct ti_bandgap *bgp, int id,
int ti_bandgap_read_temperature(struct ti_bandgap *bgp, int id,
int ti_bandgap_set_sensor_data(struct ti_bandgap *bgp, int id, void *data);
void *ti_bandgap_get_sensor_data(struct ti_bandgap *bgp, int id);
int ti_bandgap_get_trend(struct ti_bandgap *bgp, int id, int *trend);
struct ti_bandgap *bgp;
*ti_thermal_build_data(struct ti_bandgap *bgp, int id)
int ti_thermal_expose_sensor(struct ti_bandgap *bgp, int id,
int ti_thermal_remove_sensor(struct ti_bandgap *bgp, int id)
int ti_thermal_report_sensor_temperature(struct ti_bandgap *bgp, int id)
int ti_thermal_register_cpu_cooling(struct ti_bandgap *bgp, int id)
int ti_thermal_unregister_cpu_cooling(struct ti_bandgap *bgp, int id)
struct ti_bandgap *bgp;
struct ti_bandgap *bgp;
int ti_thermal_expose_sensor(struct ti_bandgap *bgp, int id, char *domain);
int ti_thermal_remove_sensor(struct ti_bandgap *bgp, int id);
int ti_thermal_report_sensor_temperature(struct ti_bandgap *bgp, int id);
int ti_thermal_register_cpu_cooling(struct ti_bandgap *bgp, int id);
int ti_thermal_unregister_cpu_cooling(struct ti_bandgap *bgp, int id);
int ti_thermal_expose_sensor(struct ti_bandgap *bgp, int id, char *domain)
int ti_thermal_remove_sensor(struct ti_bandgap *bgp, int id)
int ti_thermal_report_sensor_temperature(struct ti_bandgap *bgp, int id)
int ti_thermal_register_cpu_cooling(struct ti_bandgap *bgp, int id)
int ti_thermal_unregister_cpu_cooling(struct ti_bandgap *bgp, int id)