Home
last modified time | relevance | path

Searched refs:tone (Results 1 – 25 of 63) sorted by relevance

123

/drivers/isdn/mISDN/
Ddsp_tones.c236 int tone; member
379 struct dsp_tone *tone = &dsp->tone; in dsp_tone_copy() local
382 if (!tone->tone) { in dsp_tone_copy()
388 pat = (struct pattern *)tone->pattern; in dsp_tone_copy()
390 index = tone->index; /* gives current sequence index */ in dsp_tone_copy()
391 count = tone->count; /* gives current sample */ in dsp_tone_copy()
425 tone->index = index; in dsp_tone_copy()
426 tone->count = count; in dsp_tone_copy()
462 struct dsp *dsp = from_timer(dsp, t, tone.tl); in dsp_tone_timeout()
463 struct dsp_tone *tone = &dsp->tone; in dsp_tone_timeout() local
[all …]
Ddsp_core.c369 if (!dsp->tone.tone) in dsp_control_req()
893 if (!dsp->tone.tone) { in dsp_function()
926 dsp->tone.tone = 0; in dsp_function()
927 dsp->tone.hardware = 0; in dsp_function()
928 dsp->tone.software = 0; in dsp_function()
929 if (timer_pending(&dsp->tone.tl)) in dsp_function()
930 del_timer(&dsp->tone.tl); in dsp_function()
976 if (timer_pending(&dsp->tone.tl)) in dsp_ctrl()
977 del_timer(&dsp->tone.tl); in dsp_ctrl()
1092 timer_setup(&ndsp->tone.tl, dsp_tone_timeout, 0); in dspcreate()
Ddsp.h150 int tone; member
180 struct dsp_tone tone; member
260 extern int dsp_tone(struct dsp *dsp, int tone);
DKconfig22 echo cancellation, tone generation, and Blowfish encryption and
/drivers/media/pci/ddbridge/
Dddbridge-max.c62 v = LNB_TONE & (dev->link[link].lnb.tone << (15 - lnb)); in lnb_command()
127 enum fe_sec_tone_mode tone) in lnb_set_tone() argument
132 switch (tone) { in lnb_set_tone()
134 if (!(dev->link[link].lnb.tone & mask)) in lnb_set_tone()
136 dev->link[link].lnb.tone &= ~(1ULL << input); in lnb_set_tone()
139 if (dev->link[link].lnb.tone & mask) in lnb_set_tone()
141 dev->link[link].lnb.tone |= (1ULL << input); in lnb_set_tone()
202 static int max_set_tone(struct dvb_frontend *fe, enum fe_sec_tone_mode tone) in max_set_tone() argument
213 dvb->tone = tone; in max_set_tone()
218 res = lnb_set_tone(dev, port->lnr, dvb->input, tone); in max_set_tone()
[all …]
Dddbridge.h179 enum fe_sec_tone_mode tone; member
290 u32 tone; member
/drivers/media/dvb-frontends/
Dcx24123.c752 int i, val, tone; in cx24123_send_diseqc_msg() local
757 tone = cx24123_readreg(state, 0x29); in cx24123_send_diseqc_msg()
758 if (tone & 0x10) in cx24123_send_diseqc_msg()
759 cx24123_writereg(state, 0x29, tone & ~0x50); in cx24123_send_diseqc_msg()
778 if (tone & 0x10) in cx24123_send_diseqc_msg()
779 cx24123_writereg(state, 0x29, tone & ~0x40); in cx24123_send_diseqc_msg()
788 int val, tone; in cx24123_diseqc_send_burst() local
793 tone = cx24123_readreg(state, 0x29); in cx24123_diseqc_send_burst()
794 if (tone & 0x10) in cx24123_diseqc_send_burst()
795 cx24123_writereg(state, 0x29, tone & ~0x50); in cx24123_diseqc_send_burst()
[all …]
Dtda8083.c173 enum fe_sec_tone_mode tone) in tda8083_set_tone() argument
177 switch (tone) { in tda8083_set_tone()
383 enum fe_sec_tone_mode tone) in tda8083_diseqc_set_tone() argument
387 tda8083_set_tone (state, tone); in tda8083_diseqc_set_tone()
Dds3000.c656 static int ds3000_set_tone(struct dvb_frontend *fe, enum fe_sec_tone_mode tone) in ds3000_set_tone() argument
661 dprintk("%s(%d)\n", __func__, tone); in ds3000_set_tone()
662 if ((tone != SEC_TONE_ON) && (tone != SEC_TONE_OFF)) { in ds3000_set_tone()
663 printk(KERN_ERR "%s: Invalid, tone=%d\n", __func__, tone); in ds3000_set_tone()
671 switch (tone) { in ds3000_set_tone()
Dlnbp21.c78 enum fe_sec_tone_mode tone) in lnbp21_set_tone() argument
85 switch (tone) { in lnbp21_set_tone()
Disl6421.c143 enum fe_sec_tone_mode tone) in isl6421_set_tone() argument
150 switch (tone) { in isl6421_set_tone()
Dcx24116.c861 enum fe_sec_tone_mode tone) in cx24116_set_tone() argument
866 dprintk("%s(%d)\n", __func__, tone); in cx24116_set_tone()
867 if ((tone != SEC_TONE_ON) && (tone != SEC_TONE_OFF)) { in cx24116_set_tone()
868 printk(KERN_ERR "%s: Invalid, tone=%d\n", __func__, tone); in cx24116_set_tone()
885 switch (tone) { in cx24116_set_tone()
Dgp8psk-fe.c271 enum fe_sec_tone_mode tone) in gp8psk_fe_set_tone() argument
276 (tone == SEC_TONE_ON), 0, NULL, 0)) { in gp8psk_fe_set_tone()
Dstv0288.c184 static int stv0288_set_tone(struct dvb_frontend *fe, enum fe_sec_tone_mode tone) in stv0288_set_tone() argument
188 switch (tone) { in stv0288_set_tone()
Dcx24117.c951 enum fe_sec_tone_mode tone) in cx24117_set_tone() argument
958 __func__, state->demod, tone); in cx24117_set_tone()
959 if ((tone != SEC_TONE_ON) && (tone != SEC_TONE_OFF)) { in cx24117_set_tone()
961 KBUILD_MODNAME, state->demod, tone); in cx24117_set_tone()
979 switch (tone) { in cx24117_set_tone()
Dcx24120.c509 static int cx24120_set_tone(struct dvb_frontend *fe, enum fe_sec_tone_mode tone) in cx24120_set_tone() argument
514 dev_dbg(&state->i2c->dev, "(%d)\n", tone); in cx24120_set_tone()
516 if ((tone != SEC_TONE_ON) && (tone != SEC_TONE_OFF)) { in cx24120_set_tone()
517 err("Invalid tone=%d\n", tone); in cx24120_set_tone()
526 cmd.arg[3] = (tone == SEC_TONE_ON) ? 0x01 : 0x00; in cx24120_set_tone()
/drivers/media/firewire/
Dfiredtv-fe.c65 static int fdtv_set_tone(struct dvb_frontend *fe, enum fe_sec_tone_mode tone) in fdtv_set_tone() argument
69 fdtv->tone = tone; in fdtv_set_tone()
/drivers/staging/media/av7110/
Dbudget-patch.c116 enum fe_sec_tone_mode tone) in budget_set_tone() argument
120 switch (tone) { in budget_set_tone()
211 enum fe_sec_tone_mode tone) in budget_patch_set_tone() argument
215 switch (tone) { in budget_patch_set_tone()
/drivers/media/usb/dvb-usb/
Dvp702x-fe.c251 enum fe_sec_tone_mode tone) in vp702x_fe_set_tone() argument
259 st->tone_mode = tone; in vp702x_fe_set_tone()
261 if (tone == SEC_TONE_ON) in vp702x_fe_set_tone()
/drivers/media/usb/ttusb-dec/
Dttusbdecfe.c159 enum fe_sec_tone_mode tone) in ttusbdecfe_dvbs_set_tone() argument
163 state->hi_band = (SEC_TONE_ON == tone); in ttusbdecfe_dvbs_set_tone()
/drivers/accessibility/speakup/
Dspeakup_dtlk.h50 u_char tone; /* nX; 0-2 */ member
Dspeakup_dtlk.c70 __ATTR(tone, 0644, spk_var_show, spk_var_store);
305 status.tone = *t++; in synth_interrogate()
/drivers/media/common/b2c2/
Dflexcop-fe-tuner.c82 static int flexcop_set_tone(struct dvb_frontend *fe, enum fe_sec_tone_mode tone) in flexcop_set_tone() argument
89 deb_tuner("tone = %u\n",tone); in flexcop_set_tone()
91 switch (tone) { in flexcop_set_tone()
/drivers/media/pci/cx88/
Dcx88-dsp.c22 #define baseband_freq(carrier, srate, tone) ((s32)( \ argument
23 (compat_remainder(carrier + tone, srate)) / srate * 2 * INT_PI))
/drivers/media/pci/bt8xx/
Ddst_common.h108 enum fe_sec_tone_mode tone; member

123