Lines Matching refs:tonet
501 struct dsp_tone *tonet = &dsp->tone; in dsp_tone() local
503 tonet->software = 0; in dsp_tone()
504 tonet->hardware = 0; in dsp_tone()
508 if (dsp->features.hfc_loops && timer_pending(&tonet->tl)) in dsp_tone()
509 del_timer(&tonet->tl); in dsp_tone()
512 tonet->tone = 0; in dsp_tone()
532 tonet->tone = tone; in dsp_tone()
533 tonet->pattern = pat; in dsp_tone()
534 tonet->index = 0; in dsp_tone()
535 tonet->count = 0; in dsp_tone()
538 tonet->hardware = 1; in dsp_tone()
542 if (timer_pending(&tonet->tl)) in dsp_tone()
543 del_timer(&tonet->tl); in dsp_tone()
544 init_timer(&tonet->tl); in dsp_tone()
545 tonet->tl.expires = jiffies + (pat->seq[0] * HZ) / 8000; in dsp_tone()
546 add_timer(&tonet->tl); in dsp_tone()
548 tonet->software = 1; in dsp_tone()