Home
last modified time | relevance | path

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

/openbmc/linux/drivers/thermal/qcom/
H A 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()
H A Dtsens.c930 priv->tm_map = devm_regmap_init_mmio(dev, tm_base, &tsens_config); in init_common()
935 priv->tm_map = syscon_node_to_regmap(parent->of_node); in init_common()
938 if (IS_ERR_OR_NULL(priv->tm_map)) { in init_common()
939 if (!priv->tm_map) in init_common()
942 ret = PTR_ERR(priv->tm_map); in init_common()
948 priv->srot_map = priv->tm_map; in init_common()
989 priv->rf[INT_EN] = devm_regmap_field_alloc(dev, priv->tm_map, in init_common()
1003 priv->rf[TRDY] = devm_regmap_field_alloc(dev, priv->tm_map, priv->fields[TRDY]); in init_common()
1015 priv->tm_map, in init_common()
1032 priv->tm_map, in init_common()
[all …]
H A Dtsens.h572 struct regmap *tm_map; member