Lines Matching full:out1
61 struct wm8350_output out1; member
73 * Ramp OUT1 PGA volume to minimise pops at stream startup and shutdown.
77 struct wm8350_output *out1 = &wm8350_data->out1; in wm8350_out1_ramp_step() local
86 if (out1->ramp == WM8350_RAMP_UP) { in wm8350_out1_ramp_step()
88 if (val < out1->left_vol) { in wm8350_out1_ramp_step()
95 } else if (out1->ramp == WM8350_RAMP_DOWN) { in wm8350_out1_ramp_step()
110 if (out1->ramp == WM8350_RAMP_UP) { in wm8350_out1_ramp_step()
112 if (val < out1->right_vol) { in wm8350_out1_ramp_step()
119 } else if (out1->ramp == WM8350_RAMP_DOWN) { in wm8350_out1_ramp_step()
211 struct wm8350_output *out1 = &wm8350_data->out1, in wm8350_pga_work() local
216 if (out1->ramp == WM8350_RAMP_NONE && out2->ramp == WM8350_RAMP_NONE) in wm8350_pga_work()
223 if (out1->ramp != WM8350_RAMP_NONE) in wm8350_pga_work()
233 if (out1->ramp == WM8350_RAMP_UP || in wm8350_pga_work()
246 out1->ramp = WM8350_RAMP_NONE; in wm8350_pga_work()
264 out = &wm8350_data->out1; in pga_event()
309 /* For OUT1 and OUT2 we shadow the values and only actually write in wm8350_put_volsw_2r_vu()
314 out = &wm8350_priv->out1; in wm8350_put_volsw_2r_vu()
345 struct wm8350_output *out1 = &wm8350_priv->out1; in wm8350_get_volsw_2r() local
354 ucontrol->value.integer.value[0] = out1->left_vol; in wm8350_get_volsw_2r()
355 ucontrol->value.integer.value[1] = out1->right_vol; in wm8350_get_volsw_2r()
453 SOC_DOUBLE_R_EXT_TLV("Out1 Playback Volume",
458 SOC_DOUBLE_R("Out1 Playback ZC Switch",
472 SOC_DOUBLE_R("Out1 Playback Switch",
594 SND_SOC_DAPM_PGA_E("Right Out1 PGA", WM8350_POWER_MGMT_3, 1, 0, NULL,
597 SND_SOC_DAPM_PGA_E("Left Out1 PGA", WM8350_POWER_MGMT_3, 0, 0, NULL, 0,
708 /* out1 */
709 {"Right Out1 PGA", NULL, "Right Playback Mixer"},
710 {"Left Out1 PGA", NULL, "Left Playback Mixer"},
711 {"OUT1L", NULL, "Left Out1 PGA"},
712 {"OUT1R", NULL, "Right Out1 PGA"},
1461 struct wm8350_output *out1; in wm8350_component_probe() local
1503 /* read OUT1 & OUT2 volumes */ in wm8350_component_probe()
1504 out1 = &priv->out1; in wm8350_component_probe()
1506 out1->left_vol = (wm8350_reg_read(wm8350, WM8350_LOUT1_VOLUME) & in wm8350_component_probe()
1508 out1->right_vol = (wm8350_reg_read(wm8350, WM8350_ROUT1_VOLUME) & in wm8350_component_probe()