Home
last modified time | relevance | path

Searched refs:sdw_regmap (Results 1 – 11 of 11) sorted by relevance

/linux/sound/soc/codecs/
H A Drt715-sdw.c166 ret = regmap_write(rt715->sdw_regmap, reg, 0); in rt715_sdw_read()
171 ret = regmap_write(rt715->sdw_regmap, reg2, val2); in rt715_sdw_read()
176 ret = regmap_write(rt715->sdw_regmap, reg3, in rt715_sdw_read()
182 ret = regmap_write(rt715->sdw_regmap, reg4, (*val & 0xff)); in rt715_sdw_read()
187 ret = regmap_write(rt715->sdw_regmap, reg, *val); in rt715_sdw_read()
193 ret = regmap_write(rt715->sdw_regmap, reg, in rt715_sdw_read()
199 ret = regmap_write(rt715->sdw_regmap, reg2, (*val & 0xff)); in rt715_sdw_read()
205 ret = regmap_write(rt715->sdw_regmap, reg2, in rt715_sdw_read()
209 ret = regmap_write(rt715->sdw_regmap, reg, (*val & 0xff)); in rt715_sdw_read()
213 ret = regmap_write(rt715->sdw_regmap, reg, in rt715_sdw_read()
[all …]
H A Drt700-sdw.c103 ret = regmap_write(rt700->sdw_regmap, reg, 0); in rt700_sdw_read()
108 ret = regmap_write(rt700->sdw_regmap, reg2, val2); in rt700_sdw_read()
113 ret = regmap_write(rt700->sdw_regmap, in rt700_sdw_read()
119 ret = regmap_write(rt700->sdw_regmap, reg4, (*val & 0xff)); in rt700_sdw_read()
124 ret = regmap_write(rt700->sdw_regmap, reg, *val); in rt700_sdw_read()
130 ret = regmap_write(rt700->sdw_regmap, in rt700_sdw_read()
136 ret = regmap_write(rt700->sdw_regmap, reg2, (*val & 0xff)); in rt700_sdw_read()
142 ret = regmap_write(rt700->sdw_regmap, in rt700_sdw_read()
146 ret = regmap_write(rt700->sdw_regmap, reg, (*val & 0xff)); in rt700_sdw_read()
150 ret = regmap_write(rt700->sdw_regmap, in rt700_sdw_read()
[all …]
H A Drt711-sdw.c109 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()
[all …]
H A Drt5682-sdw.c45 regmap_write(rt5682->sdw_regmap, RT5682_SDW_CMD, 0); in rt5682_sdw_read()
46 regmap_write(rt5682->sdw_regmap, RT5682_SDW_ADDR_H, (reg >> 8) & 0xff); in rt5682_sdw_read()
47 regmap_write(rt5682->sdw_regmap, RT5682_SDW_ADDR_L, (reg & 0xff)); in rt5682_sdw_read()
48 regmap_read(rt5682->sdw_regmap, RT5682_SDW_DATA_H, &data_h); in rt5682_sdw_read()
49 regmap_read(rt5682->sdw_regmap, RT5682_SDW_DATA_L, &data_l); in rt5682_sdw_read()
63 regmap_write(rt5682->sdw_regmap, RT5682_SDW_CMD, 1); in rt5682_sdw_write()
64 regmap_write(rt5682->sdw_regmap, RT5682_SDW_ADDR_H, (reg >> 8) & 0xff); in rt5682_sdw_write()
65 regmap_write(rt5682->sdw_regmap, RT5682_SDW_ADDR_L, (reg & 0xff)); in rt5682_sdw_write()
66 regmap_write(rt5682->sdw_regmap, RT5682_SDW_DATA_H, (val >> 8) & 0xff); in rt5682_sdw_write()
67 regmap_write(rt5682->sdw_regmap, RT5682_SDW_DATA_L, (val & 0xff)); in rt5682_sdw_write()
[all …]
H A Drt700.h16 struct regmap *sdw_regmap; member
166 int rt700_init(struct device *dev, struct regmap *sdw_regmap,
H A Drt711.h15 struct regmap *sdw_regmap; member
246 int rt711_init(struct device *dev, struct regmap *sdw_regmap,
H A Drt715.h15 struct regmap *sdw_regmap; member
220 int rt715_init(struct device *dev, struct regmap *sdw_regmap,
H A Drt715.c1025 int rt715_init(struct device *dev, struct regmap *sdw_regmap, in rt715_init() argument
1038 rt715->sdw_regmap = sdw_regmap; in rt715_init()
H A Drt700.c1093 int rt700_init(struct device *dev, struct regmap *sdw_regmap, in rt700_init() argument
1106 rt700->sdw_regmap = sdw_regmap; in rt700_init()
H A Drt711.c1178 int rt711_init(struct device *dev, struct regmap *sdw_regmap, in rt711_init() argument
1190 rt711->sdw_regmap = sdw_regmap; in rt711_init()
H A Drt5682.h1436 struct regmap *sdw_regmap; member