Home
last modified time | relevance | path

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

/Linux-v5.10/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.c748 priv->tm_map = devm_regmap_init_mmio(dev, tm_base, &tsens_config); in init_common()
749 if (IS_ERR(priv->tm_map)) { in init_common()
750 ret = PTR_ERR(priv->tm_map); in init_common()
787 priv->rf[INT_EN] = devm_regmap_field_alloc(dev, priv->tm_map, in init_common()
800 priv->tm_map, in init_common()
817 priv->tm_map, in init_common()
831 priv->rf[i] = devm_regmap_field_alloc(dev, priv->tm_map, in init_common()
Dtsens.h559 struct regmap *tm_map; member