Searched refs:CNTL_ADDR (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.4/drivers/thermal/qcom/ |
D | tsens-8960.c | 25 #define CNTL_ADDR 0x3620 macro 69 ret = regmap_read(map, CNTL_ADDR, &priv->ctx.control); in suspend_8960() 78 ret = regmap_update_bits(map, CNTL_ADDR, mask, 0); in suspend_8960() 90 ret = regmap_update_bits(map, CNTL_ADDR, SW_RST, SW_RST); in resume_8960() 108 ret = regmap_write(map, CNTL_ADDR, priv->ctx.control); in resume_8960() 120 ret = regmap_read(priv->tm_map, CNTL_ADDR, ®); in enable_8960() 125 ret = regmap_write(priv->tm_map, CNTL_ADDR, reg | SW_RST); in enable_8960() 134 ret = regmap_write(priv->tm_map, CNTL_ADDR, reg); in enable_8960() 151 ret = regmap_read(priv->tm_map, CNTL_ADDR, ®_cntl); in disable_8960() 162 regmap_write(priv->tm_map, CNTL_ADDR, reg_cntl); in disable_8960() [all …]
|