Home
last modified time | relevance | path

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

/linux-4.4.14/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()
463 struct dsp_tone *tone = &dsp->tone; in dsp_tone_timeout() local
464 struct pattern *pat = (struct pattern *)tone->pattern; in dsp_tone_timeout()
[all …]
Ddsp_core.c371 if (!dsp->tone.tone) in dsp_control_req()
895 if (!dsp->tone.tone) { in dsp_function()
928 dsp->tone.tone = 0; in dsp_function()
929 dsp->tone.hardware = 0; in dsp_function()
930 dsp->tone.software = 0; in dsp_function()
931 if (timer_pending(&dsp->tone.tl)) in dsp_function()
932 del_timer(&dsp->tone.tl); in dsp_function()
979 if (timer_pending(&dsp->tone.tl)) in dsp_ctrl()
980 del_timer(&dsp->tone.tl); in dsp_ctrl()
1095 ndsp->tone.tl.function = (void *)dsp_tone_timeout; in dspcreate()
[all …]
Ddsp.h150 int tone; member
180 struct dsp_tone tone; member
260 extern int dsp_tone(struct dsp *dsp, int tone);
DKconfig20 echo cancellation, tone generation, and Blowfish encryption and
Ddsp_cmx.c1329 !(dsp->tone.tone && dsp->tone.software)) { /* AND not soft tones */
1383 if (dsp->tone.tone && dsp->tone.software) {
/linux-4.4.14/sound/pci/hda/
Dhda_beep.c37 static void generate_tone(struct hda_beep *beep, int tone) in generate_tone() argument
41 if (tone && !beep->playing) { in generate_tone()
48 AC_VERB_SET_BEEP_CONTROL, tone); in generate_tone()
49 if (!tone && beep->playing) { in generate_tone()
63 generate_tone(beep, beep->tone); in snd_hda_generate_beep()
121 beep->tone = beep_linear_tone(beep, hz); in snd_hda_beep_event()
123 beep->tone = beep_standard_tone(beep, hz); in snd_hda_beep_event()
Dhda_beep.h35 int tone; member
/linux-4.4.14/drivers/media/dvb-frontends/
Dcx24123.c765 int i, val, tone; in cx24123_send_diseqc_msg() local
770 tone = cx24123_readreg(state, 0x29); in cx24123_send_diseqc_msg()
771 if (tone & 0x10) in cx24123_send_diseqc_msg()
772 cx24123_writereg(state, 0x29, tone & ~0x50); in cx24123_send_diseqc_msg()
791 if (tone & 0x10) in cx24123_send_diseqc_msg()
792 cx24123_writereg(state, 0x29, tone & ~0x40); in cx24123_send_diseqc_msg()
801 int val, tone; in cx24123_diseqc_send_burst() local
806 tone = cx24123_readreg(state, 0x29); in cx24123_diseqc_send_burst()
807 if (tone & 0x10) in cx24123_diseqc_send_burst()
808 cx24123_writereg(state, 0x29, tone & ~0x50); in cx24123_diseqc_send_burst()
[all …]
Dtda8083.c185 enum fe_sec_tone_mode tone) in tda8083_set_tone() argument
189 switch (tone) { in tda8083_set_tone()
395 enum fe_sec_tone_mode tone) in tda8083_diseqc_set_tone() argument
399 tda8083_set_tone (state, tone); in tda8083_diseqc_set_tone()
Disl6421.c94 enum fe_sec_tone_mode tone) in isl6421_set_tone() argument
101 switch (tone) { in isl6421_set_tone()
Dds3000.c670 static int ds3000_set_tone(struct dvb_frontend *fe, enum fe_sec_tone_mode tone) in ds3000_set_tone() argument
675 dprintk("%s(%d)\n", __func__, tone); in ds3000_set_tone()
676 if ((tone != SEC_TONE_ON) && (tone != SEC_TONE_OFF)) { in ds3000_set_tone()
677 printk(KERN_ERR "%s: Invalid, tone=%d\n", __func__, tone); in ds3000_set_tone()
685 switch (tone) { in ds3000_set_tone()
Dlnbp21.c95 enum fe_sec_tone_mode tone) in lnbp21_set_tone() argument
102 switch (tone) { in lnbp21_set_tone()
Dcx24116.c877 enum fe_sec_tone_mode tone) in cx24116_set_tone() argument
882 dprintk("%s(%d)\n", __func__, tone); in cx24116_set_tone()
883 if ((tone != SEC_TONE_ON) && (tone != SEC_TONE_OFF)) { in cx24116_set_tone()
884 printk(KERN_ERR "%s: Invalid, tone=%d\n", __func__, tone); in cx24116_set_tone()
901 switch (tone) { in cx24116_set_tone()
Dstv0288.c196 static int stv0288_set_tone(struct dvb_frontend *fe, enum fe_sec_tone_mode tone) in stv0288_set_tone() argument
200 switch (tone) { in stv0288_set_tone()
Dcx24117.c961 enum fe_sec_tone_mode tone) in cx24117_set_tone() argument
968 __func__, state->demod, tone); in cx24117_set_tone()
969 if ((tone != SEC_TONE_ON) && (tone != SEC_TONE_OFF)) { in cx24117_set_tone()
971 KBUILD_MODNAME, state->demod, tone); in cx24117_set_tone()
989 switch (tone) { in cx24117_set_tone()
Dcx24120.c516 static int cx24120_set_tone(struct dvb_frontend *fe, enum fe_sec_tone_mode tone) in cx24120_set_tone() argument
521 dev_dbg(&state->i2c->dev, "(%d)\n", tone); in cx24120_set_tone()
523 if ((tone != SEC_TONE_ON) && (tone != SEC_TONE_OFF)) { in cx24120_set_tone()
524 err("Invalid tone=%d\n", tone); in cx24120_set_tone()
533 cmd.arg[3] = (tone == SEC_TONE_ON) ? 0x01 : 0x00; in cx24120_set_tone()
Ddvb_dummy_fe.c102 enum fe_sec_tone_mode tone) in dvb_dummy_fe_set_tone() argument
Dcx24110.c582 enum fe_sec_tone_mode tone) in cx24110_set_tone() argument
586 …return cx24110_writereg(state,0x76,(cx24110_readreg(state,0x76)&~0x10)|(((tone==SEC_TONE_ON))?0x10… in cx24110_set_tone()
Dtda10071.c108 u8 tone; in tda10071_set_tone() local
119 tone = 1; in tda10071_set_tone()
122 tone = 0; in tda10071_set_tone()
134 cmd.args[4] = tone; in tda10071_set_tone()
Dm88ds3103.c991 unsigned int utmp, tone, reg_a1_mask; in m88ds3103_set_tone() local
1002 tone = 0; in m88ds3103_set_tone()
1006 tone = 1; in m88ds3103_set_tone()
1015 utmp = tone << 7 | dev->cfg->envelope_mode << 5; in m88ds3103_set_tone()
Dsi21xx.c437 static int si21xx_set_tone(struct dvb_frontend *fe, enum fe_sec_tone_mode tone) in si21xx_set_tone() argument
445 switch (tone) { in si21xx_set_tone()
Dtda10086.c189 enum fe_sec_tone_mode tone) in tda10086_set_tone() argument
199 switch (tone) { in tda10086_set_tone()
Dstv0299.c335 enum fe_sec_tone_mode tone) in stv0299_set_tone() argument
345 switch (tone) { in stv0299_set_tone()
Dm88rs2000.c268 enum fe_sec_tone_mode tone) in m88rs2000_set_tone() argument
278 switch (tone) { in m88rs2000_set_tone()
Ds5h1420.c154 enum fe_sec_tone_mode tone) in s5h1420_set_tone() argument
159 switch(tone) { in s5h1420_set_tone()
Dstb0899_drv.c1210 static int stb0899_set_tone(struct dvb_frontend *fe, enum fe_sec_tone_mode tone) in stb0899_set_tone() argument
1221 switch (tone) { in stb0899_set_tone()
Dcxd2841er.c2425 enum fe_sec_tone_mode tone) in cxd2841er_set_tone() argument
2431 (tone == SEC_TONE_ON ? "On" : "Off")); in cxd2841er_set_tone()
2438 data = (tone == SEC_TONE_ON ? 1 : 0); in cxd2841er_set_tone()
Dmb86a16.c1594 static int mb86a16_set_tone(struct dvb_frontend *fe, enum fe_sec_tone_mode tone) in mb86a16_set_tone() argument
1598 switch (tone) { in mb86a16_set_tone()
Dstv090x.c3735 static int stv090x_set_tone(struct dvb_frontend *fe, enum fe_sec_tone_mode tone) in stv090x_set_tone() argument
3741 switch (tone) { in stv090x_set_tone()
/linux-4.4.14/drivers/media/firewire/
Dfiredtv-fe.c69 static int fdtv_set_tone(struct dvb_frontend *fe, enum fe_sec_tone_mode tone) in fdtv_set_tone() argument
73 fdtv->tone = tone; in fdtv_set_tone()
Dfiredtv.h103 enum fe_sec_tone_mode tone; member
Dfiredtv-fw.c265 fdtv->tone = 0xff; in node_probe()
Dfiredtv-avc.c379 if (fdtv->tone == 0xff) in avc_tuner_tuneqpsk()
381 else if (fdtv->tone == SEC_TONE_ON) /* band */ in avc_tuner_tuneqpsk()
/linux-4.4.14/include/linux/
Ddtlk.h74 unsigned char tone; /* nX; 0-2 */ member
/linux-4.4.14/drivers/staging/speakup/
Dspeakup_dtlk.h49 u_char tone; /* nX; 0-2 */ member
Dspeakup_dtlk.c82 __ATTR(tone, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
315 status.tone = *t++; in synth_interrogate()
Dspeakup_bns.c55 __ATTR(tone, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
Dspeakup_dummy.c57 __ATTR(tone, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
Dspeakup_txprt.c55 __ATTR(tone, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
Dspeakup_spkout.c61 __ATTR(tone, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
Dspeakup_acntsa.c58 __ATTR(tone, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
Dspeakup_ltlk.c65 __ATTR(tone, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
Dspeakup_audptr.c62 __ATTR(tone, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
Dspeakup_acntpc.c73 __ATTR(tone, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
Dspeakup_soft.c77 __ATTR(tone, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
Dspkguide.txt411 tone
1398 the substance and tone of each of the contributor acknowledgements
/linux-4.4.14/drivers/media/usb/dvb-usb/
Dvp702x-fe.c255 enum fe_sec_tone_mode tone) in vp702x_fe_set_tone() argument
263 st->tone_mode = tone; in vp702x_fe_set_tone()
265 if (tone == SEC_TONE_ON) in vp702x_fe_set_tone()
Dgp8psk-fe.c259 enum fe_sec_tone_mode tone) in gp8psk_fe_set_tone() argument
264 (tone == SEC_TONE_ON), 0, NULL, 0)) { in gp8psk_fe_set_tone()
/linux-4.4.14/drivers/media/pci/ttpci/
Dbudget-patch.c133 enum fe_sec_tone_mode tone) in budget_set_tone() argument
137 switch (tone) { in budget_set_tone()
228 enum fe_sec_tone_mode tone) in budget_patch_set_tone() argument
232 switch (tone) { in budget_patch_set_tone()
Dav7110.h291 enum fe_sec_tone_mode tone);
Dbudget.c170 enum fe_sec_tone_mode tone) in budget_set_tone() argument
174 switch (tone) { in budget_set_tone()
Dav7110.c1172 static int av7110_set_tone(struct dvb_frontend *fe, enum fe_sec_tone_mode tone) in av7110_set_tone() argument
1176 switch (tone) { in av7110_set_tone()
2058 enum fe_sec_tone_mode tone) in av7110_fe_set_tone() argument
2064 av7110->saved_tone = tone; in av7110_fe_set_tone()
2065 ret = av7110->fe_set_tone(fe, tone); in av7110_fe_set_tone()
/linux-4.4.14/Documentation/video4linux/
Dsi4713.txt91 * Pilot is an audible tone sent by the device.
93 pilot_frequency - Configures the frequency of the stereo pilot tone.
94 pilot_deviation - Configures pilot tone frequency deviation level.
95 pilot_enabled - Enables or disables the pilot tone feature.
Dvivid.txt510 1 kHz tone that has an amplitude of sqrt(2).
/linux-4.4.14/Documentation/isdn/
DREADME.audio67 y = 0 ... 255 tone duration in units of 5ms.
123 <DLE>c FAX calling tone received.
124 <DLE>b busy tone received.
DREADME188 11 70 Touch tone timing (ignored).
/linux-4.4.14/drivers/media/usb/ttusb-dec/
Dttusbdecfe.c173 enum fe_sec_tone_mode tone) in ttusbdecfe_dvbs_set_tone() argument
177 state->hi_band = (SEC_TONE_ON == tone); in ttusbdecfe_dvbs_set_tone()
/linux-4.4.14/drivers/media/pci/cx88/
Dcx88-dsp.c36 #define baseband_freq(carrier, srate, tone) ((s32)( \ argument
37 (compat_remainder(carrier + tone, srate)) / srate * 2 * INT_PI))
Dcx88-dvb.c903 enum fe_sec_tone_mode tone) in samsung_smt_7020_set_tone() argument
910 switch (tone) { in samsung_smt_7020_set_tone()
/linux-4.4.14/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()
/linux-4.4.14/drivers/media/pci/bt8xx/
Ddst_common.h120 enum fe_sec_tone_mode tone; member
Ddst.c1506 static int dst_set_tone(struct dvb_frontend *fe, enum fe_sec_tone_mode tone) in dst_set_tone() argument
1510 state->tone = tone; in dst_set_tone()
1514 switch (tone) { in dst_set_tone()
1564 state->tone = SEC_TONE_OFF; in bt8xx_dst_init()
/linux-4.4.14/sound/drivers/opl4/
Dopl4_local.h135 u16 tone; member
Dopl4_synth.c517 (sound[i]->tone >> 8) & OPL4_TONE_NUMBER_BIT8; in snd_opl4_note_on()
521 sound[i]->tone & 0xff); in snd_opl4_note_on()
/linux-4.4.14/drivers/media/i2c/m5mols/
Dm5mols.h127 u8 tone; member
Dm5mols_controls.c168 ret = m5mols_write(sd, MON_TONE_CTL, scenemode.tone); in m5mols_do_scenemode()
/linux-4.4.14/drivers/media/usb/ttusb-budget/
Ddvb-ttusb-budget.c114 enum fe_sec_tone_mode tone; member
501 ttusb->tone == SEC_TONE_ON ? 1 : 0, 1, 1 in ttusb_update_lnb()
524 static int ttusb_set_tone(struct dvb_frontend *fe, enum fe_sec_tone_mode tone) in ttusb_set_tone() argument
528 ttusb->tone = tone; in ttusb_set_tone()
/linux-4.4.14/Documentation/sound/oss/
DREADME.ymfsb59 hardware restriction). So many players become tone deafness.
/linux-4.4.14/drivers/media/dvb-core/
Ddvb_frontend.h460 int (*set_tone)(struct dvb_frontend *fe, enum fe_sec_tone_mode tone);
Ddvb_frontend.c117 int tone; member
753 if (fe->ops.set_tone && fepriv->tone != -1) in dvb_frontend_thread()
754 fe->ops.set_tone(fe, fepriv->tone); in dvb_frontend_thread()
2411 fepriv->tone = (enum fe_sec_tone_mode)parg; in dvb_frontend_ioctl_legacy()
2615 fepriv->tone = -1; in dvb_frontend_open()
/linux-4.4.14/Documentation/sound/alsa/
DAudigy-mixer.txt191 This control turns the tone control on or off. The samples for front, rear
197 When the tone control code is activated, the samples are always modified.
203 When the tone control code is activated, the samples are always modified.
DSB-Live-mixer.txt215 This control turns the tone control on or off. The samples for front, rear
221 When the tone control code is activated, the samples are always modified.
227 When the tone control code is activated, the samples are always modified.
DALSA-Configuration.txt1205 port_tc - tone control (i2c bus) port # for TEA6330T chip (0x350,0x360,0x370,0x380)
/linux-4.4.14/drivers/char/
Ddtlk.c553 status.tone = *t++; in dtlk_interrogate()
/linux-4.4.14/sound/pci/asihpi/
Dhpicmn.c427 phr->u.c.param1 = pC->u.tone.state; in hpi_check_control_cache_single()
Dhpi_internal.h1360 struct hpi_control_cache_tonedetector tone; member
/linux-4.4.14/drivers/net/wireless/b43/
Dphy_n.c4607 int tone[2] = { 57, 58 }; in b43_nphy_spur_workaround() local
4626 tone[0] = 0x20; in b43_nphy_spur_workaround()
4630 tone[0] = 0x20; in b43_nphy_spur_workaround()
4633 tone[0] = 0; in b43_nphy_spur_workaround()
4637 tone[0] = 0x20; in b43_nphy_spur_workaround()
4640 tone[0] = 0x10; in b43_nphy_spur_workaround()
4643 tone[0] = 0x30; in b43_nphy_spur_workaround()
4646 tone[0] = 0; in b43_nphy_spur_workaround()
4650 if (!tone[0] && !noise[0]) in b43_nphy_spur_workaround()