Home
last modified time | relevance | path

Searched refs:tm_map (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/thermal/qcom/
Dtsens-8960.c63 struct regmap *map = priv->tm_map; in suspend_8960()
88 struct regmap *map = priv->tm_map; in resume_8960()
120 ret = regmap_read(priv->tm_map, CNTL_ADDR, &reg); 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, &reg_cntl); in disable_8960()
162 regmap_write(priv->tm_map, CNTL_ADDR, reg_cntl); in disable_8960()
170 priv->tm_map = dev_get_regmap(priv->dev, NULL); in init_8960()
171 if (!priv->tm_map) in init_8960()
187 ret = regmap_update_bits(priv->tm_map, CNTL_ADDR, SW_RST, reg_cntl); in init_8960()
[all …]
Dtsens-common.c194 priv->tm_map = devm_regmap_init_mmio(dev, tm_base, &tsens_config); in init_common()
195 if (IS_ERR(priv->tm_map)) { in init_common()
196 ret = PTR_ERR(priv->tm_map); in init_common()
223 priv->rf[j] = devm_regmap_field_alloc(dev, priv->tm_map, in init_common()
231 priv->rf[j] = devm_regmap_field_alloc(dev, priv->tm_map, in init_common()
Dtsens.h303 struct regmap *tm_map; member