Lines Matching defs:vol
166 int vol[2];
174 static void set_dsp_scale(struct regmap *rm, int offset, int vol)
177 uint32_t x = tas5805m_volume[vol];
192 dev_dbg(&tas5805m->i2c->dev, "refresh: is_muted=%d, vol=%d/%d\n",
193 tas5805m->is_muted, tas5805m->vol[0], tas5805m->vol[1]);
203 set_dsp_scale(rm, 0x24, tas5805m->vol[0]);
204 set_dsp_scale(rm, 0x28, tas5805m->vol[1]);
235 ucontrol->value.integer.value[0] = tas5805m->vol[0];
236 ucontrol->value.integer.value[1] = tas5805m->vol[1];
261 if (tas5805m->vol[0] != ucontrol->value.integer.value[0] ||
262 tas5805m->vol[1] != ucontrol->value.integer.value[1]) {
263 tas5805m->vol[0] = ucontrol->value.integer.value[0];
264 tas5805m->vol[1] = ucontrol->value.integer.value[1];
265 dev_dbg(component->dev, "set vol=%d/%d (is_powered=%d)\n",
266 tas5805m->vol[0], tas5805m->vol[1],
541 tas5805m->vol[0] = TAS5805M_VOLUME_MIN;
542 tas5805m->vol[1] = TAS5805M_VOLUME_MIN;