Lines Matching refs:tshut_mode
27 enum tshut_mode { enum
91 enum tshut_mode tshut_mode; member
107 void (*set_tshut_mode)(int chn, void __iomem *reg, enum tshut_mode m);
153 enum tshut_mode tshut_mode; member
1031 enum tshut_mode mode) in rk_tsadcv2_tshut_mode()
1048 enum tshut_mode mode) in rk_tsadcv3_tshut_mode()
1068 .tshut_mode = TSHUT_MODE_CRU, /* default TSHUT via CRU */
1092 .tshut_mode = TSHUT_MODE_GPIO, /* default TSHUT via GPIO give PMIC */
1117 .tshut_mode = TSHUT_MODE_GPIO, /* default TSHUT via GPIO give PMIC */
1142 .tshut_mode = TSHUT_MODE_GPIO, /* default TSHUT via GPIO give PMIC */
1167 .tshut_mode = TSHUT_MODE_CRU, /* default TSHUT via CRU */
1191 .tshut_mode = TSHUT_MODE_GPIO, /* default TSHUT via GPIO give PMIC */
1216 .tshut_mode = TSHUT_MODE_GPIO, /* default TSHUT via GPIO give PMIC */
1241 .tshut_mode = TSHUT_MODE_GPIO, /* default TSHUT via GPIO give PMIC */
1266 .tshut_mode = TSHUT_MODE_GPIO, /* default TSHUT via GPIO give PMIC */
1290 .tshut_mode = TSHUT_MODE_GPIO, /* default TSHUT via GPIO give PMIC */
1413 u32 shut_temp, tshut_mode, tshut_polarity; in rockchip_configure_from_dt() local
1429 if (of_property_read_u32(np, "rockchip,hw-tshut-mode", &tshut_mode)) { in rockchip_configure_from_dt()
1432 thermal->chip->tshut_mode == TSHUT_MODE_GPIO ? in rockchip_configure_from_dt()
1434 thermal->tshut_mode = thermal->chip->tshut_mode; in rockchip_configure_from_dt()
1436 thermal->tshut_mode = tshut_mode; in rockchip_configure_from_dt()
1439 if (thermal->tshut_mode > 1) { in rockchip_configure_from_dt()
1441 thermal->tshut_mode); in rockchip_configure_from_dt()
1481 tsadc->set_tshut_mode(id, thermal->regs, thermal->tshut_mode); in rockchip_thermal_register_sensor()
1664 thermal->tshut_mode); in rockchip_thermal_resume()