Lines Matching defs:rockchip_tsadc_chip
99 struct rockchip_tsadc_chip { struct
101 int chn_id[SOC_MAX_SENSORS];
102 int chn_num;
105 int tshut_temp;
106 enum tshut_mode tshut_mode;
107 enum tshut_polarity tshut_polarity;
110 void (*initialize)(struct regmap *grf,
112 void (*irq_ack)(void __iomem *reg);
113 void (*control)(void __iomem *reg, bool on);
116 int (*get_temp)(const struct chip_tsadc_table *table,
118 int (*set_alarm_temp)(const struct chip_tsadc_table *table,
120 int (*set_tshut_temp)(const struct chip_tsadc_table *table,
122 void (*set_tshut_mode)(int chn, void __iomem *reg, enum tshut_mode m);
125 struct chip_tsadc_table table;