Lines Matching defs:regmap
13 #include <linux/regmap.h>
41 struct regmap *regmap;
93 ret = regmap_write(priv->regmap, chan->channel,
144 return regmap_write(priv->regmap, LTC1660_REG_SLEEP, 0x00);
151 return regmap_write(priv->regmap, LTC1660_REG_WAKE, 0x00);
167 priv->regmap = devm_regmap_init_spi(spi, <c1660_regmap_config);
168 if (IS_ERR(priv->regmap)) {
169 dev_err(&spi->dev, "failed to register spi regmap %ld\n",
170 PTR_ERR(priv->regmap));
171 return PTR_ERR(priv->regmap);