qpnp_tm_chip
struct qpnp_tm_chip;
int (*sync_thresholds)(struct qpnp_tm_chip *chip);
int (*get_temp_stage)(struct qpnp_tm_chip *chip);
int (*configure_trip_temps)(struct qpnp_tm_chip *chip);
static int qpnp_tm_read(struct qpnp_tm_chip *chip, u16 addr, u8 *data)
static int qpnp_tm_write(struct qpnp_tm_chip *chip, u16 addr, u8 data)
static long qpnp_tm_decode_temp(struct qpnp_tm_chip *chip, unsigned int stage)
static int qpnp_tm_gen1_get_temp_stage(struct qpnp_tm_chip *chip)
static int qpnp_tm_gen2_get_temp_stage(struct qpnp_tm_chip *chip)
static int qpnp_tm_lite_get_temp_stage(struct qpnp_tm_chip *chip)
static int qpnp_tm_update_temp_no_adc(struct qpnp_tm_chip *chip)
struct qpnp_tm_chip *chip = thermal_zone_device_priv(tz);
static int qpnp_tm_update_critical_trip_temp(struct qpnp_tm_chip *chip,
struct qpnp_tm_chip *chip = thermal_zone_device_priv(tz);
static int qpnp_tm_gen2_rev2_set_temp_thresh(struct qpnp_tm_chip *chip, unsigned int trip, int temp)
struct qpnp_tm_chip *chip = thermal_zone_device_priv(tz);
static int qpnp_tm_lite_set_temp_thresh(struct qpnp_tm_chip *chip, unsigned int trip, int temp)
struct qpnp_tm_chip *chip = thermal_zone_device_priv(tz);
struct qpnp_tm_chip *chip = data;
static int qpnp_tm_sync_thresholds(struct qpnp_tm_chip *chip)
static int qpnp_tm_configure_trip_temp(struct qpnp_tm_chip *chip)
struct qpnp_tm_chip *chip = data;
static int qpnp_tm_gen2_rev2_configure_trip_temps(struct qpnp_tm_chip *chip)
static int qpnp_tm_gen2_rev2_sync_thresholds(struct qpnp_tm_chip *chip)
struct qpnp_tm_chip *chip = data;
static int qpnp_tm_lite_configure_trip_temps(struct qpnp_tm_chip *chip)
static int qpnp_tm_lite_sync_thresholds(struct qpnp_tm_chip *chip)
static int qpnp_tm_threshold_init(struct qpnp_tm_chip *chip)
static int qpnp_tm_init(struct qpnp_tm_chip *chip)
struct qpnp_tm_chip *chip;