Lines Matching defs:rockchip_tsadc_chip
84 struct rockchip_tsadc_chip { struct
86 int chn_offset;
87 int chn_num;
90 int tshut_temp;
91 enum tshut_mode tshut_mode;
92 enum tshut_polarity tshut_polarity;
95 void (*initialize)(struct regmap *grf,
97 void (*irq_ack)(void __iomem *reg);
98 void (*control)(void __iomem *reg, bool on);
101 int (*get_temp)(const struct chip_tsadc_table *table,
103 int (*set_alarm_temp)(const struct chip_tsadc_table *table,
105 int (*set_tshut_temp)(const struct chip_tsadc_table *table,
107 void (*set_tshut_mode)(int chn, void __iomem *reg, enum tshut_mode m);
110 struct chip_tsadc_table table;