/linux/sound/soc/codecs/ |
H A D | rt715-sdw.c | 166 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 D | rt700-sdw.c | 103 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 D | rt711-sdw.c | 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() [all …]
|
H A D | rt5682-sdw.c | 45 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 D | rt700.h | 16 struct regmap *sdw_regmap; member 166 int rt700_init(struct device *dev, struct regmap *sdw_regmap,
|
H A D | rt711.h | 15 struct regmap *sdw_regmap; member 246 int rt711_init(struct device *dev, struct regmap *sdw_regmap,
|
H A D | rt715.h | 15 struct regmap *sdw_regmap; member 220 int rt715_init(struct device *dev, struct regmap *sdw_regmap,
|
H A D | rt715.c | 1025 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 D | rt700.c | 1093 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 D | rt711.c | 1178 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 D | rt5682.h | 1436 struct regmap *sdw_regmap; member
|