Lines Matching defs:rockchip_tsadc_chip
109 struct rockchip_tsadc_chip { struct
111 int chn_id[SOC_MAX_SENSORS];
112 int chn_num;
115 int conversion_time;
118 int trim_slope;
121 int tshut_temp;
122 enum tshut_mode tshut_mode;
123 enum tshut_polarity tshut_polarity;
126 void (*initialize)(struct regmap *grf,
128 void (*irq_ack)(void __iomem *reg);
129 void (*control)(void __iomem *reg, bool on);
132 int (*get_temp)(const struct chip_tsadc_table *table,
134 int (*set_alarm_temp)(const struct chip_tsadc_table *table,
136 int (*set_tshut_temp)(const struct chip_tsadc_table *table,
138 void (*set_tshut_mode)(struct regmap *grf, int chn,
140 int (*get_trim_code)(const struct chip_tsadc_table *table,
142 int (*set_clk_rate)(struct platform_device *pdev);
145 struct chip_tsadc_table table;