Home
last modified time | relevance | path

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

/linux-4.1.27/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.1.27/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.1.27/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.c181 static int tda8083_set_tone (struct tda8083_state* state, fe_sec_tone_mode_t tone) in tda8083_set_tone() argument
185 switch (tone) { in tda8083_set_tone()
386 static int tda8083_diseqc_set_tone(struct dvb_frontend* fe, fe_sec_tone_mode_t tone) in tda8083_diseqc_set_tone() argument
390 tda8083_set_tone (state, tone); in tda8083_diseqc_set_tone()
Disl6421.c92 static int isl6421_set_tone(struct dvb_frontend* fe, fe_sec_tone_mode_t tone) in isl6421_set_tone() argument
99 switch (tone) { in isl6421_set_tone()
Dds3000.c669 static int ds3000_set_tone(struct dvb_frontend *fe, fe_sec_tone_mode_t tone) in ds3000_set_tone() argument
674 dprintk("%s(%d)\n", __func__, tone); in ds3000_set_tone()
675 if ((tone != SEC_TONE_ON) && (tone != SEC_TONE_OFF)) { in ds3000_set_tone()
676 printk(KERN_ERR "%s: Invalid, tone=%d\n", __func__, tone); in ds3000_set_tone()
684 switch (tone) { in ds3000_set_tone()
Dlnbp21.c95 fe_sec_tone_mode_t tone) in lnbp21_set_tone() argument
102 switch (tone) { in lnbp21_set_tone()
Dcx24116.c875 fe_sec_tone_mode_t tone) in cx24116_set_tone() argument
880 dprintk("%s(%d)\n", __func__, tone); in cx24116_set_tone()
881 if ((tone != SEC_TONE_ON) && (tone != SEC_TONE_OFF)) { in cx24116_set_tone()
882 printk(KERN_ERR "%s: Invalid, tone=%d\n", __func__, tone); in cx24116_set_tone()
899 switch (tone) { in cx24116_set_tone()
Dstv0288.c196 static int stv0288_set_tone(struct dvb_frontend *fe, fe_sec_tone_mode_t tone) in stv0288_set_tone() argument
200 switch (tone) { in stv0288_set_tone()
Dcx24117.c959 fe_sec_tone_mode_t tone) in cx24117_set_tone() argument
966 __func__, state->demod, tone); in cx24117_set_tone()
967 if ((tone != SEC_TONE_ON) && (tone != SEC_TONE_OFF)) { in cx24117_set_tone()
969 KBUILD_MODNAME, state->demod, tone); in cx24117_set_tone()
987 switch (tone) { in cx24117_set_tone()
Ddvb_dummy_fe.c100 static int dvb_dummy_fe_set_tone(struct dvb_frontend* fe, fe_sec_tone_mode_t tone) in dvb_dummy_fe_set_tone() argument
Dcx24110.c577 static int cx24110_set_tone(struct dvb_frontend* fe, fe_sec_tone_mode_t tone) in cx24110_set_tone() argument
581 …return cx24110_writereg(state,0x76,(cx24110_readreg(state,0x76)&~0x10)|(((tone==SEC_TONE_ON))?0x10… in cx24110_set_tone()
Dtda10071.c211 u8 tone; in tda10071_set_tone() local
223 tone = 1; in tda10071_set_tone()
226 tone = 0; in tda10071_set_tone()
239 cmd.args[4] = tone; in tda10071_set_tone()
Dm88ds3103.c1074 u8 u8tmp, tone, reg_a1_mask; in m88ds3103_set_tone() local
1086 tone = 0; in m88ds3103_set_tone()
1090 tone = 1; in m88ds3103_set_tone()
1100 u8tmp = tone << 7 | priv->cfg->envelope_mode << 5; in m88ds3103_set_tone()
Dsi21xx.c437 static int si21xx_set_tone(struct dvb_frontend *fe, fe_sec_tone_mode_t tone) in si21xx_set_tone() argument
445 switch (tone) { in si21xx_set_tone()
Dstv0299.c332 static int stv0299_set_tone (struct dvb_frontend* fe, fe_sec_tone_mode_t tone) in stv0299_set_tone() argument
342 switch (tone) { in stv0299_set_tone()
Dtda10086.c188 static int tda10086_set_tone (struct dvb_frontend* fe, fe_sec_tone_mode_t tone) in tda10086_set_tone() argument
198 switch (tone) { in tda10086_set_tone()
Dm88rs2000.c267 static int m88rs2000_set_tone(struct dvb_frontend *fe, fe_sec_tone_mode_t tone) in m88rs2000_set_tone() argument
277 switch (tone) { in m88rs2000_set_tone()
Ds5h1420.c152 static int s5h1420_set_tone (struct dvb_frontend* fe, fe_sec_tone_mode_t tone) in s5h1420_set_tone() argument
157 switch(tone) { in s5h1420_set_tone()
Dstb0899_drv.c1208 static int stb0899_set_tone(struct dvb_frontend *fe, fe_sec_tone_mode_t tone) in stb0899_set_tone() argument
1219 switch (tone) { in stb0899_set_tone()
Dmb86a16.c1593 static int mb86a16_set_tone(struct dvb_frontend *fe, fe_sec_tone_mode_t tone) in mb86a16_set_tone() argument
1597 switch (tone) { in mb86a16_set_tone()
Dstv090x.c3735 static int stv090x_set_tone(struct dvb_frontend *fe, fe_sec_tone_mode_t tone) in stv090x_set_tone() argument
3741 switch (tone) { in stv090x_set_tone()
/linux-4.1.27/drivers/media/firewire/
Dfiredtv-fe.c69 static int fdtv_set_tone(struct dvb_frontend *fe, fe_sec_tone_mode_t tone) in fdtv_set_tone() argument
73 fdtv->tone = tone; in fdtv_set_tone()
Dfiredtv.h103 fe_sec_tone_mode_t 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.1.27/include/linux/
Ddtlk.h74 unsigned char tone; /* nX; 0-2 */ member
/linux-4.1.27/drivers/staging/speakup/
Dspeakup_dtlk.h43 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_txprt.c55 __ATTR(tone, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
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_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.c76 __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.1.27/drivers/media/usb/dvb-usb/
Dvp702x-fe.c252 static int vp702x_fe_set_tone(struct dvb_frontend* fe, fe_sec_tone_mode_t tone) in vp702x_fe_set_tone() argument
260 st->tone_mode = tone; in vp702x_fe_set_tone()
262 if (tone == SEC_TONE_ON) in vp702x_fe_set_tone()
Dgp8psk-fe.c257 static int gp8psk_fe_set_tone (struct dvb_frontend* fe, fe_sec_tone_mode_t tone) in gp8psk_fe_set_tone() argument
262 (tone == SEC_TONE_ON), 0, NULL, 0)) { in gp8psk_fe_set_tone()
/linux-4.1.27/drivers/media/pci/ttpci/
Dbudget-patch.c133 static int budget_set_tone(struct dvb_frontend* fe, fe_sec_tone_mode_t tone) in budget_set_tone() argument
137 switch (tone) { in budget_set_tone()
226 static int budget_patch_set_tone(struct dvb_frontend* fe, fe_sec_tone_mode_t tone) in budget_patch_set_tone() argument
230 switch (tone) { in budget_patch_set_tone()
Dav7110.h288 int (*fe_set_tone)(struct dvb_frontend* fe, fe_sec_tone_mode_t tone);
Dbudget.c167 static int budget_set_tone(struct dvb_frontend* fe, fe_sec_tone_mode_t tone) in budget_set_tone() argument
171 switch (tone) { in budget_set_tone()
Dav7110.c1175 static int av7110_set_tone(struct dvb_frontend* fe, fe_sec_tone_mode_t tone) in av7110_set_tone() argument
1179 switch (tone) { in av7110_set_tone()
2058 static int av7110_fe_set_tone(struct dvb_frontend* fe, fe_sec_tone_mode_t 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.1.27/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.1.27/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.1.27/drivers/media/usb/ttusb-dec/
Dttusbdecfe.c172 static int ttusbdecfe_dvbs_set_tone(struct dvb_frontend* fe, fe_sec_tone_mode_t tone) in ttusbdecfe_dvbs_set_tone() argument
176 state->hi_band = (SEC_TONE_ON == tone); in ttusbdecfe_dvbs_set_tone()
/linux-4.1.27/drivers/media/common/b2c2/
Dflexcop-fe-tuner.c70 static int flexcop_set_tone(struct dvb_frontend *fe, fe_sec_tone_mode_t tone) in flexcop_set_tone() argument
77 deb_tuner("tone = %u\n",tone); in flexcop_set_tone()
79 switch (tone) { in flexcop_set_tone()
/linux-4.1.27/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.c900 fe_sec_tone_mode_t tone) in samsung_smt_7020_set_tone() argument
907 switch (tone) { in samsung_smt_7020_set_tone()
/linux-4.1.27/drivers/media/pci/bt8xx/
Ddst_common.h120 fe_sec_tone_mode_t tone; member
Ddst.c1503 static int dst_set_tone(struct dvb_frontend *fe, fe_sec_tone_mode_t tone) in dst_set_tone() argument
1507 state->tone = tone; in dst_set_tone()
1511 switch (tone) { in dst_set_tone()
1561 state->tone = SEC_TONE_OFF; in bt8xx_dst_init()
/linux-4.1.27/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.1.27/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.1.27/drivers/media/usb/ttusb-budget/
Ddvb-ttusb-budget.c114 fe_sec_tone_mode_t tone; member
501 ttusb->tone == SEC_TONE_ON ? 1 : 0, 1, 1 in ttusb_update_lnb()
523 static int ttusb_set_tone(struct dvb_frontend* fe, fe_sec_tone_mode_t tone) in ttusb_set_tone() argument
527 ttusb->tone = tone; in ttusb_set_tone()
/linux-4.1.27/Documentation/sound/oss/
DREADME.ymfsb59 hardware restriction). So many players become tone deafness.
/linux-4.1.27/Documentation/sound/alsa/
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.
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.
DALSA-Configuration.txt1205 port_tc - tone control (i2c bus) port # for TEA6330T chip (0x350,0x360,0x370,0x380)
/linux-4.1.27/drivers/media/dvb-core/
Ddvb_frontend.h302 int (*set_tone)(struct dvb_frontend* fe, fe_sec_tone_mode_t tone);
Ddvb_frontend.c117 int tone; member
752 if (fe->ops.set_tone && fepriv->tone != -1) in dvb_frontend_thread()
753 fe->ops.set_tone(fe, fepriv->tone); in dvb_frontend_thread()
2423 fepriv->tone = (fe_sec_tone_mode_t) parg; in dvb_frontend_ioctl_legacy()
2624 fepriv->tone = -1; in dvb_frontend_open()
/linux-4.1.27/drivers/char/
Ddtlk.c553 status.tone = *t++; in dtlk_interrogate()
/linux-4.1.27/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.1.27/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()