Lines Matching refs:waveform
121 if (unlikely(waveform > 0x8) && likely(!test) && likely(shift_pipeline != 1)) in write_shift_register()
187 bool do_pre_writeback(unsigned int waveform_prev, unsigned int waveform, bool is6581) in do_pre_writeback() argument
193 if (waveform == 8) in do_pre_writeback()
197 ((((waveform_prev & 0x3) == 0x1) && ((waveform & 0x3) == 0x2)) in do_pre_writeback()
198 || (((waveform_prev & 0x3) == 0x2) && ((waveform & 0x3) == 0x1)))) in do_pre_writeback()
208 const unsigned int waveform_prev = waveform; in writeCONTROL_REG()
211 waveform = (control >> 4) & 0x0f; in writeCONTROL_REG()
218 if (waveform != waveform_prev) in writeCONTROL_REG()
221 wave = (*model_wave)[waveform & 0x7]; in writeCONTROL_REG()
226 no_noise = (waveform & 0x8) != 0 ? 0x000 : 0xfff; in writeCONTROL_REG()
228 no_pulse = (waveform & 0x4) != 0 ? 0x000 : 0xfff; in writeCONTROL_REG()
230 if (waveform == 0) in writeCONTROL_REG()
259 if (do_pre_writeback(waveform_prev, waveform, is6581)) in writeCONTROL_REG()
297 waveform = 0; in reset()