Searched refs:rt715 (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/sound/soc/codecs/ |
D | rt715.c | 54 static void rt715_get_gain(struct rt715_priv *rt715, unsigned int addr_h, in rt715_get_gain() argument 61 ret = regmap_read(rt715->regmap, addr_l, r_val); in rt715_get_gain() 68 ret = regmap_read(rt715->regmap, addr_h, l_val); in rt715_get_gain() 82 struct rt715_priv *rt715 = snd_soc_component_get_drvdata(component); in rt715_set_amp_gain_put() local 95 rt715_get_gain(rt715, addr_h, addr_l, val_h, &read_rl, &read_ll); in rt715_set_amp_gain_put() 116 regmap_write(rt715->regmap, in rt715_set_amp_gain_put() 138 regmap_write(rt715->regmap, addr_h, in rt715_set_amp_gain_put() 140 regmap_write(rt715->regmap, addr_l, in rt715_set_amp_gain_put() 145 regmap_write(rt715->regmap, addr_h, in rt715_set_amp_gain_put() 149 regmap_write(rt715->regmap, addr_l, in rt715_set_amp_gain_put() [all …]
|
D | rt715-sdw.c | 149 struct rt715_priv *rt715 = dev_get_drvdata(dev); in rt715_sdw_read() local 164 ret = regmap_write(rt715->sdw_regmap, reg, 0); in rt715_sdw_read() 169 ret = regmap_write(rt715->sdw_regmap, reg2, val2); in rt715_sdw_read() 174 ret = regmap_write(rt715->sdw_regmap, reg3, in rt715_sdw_read() 180 ret = regmap_write(rt715->sdw_regmap, reg4, (*val & 0xff)); in rt715_sdw_read() 185 ret = regmap_write(rt715->sdw_regmap, reg, *val); in rt715_sdw_read() 191 ret = regmap_write(rt715->sdw_regmap, reg, in rt715_sdw_read() 197 ret = regmap_write(rt715->sdw_regmap, reg2, (*val & 0xff)); in rt715_sdw_read() 203 ret = regmap_write(rt715->sdw_regmap, reg2, in rt715_sdw_read() 207 ret = regmap_write(rt715->sdw_regmap, reg, (*val & 0xff)); in rt715_sdw_read() [all …]
|
D | Makefile | 190 snd-soc-rt715-objs := rt715.o rt715-sdw.o 500 obj-$(CONFIG_SND_SOC_RT715) += snd-soc-rt715.o
|