Lines Matching defs:dsp
15 #include "dsp.h"
373 * if tones has finished (e.g. knocking tone), dsp->tones is turned off
375 void dsp_tone_copy(struct dsp *dsp, u8 *data, int len)
379 struct dsp_tone *tone = &dsp->tone;
438 dsp_tone_hw_message(struct dsp *dsp, u8 *sample, int len)
447 if (dsp->ch.peer) {
448 if (dsp->ch.recv(dsp->ch.peer, nskb))
462 struct dsp *dsp = from_timer(dsp, t, tone.tl);
463 struct dsp_tone *tone = &dsp->tone;
477 dsp_tone_hw_message(dsp, NULL, 0);
479 dsp_tone_hw_message(dsp, pat->data[index], *(pat->siz[index]));
496 dsp_tone(struct dsp *dsp, int tone)
500 struct dsp_tone *tonet = &dsp->tone;
507 if (dsp->features.hfc_loops && timer_pending(&tonet->tl))
509 if (dsp->features.hfc_loops)
510 dsp_tone_hw_message(dsp, NULL, 0);
525 printk(KERN_WARNING "dsp: given tone 0x%x is invalid\n", tone);
536 if (dsp->features.hfc_loops) {
539 dsp_tone_hw_message(dsp, pat->data[0], *(pat->siz[0]));