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()
222 if (out1->ramp != WM8350_RAMP_NONE) in wm8350_pga_work()
232 if (out1->ramp == WM8350_RAMP_UP || in wm8350_pga_work()
245 out1->ramp = WM8350_RAMP_NONE; in wm8350_pga_work()
263 out = &wm8350_data->out1; in pga_event()
308 /* For OUT1 and OUT2 we shadow the values and only actually write in wm8350_put_volsw_2r_vu()
313 out = &wm8350_priv->out1; in wm8350_put_volsw_2r_vu()
344 struct wm8350_output *out1 = &wm8350_priv->out1; in wm8350_get_volsw_2r() local
353 ucontrol->value.integer.value[0] = out1->left_vol; in wm8350_get_volsw_2r()
354 ucontrol->value.integer.value[1] = out1->right_vol; in wm8350_get_volsw_2r()
452 SOC_DOUBLE_R_EXT_TLV("Out1 Playback Volume",
457 SOC_DOUBLE_R("Out1 Playback ZC Switch",
471 SOC_DOUBLE_R("Out1 Playback Switch",
593 SND_SOC_DAPM_PGA_E("Right Out1 PGA", WM8350_POWER_MGMT_3, 1, 0, NULL,
596 SND_SOC_DAPM_PGA_E("Left Out1 PGA", WM8350_POWER_MGMT_3, 0, 0, NULL, 0,
707 /* out1 */
708 {"Right Out1 PGA", NULL, "Right Playback Mixer"},
709 {"Left Out1 PGA", NULL, "Left Playback Mixer"},
710 {"OUT1L", NULL, "Left Out1 PGA"},
711 {"OUT1R", NULL, "Right Out1 PGA"},
1460 struct wm8350_output *out1; in wm8350_component_probe() local
1502 /* read OUT1 & OUT2 volumes */ in wm8350_component_probe()
1503 out1 = &priv->out1; in wm8350_component_probe()
1505 out1->left_vol = (wm8350_reg_read(wm8350, WM8350_LOUT1_VOLUME) & in wm8350_component_probe()
1507 out1->right_vol = (wm8350_reg_read(wm8350, WM8350_ROUT1_VOLUME) & in wm8350_component_probe()