Home
last modified time | relevance | path

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

1234

/linux-6.12.1/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.c370 if (!dsp->tone.tone) in dsp_control_req()
894 if (!dsp->tone.tone) { in dsp_function()
927 dsp->tone.tone = 0; in dsp_function()
928 dsp->tone.hardware = 0; in dsp_function()
929 dsp->tone.software = 0; in dsp_function()
930 if (timer_pending(&dsp->tone.tl)) in dsp_function()
931 del_timer(&dsp->tone.tl); in dsp_function()
977 if (timer_pending(&dsp->tone.tl)) in dsp_ctrl()
978 del_timer(&dsp->tone.tl); in dsp_ctrl()
1093 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);
/linux-6.12.1/Documentation/userspace-api/media/dvb/
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
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
/linux-6.12.1/drivers/media/pci/ddbridge/
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 …]
/linux-6.12.1/sound/pci/hda/
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()
/linux-6.12.1/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()
/linux-6.12.1/drivers/accessibility/speakup/
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.");
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.");
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.");
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.");
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.");
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.");
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.");
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.");
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.");
/linux-6.12.1/Documentation/ABI/testing/
Ddebugfs-iio-ad946736 Writing to this file will initiate one of available test tone on
38 where an IIO backend is available and supports the test tone,
/linux-6.12.1/drivers/iio/dac/
Dadi-axi-dac.c474 int ret, tone; in axi_dac_set_sample_rate() local
495 for (tone = 0; tone <= AXI_DAC_FREQ_TONE_2; tone++) { in axi_dac_set_sample_rate()
496 ret = __axi_dac_frequency_get(st, chan, tone, &freq); in axi_dac_set_sample_rate()
500 ret = __axi_dac_frequency_set(st, chan, sample_rate, tone, freq); in axi_dac_set_sample_rate()
/linux-6.12.1/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()
/linux-6.12.1/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()

1234