Home
last modified time | relevance | path

Searched refs:qpnp_tm_chip (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/thermal/qcom/
H A Dqcom-spmi-temp-alarm.c123 struct qpnp_tm_chip;
128 int (*sync_thresholds)(struct qpnp_tm_chip *chip);
129 int (*get_temp_stage)(struct qpnp_tm_chip *chip);
130 int (*configure_trip_temps)(struct qpnp_tm_chip *chip);
133 struct qpnp_tm_chip { struct
155 static int qpnp_tm_read(struct qpnp_tm_chip *chip, u16 addr, u8 *data) in qpnp_tm_read() argument
168 static int qpnp_tm_write(struct qpnp_tm_chip *chip, u16 addr, u8 data) in qpnp_tm_write()
181 static long qpnp_tm_decode_temp(struct qpnp_tm_chip *chip, unsigned int stage) in qpnp_tm_decode_temp()
195 static int qpnp_tm_gen1_get_temp_stage(struct qpnp_tm_chip *chip) in qpnp_tm_gen1_get_temp_stage()
213 static int qpnp_tm_gen2_get_temp_stage(struct qpnp_tm_chip *chip) in qpnp_tm_gen2_get_temp_stage()
[all …]