Lines Matching refs:tshut_mode
35 enum tshut_mode { enum
95 enum tshut_mode tshut_mode; member
108 void (*set_tshut_mode)(int chn, void __iomem *reg, enum tshut_mode m);
133 enum tshut_mode tshut_mode; member
416 enum tshut_mode mode) in rk_tsadcv2_tshut_mode()
437 .tshut_mode = TSHUT_MODE_GPIO, /* default TSHUT via GPIO give PMIC */
461 .tshut_mode = TSHUT_MODE_GPIO, /* default TSHUT via GPIO give PMIC */
540 u32 shut_temp, tshut_mode, tshut_polarity; in rockchip_configure_from_dt() local
556 if (of_property_read_u32(np, "rockchip,hw-tshut-mode", &tshut_mode)) { in rockchip_configure_from_dt()
559 thermal->chip->tshut_mode == TSHUT_MODE_GPIO ? in rockchip_configure_from_dt()
561 thermal->tshut_mode = thermal->chip->tshut_mode; in rockchip_configure_from_dt()
563 thermal->tshut_mode = tshut_mode; in rockchip_configure_from_dt()
566 if (thermal->tshut_mode > 1) { in rockchip_configure_from_dt()
568 thermal->tshut_mode); in rockchip_configure_from_dt()
601 tsadc->set_tshut_mode(id, thermal->regs, thermal->tshut_mode); in rockchip_thermal_register_sensor()
820 thermal->tshut_mode); in rockchip_thermal_resume()