Lines Matching refs:sdw_regmap

109 		ret = regmap_write(rt711->sdw_regmap, reg, 0);  in rt711_sdw_read()
114 ret = regmap_write(rt711->sdw_regmap, reg2, val2); in rt711_sdw_read()
119 ret = regmap_write(rt711->sdw_regmap, in rt711_sdw_read()
125 ret = regmap_write(rt711->sdw_regmap, reg4, (*val & 0xff)); in rt711_sdw_read()
130 ret = regmap_write(rt711->sdw_regmap, reg, *val); in rt711_sdw_read()
136 ret = regmap_write(rt711->sdw_regmap, in rt711_sdw_read()
142 ret = regmap_write(rt711->sdw_regmap, reg2, (*val & 0xff)); in rt711_sdw_read()
148 ret = regmap_write(rt711->sdw_regmap, in rt711_sdw_read()
152 ret = regmap_write(rt711->sdw_regmap, reg, (*val & 0xff)); in rt711_sdw_read()
156 ret = regmap_write(rt711->sdw_regmap, in rt711_sdw_read()
162 ret = regmap_write(rt711->sdw_regmap, reg2, (*val & 0xff)); in rt711_sdw_read()
166 ret = regmap_write(rt711->sdw_regmap, reg, *val); in rt711_sdw_read()
170 ret = regmap_read(rt711->sdw_regmap, reg, val); in rt711_sdw_read()
181 ret = regmap_read(rt711->sdw_regmap, in rt711_sdw_read()
185 ret = regmap_read(rt711->sdw_regmap, in rt711_sdw_read()
189 ret = regmap_read(rt711->sdw_regmap, in rt711_sdw_read()
193 ret = regmap_read(rt711->sdw_regmap, in rt711_sdw_read()
231 ret = regmap_write(rt711->sdw_regmap, reg, 0); in rt711_sdw_write()
236 ret = regmap_write(rt711->sdw_regmap, reg2, val2); in rt711_sdw_write()
241 ret = regmap_write(rt711->sdw_regmap, in rt711_sdw_write()
247 ret = regmap_write(rt711->sdw_regmap, reg4, (val & 0xff)); in rt711_sdw_write()
252 ret = regmap_write(rt711->sdw_regmap, reg, val); in rt711_sdw_write()
256 ret = regmap_write(rt711->sdw_regmap, reg, val); in rt711_sdw_write()
260 ret = regmap_write(rt711->sdw_regmap, in rt711_sdw_write()
266 ret = regmap_write(rt711->sdw_regmap, reg2, (val & 0xff)); in rt711_sdw_write()
272 ret = regmap_write(rt711->sdw_regmap, in rt711_sdw_write()
276 ret = regmap_write(rt711->sdw_regmap, reg, (val & 0xff)); in rt711_sdw_write()
446 struct regmap *sdw_regmap, *regmap; in rt711_sdw_probe() local
449 sdw_regmap = devm_regmap_init_sdw(slave, &rt711_sdw_regmap); in rt711_sdw_probe()
450 if (IS_ERR(sdw_regmap)) in rt711_sdw_probe()
451 return PTR_ERR(sdw_regmap); in rt711_sdw_probe()
458 return rt711_init(&slave->dev, sdw_regmap, regmap, slave); in rt711_sdw_probe()