Lines Matching full:ramp
48 u16 ramp; member
73 * Ramp OUT1 PGA volume to minimise pops at stream startup and shutdown.
86 if (out1->ramp == WM8350_RAMP_UP) { in wm8350_out1_ramp_step()
87 /* ramp step up */ in wm8350_out1_ramp_step()
95 } else if (out1->ramp == WM8350_RAMP_DOWN) { in wm8350_out1_ramp_step()
96 /* ramp step down */ in wm8350_out1_ramp_step()
110 if (out1->ramp == WM8350_RAMP_UP) { in wm8350_out1_ramp_step()
111 /* ramp step up */ in wm8350_out1_ramp_step()
119 } else if (out1->ramp == WM8350_RAMP_DOWN) { in wm8350_out1_ramp_step()
120 /* ramp step down */ in wm8350_out1_ramp_step()
138 * Ramp OUT2 PGA volume to minimise pops at stream startup and shutdown.
150 if (out2->ramp == WM8350_RAMP_UP) { in wm8350_out2_ramp_step()
151 /* ramp step up */ in wm8350_out2_ramp_step()
159 } else if (out2->ramp == WM8350_RAMP_DOWN) { in wm8350_out2_ramp_step()
160 /* ramp step down */ in wm8350_out2_ramp_step()
174 if (out2->ramp == WM8350_RAMP_UP) { in wm8350_out2_ramp_step()
175 /* ramp step up */ in wm8350_out2_ramp_step()
183 } else if (out2->ramp == WM8350_RAMP_DOWN) { in wm8350_out2_ramp_step()
184 /* ramp step down */ in wm8350_out2_ramp_step()
215 /* do we need to ramp at all ? */ in wm8350_pga_work()
216 if (out1->ramp == WM8350_RAMP_NONE && out2->ramp == WM8350_RAMP_NONE) in wm8350_pga_work()
219 /* PGA volumes have 6 bits of resolution to ramp */ in wm8350_pga_work()
222 if (out1->ramp != WM8350_RAMP_NONE) in wm8350_pga_work()
224 if (out2->ramp != WM8350_RAMP_NONE) in wm8350_pga_work()
227 /* ramp finished ? */ in wm8350_pga_work()
231 /* we need to delay longer on the up ramp */ in wm8350_pga_work()
232 if (out1->ramp == WM8350_RAMP_UP || in wm8350_pga_work()
233 out2->ramp == WM8350_RAMP_UP) { in wm8350_pga_work()
245 out1->ramp = WM8350_RAMP_NONE; in wm8350_pga_work()
246 out2->ramp = WM8350_RAMP_NONE; in wm8350_pga_work()
277 out->ramp = WM8350_RAMP_UP; in pga_event()
285 out->ramp = WM8350_RAMP_DOWN; in pga_event()
1131 /* ramp up vmid */ in wm8350_set_bias_level()