Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/thermal/qcom/
Dtsens-8960.c59 struct regmap *map = priv->tm_map; in suspend_8960()
84 struct regmap *map = priv->tm_map; in resume_8960()
116 ret = regmap_read(priv->tm_map, CNTL_ADDR, &reg); 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, &reg_cntl); in disable_8960()
175 regmap_write(priv->tm_map, CNTL_ADDR, reg_cntl); in disable_8960()
Dtsens.c784 priv->tm_map = devm_regmap_init_mmio(dev, tm_base, &tsens_config); in init_common()
789 priv->tm_map = syscon_node_to_regmap(parent->of_node); in init_common()
792 if (IS_ERR_OR_NULL(priv->tm_map)) { in init_common()
793 if (!priv->tm_map) in init_common()
796 ret = PTR_ERR(priv->tm_map); in init_common()
802 priv->srot_map = priv->tm_map; in init_common()
843 priv->rf[INT_EN] = devm_regmap_field_alloc(dev, priv->tm_map, in init_common()
857 priv->rf[TRDY] = devm_regmap_field_alloc(dev, priv->tm_map, priv->fields[TRDY]); in init_common()
869 priv->tm_map, in init_common()
886 priv->tm_map, in init_common()
[all …]
Dtsens.h559 struct regmap *tm_map; member