Lines Matching defs:ramp
51 u16 ramp;
109 if (out1->ramp == WM8350_RAMP_UP) {
110 /* ramp step up */
118 } else if (out1->ramp == WM8350_RAMP_DOWN) {
119 /* ramp step down */
133 if (out1->ramp == WM8350_RAMP_UP) {
134 /* ramp step up */
142 } else if (out1->ramp == WM8350_RAMP_DOWN) {
143 /* ramp step down */
174 if (out2->ramp == WM8350_RAMP_UP) {
175 /* ramp step up */
183 } else if (out2->ramp == WM8350_RAMP_DOWN) {
184 /* ramp step down */
198 if (out2->ramp == WM8350_RAMP_UP) {
199 /* ramp step up */
207 } else if (out2->ramp == WM8350_RAMP_DOWN) {
208 /* ramp step down */
240 /* do we need to ramp at all ? */
241 if (out1->ramp == WM8350_RAMP_NONE && out2->ramp == WM8350_RAMP_NONE)
244 /* PGA volumes have 6 bits of resolution to ramp */
247 if (out1->ramp != WM8350_RAMP_NONE)
249 if (out2->ramp != WM8350_RAMP_NONE)
252 /* ramp finished ? */
256 /* we need to delay longer on the up ramp */
257 if (out1->ramp == WM8350_RAMP_UP ||
258 out2->ramp == WM8350_RAMP_UP) {
270 out1->ramp = WM8350_RAMP_NONE;
271 out2->ramp = WM8350_RAMP_NONE;
302 out->ramp = WM8350_RAMP_UP;
311 out->ramp = WM8350_RAMP_DOWN;
1217 /* ramp up vmid */