Lines Matching full:out2

62 	struct wm8350_output out2;  member
138 * Ramp OUT2 PGA volume to minimise pops at stream startup and shutdown.
142 struct wm8350_output *out2 = &wm8350_data->out2; in wm8350_out2_ramp_step() local
150 if (out2->ramp == WM8350_RAMP_UP) { in wm8350_out2_ramp_step()
152 if (val < out2->left_vol) { in wm8350_out2_ramp_step()
159 } else if (out2->ramp == WM8350_RAMP_DOWN) { in wm8350_out2_ramp_step()
174 if (out2->ramp == WM8350_RAMP_UP) { in wm8350_out2_ramp_step()
176 if (val < out2->right_vol) { in wm8350_out2_ramp_step()
183 } else if (out2->ramp == WM8350_RAMP_DOWN) { in wm8350_out2_ramp_step()
212 *out2 = &wm8350_data->out2; in wm8350_pga_work() local
216 if (out1->ramp == WM8350_RAMP_NONE && out2->ramp == WM8350_RAMP_NONE) in wm8350_pga_work()
225 if (out2->ramp != WM8350_RAMP_NONE) in wm8350_pga_work()
234 out2->ramp == WM8350_RAMP_UP) { in wm8350_pga_work()
247 out2->ramp = WM8350_RAMP_NONE; in wm8350_pga_work()
268 out = &wm8350_data->out2; in pga_event()
309 /* For OUT1 and OUT2 we shadow the values and only actually write in wm8350_put_volsw_2r_vu()
317 out = &wm8350_priv->out2; in wm8350_put_volsw_2r_vu()
346 struct wm8350_output *out2 = &wm8350_priv->out2; in wm8350_get_volsw_2r() local
359 ucontrol->value.integer.value[0] = out2->left_vol; in wm8350_get_volsw_2r()
360 ucontrol->value.integer.value[1] = out2->right_vol; in wm8350_get_volsw_2r()
461 SOC_DOUBLE_R_EXT_TLV("Out2 Playback Volume",
466 SOC_DOUBLE_R("Out2 Playback ZC Switch", WM8350_LOUT2_VOLUME,
468 SOC_SINGLE("Out2 Right Invert Switch", WM8350_ROUT2_VOLUME, 10, 1, 0),
469 SOC_SINGLE_TLV("Out2 Beep Volume", WM8350_BEEP_VOLUME,
476 SOC_DOUBLE_R("Out2 Playback Switch",
588 SND_SOC_DAPM_PGA_E("Right Out2 PGA", WM8350_POWER_MGMT_3, 3, 0, NULL,
591 SND_SOC_DAPM_PGA_E("Left Out2 PGA", WM8350_POWER_MGMT_3, 2, 0, NULL, 0,
634 SND_SOC_DAPM_MIXER("Out2 Mixer", SND_SOC_NOPM, 0, 0, NULL, 0),
702 /* out2 */
703 {"Right Out2 PGA", NULL, "Right Playback Mixer"},
704 {"Left Out2 PGA", NULL, "Left Playback Mixer"},
705 {"OUT2L", NULL, "Left Out2 PGA"},
706 {"OUT2R", NULL, "Right Out2 PGA"},
1462 struct wm8350_output *out2; in wm8350_component_probe() local
1503 /* read OUT1 & OUT2 volumes */ in wm8350_component_probe()
1505 out2 = &priv->out2; in wm8350_component_probe()
1510 out2->left_vol = (wm8350_reg_read(wm8350, WM8350_LOUT2_VOLUME) & in wm8350_component_probe()
1512 out2->right_vol = (wm8350_reg_read(wm8350, WM8350_ROUT2_VOLUME) & in wm8350_component_probe()