Home
last modified time | relevance | path

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

12345

/openbmc/linux/drivers/isdn/mISDN/
H A 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 …]
H A 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()
H A Ddsp.h150 int tone; member
180 struct dsp_tone tone; member
260 extern int dsp_tone(struct dsp *dsp, int tone);
/openbmc/linux/Documentation/userspace-api/media/dvb/
H A Dfe-set-tone.rst13 FE_SET_TONE - Sets/resets the generation of the continuous 22kHz tone.
20 ``int ioctl(int fd, FE_SET_TONE, enum fe_sec_tone_mode tone)``
28 ``tone``
34 This ioctl is used to set the generation of the continuous 22kHz tone.
38 to send a 22kHz tone in order to select between high/low band on some
43 setting a tone may interfere on other devices, as they may lose the
H A Dfe-diseqc-send-burst.rst13 FE_DISEQC_SEND_BURST - Sends a 22KHz tone burst for 2x1 mini DiSEqC satellite selection.
20 ``int ioctl(int fd, FE_DISEQC_SEND_BURST, enum fe_sec_mini_cmd tone)``
28 ``tone``
34 This ioctl is used to set the generation of a 22kHz tone burst for mini
/openbmc/linux/drivers/media/pci/ddbridge/
H A Dddbridge-max.c53 v = LNB_TONE & (dev->link[link].lnb.tone << (15 - lnb)); in lnb_command()
118 enum fe_sec_tone_mode tone) in lnb_set_tone() argument
123 switch (tone) { in lnb_set_tone()
125 if (!(dev->link[link].lnb.tone & mask)) in lnb_set_tone()
127 dev->link[link].lnb.tone &= ~(1ULL << input); in lnb_set_tone()
130 if (dev->link[link].lnb.tone & mask) in lnb_set_tone()
132 dev->link[link].lnb.tone |= (1ULL << input); in lnb_set_tone()
193 static int max_set_tone(struct dvb_frontend *fe, enum fe_sec_tone_mode tone) in max_set_tone() argument
204 dvb->tone = tone; in max_set_tone()
209 res = lnb_set_tone(dev, port->lnr, dvb->input, tone); in max_set_tone()
[all …]
/openbmc/linux/sound/pci/hda/
H A Dhda_beep.c24 static void generate_tone(struct hda_beep *beep, int tone) in generate_tone() argument
28 if (tone && !beep->playing) { in generate_tone()
35 AC_VERB_SET_BEEP_CONTROL, tone); in generate_tone()
36 if (!tone && beep->playing) { in generate_tone()
50 generate_tone(beep, beep->tone); in snd_hda_generate_beep()
108 beep->tone = beep_linear_tone(beep, hz); in snd_hda_beep_event()
110 beep->tone = beep_standard_tone(beep, hz); in snd_hda_beep_event()
/openbmc/linux/drivers/media/dvb-frontends/
H A 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 …]
H A 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()
H A 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()
H A Dlnbp21.c78 enum fe_sec_tone_mode tone) in lnbp21_set_tone() argument
85 switch (tone) { in lnbp21_set_tone()
H A Disl6421.c143 enum fe_sec_tone_mode tone) in isl6421_set_tone() argument
150 switch (tone) { in isl6421_set_tone()
/openbmc/linux/drivers/accessibility/speakup/
H A Dspeakup_bns.c51 __ATTR(tone, 0644, spk_var_show, spk_var_store);
128 module_param_named(tone, vars[TONE_ID].u.n.default_val, int, 0444);
138 MODULE_PARM_DESC(tone, "Set the tone variable on load.");
H A Dspeakup_txprt.c56 __ATTR(tone, 0644, spk_var_show, spk_var_store);
133 module_param_named(tone, vars[TONE_ID].u.n.default_val, int, 0444);
144 MODULE_PARM_DESC(tone, "Set the tone variable on load.");
H A Dspeakup_spkout.c57 __ATTR(tone, 0644, spk_var_show, spk_var_store);
140 module_param_named(tone, vars[TONE_ID].u.n.default_val, int, 0444);
151 MODULE_PARM_DESC(tone, "Set the tone variable on load.");
H A Dspeakup_acntsa.c55 __ATTR(tone, 0644, spk_var_show, spk_var_store);
145 module_param_named(tone, vars[TONE_ID].u.n.default_val, int, 0444);
154 MODULE_PARM_DESC(tone, "Set the tone variable on load.");
H A Dspeakup_dummy.c64 __ATTR(tone, 0644, spk_var_show, spk_var_store);
149 module_param_named(tone, vars[TONE_ID].u.n.default_val, int, 0444);
163 MODULE_PARM_DESC(tone, "Set the tone variable on load.");
H A Dspeakup_audptr.c57 __ATTR(tone, 0644, spk_var_show, spk_var_store);
173 module_param_named(tone, vars[TONE_ID].u.n.default_val, int, 0444);
185 MODULE_PARM_DESC(tone, "Set the tone variable on load.");
H A Dspeakup_ltlk.c62 __ATTR(tone, 0644, spk_var_show, spk_var_store);
177 module_param_named(tone, vars[TONE_ID].u.n.default_val, int, 0444);
192 MODULE_PARM_DESC(tone, "Set the tone variable on load.");
H A Dspeakup_dtlk.c80 __ATTR(tone, 0644, spk_var_show, spk_var_store);
315 status.tone = *t++; in synth_interrogate()
392 module_param_named(tone, vars[TONE_ID].u.n.default_val, int, 0444);
404 MODULE_PARM_DESC(tone, "Set the tone variable on load.");
H A Dspeakup_acntpc.c69 __ATTR(tone, 0644, spk_var_show, spk_var_store);
320 module_param_named(tone, vars[TONE_ID].u.n.default_val, int, 0444);
330 MODULE_PARM_DESC(tone, "Set the tone variable on load.");
/openbmc/linux/drivers/media/firewire/
H A 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()
/openbmc/linux/drivers/staging/media/av7110/
H A 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()
/openbmc/linux/drivers/media/usb/dvb-usb/
H A 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()
/openbmc/linux/Documentation/userspace-api/media/v4l/
H A Dext-ctrls-fm-tx.rst11 parameters for audio compression, pilot tone generation, audio deviation
136 Enables or disables the pilot tone generation feature.
139 Configures pilot tone frequency deviation level. Unit is in Hz. The
143 Configures pilot tone frequency value. Unit is in Hz. The range and

12345