Searched refs:CNTL_ADDR (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/thermal/qcom/ |
H A D | tsens-8960.c | 22 #define CNTL_ADDR 0x3620 macro 65 ret = regmap_read(map, CNTL_ADDR, &priv->ctx.control); in suspend_8960() 74 ret = regmap_update_bits(map, CNTL_ADDR, mask, 0); in suspend_8960() 86 ret = regmap_update_bits(map, CNTL_ADDR, SW_RST, SW_RST); in resume_8960() 104 ret = regmap_write(map, CNTL_ADDR, priv->ctx.control); in resume_8960() 116 ret = regmap_read(priv->tm_map, CNTL_ADDR, ®); in enable_8960() 136 ret = regmap_write(priv->tm_map, CNTL_ADDR, reg | SW_RST); in enable_8960() 147 ret = regmap_write(priv->tm_map, CNTL_ADDR, reg); in enable_8960() 164 ret = regmap_read(priv->tm_map, CNTL_ADDR, ®_cntl); in disable_8960() 175 regmap_write(priv->tm_map, CNTL_ADDR, reg_cntl); in disable_8960() [all …]
|