Home
last modified time | relevance | path

Searched full:tone (Results 1 – 25 of 247) sorted by relevance

12345678910

/linux/drivers/isdn/mISDN/
H A Ddsp_tones.c232 * tone sequence definition *
236 int tone; member
359 * copy tone data *
365 * memcpy per function call, or two memcpy if the tone sequence changes.
373 * if tones has finished (e.g. knocking tone), dsp->tones is turned off
379 struct dsp_tone *tone = &dsp->tone; in dsp_tone_copy() local
381 /* if we have no tone, we copy silence */ in dsp_tone_copy()
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()
[all …]
H A Ddsp_core.c12 * Real-time tone generation
353 case DSP_TONE_PATT_ON: /* play tone */ in dsp_control_req()
363 printk(KERN_DEBUG "%s: turn tone 0x%x on\n", in dsp_control_req()
370 if (!dsp->tone.tone) in dsp_control_req()
373 case DSP_TONE_PATT_OFF: /* stop tone */ in dsp_control_req()
379 printk(KERN_DEBUG "%s: turn tone off\n", __func__); in dsp_control_req()
893 /* send data to tx-buffer (if no tone is played) */ in dsp_function()
894 if (!dsp->tone.tone) { in dsp_function()
927 dsp->tone.tone = 0; in dsp_function()
928 dsp->tone.hardware = 0; in dsp_function()
[all …]
H A Ddsp_ecdis.h7 * 2100Hz echo cancellor disable tone.
62 the notch (i.e. overall channel energy - tone energy => noise). in echo_can_disable_detector_update()
73 /* The notch says yes, so we have the tone. */ in echo_can_disable_detector_update()
/linux/sound/pci/hda/
H A Dhda_beep.c23 /* generate or stop tone */
24 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()
53 /* (non-standard) Linear beep tone calculation for IDT/STAC codecs
55 * The tone frequency of beep generator on IDT/STAC codecs is
56 * defined from the 8bit tone parameter, in Hz,
57 * freq = 48000 * (257 - tone) / 1024
[all …]
H A Dhda_beep.h22 int tone; member
26 unsigned int linear_tone:1; /* linear tone for IDT/STAC codec */
/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
/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 …]
/linux/drivers/media/dvb-frontends/
H A Dcx24123.c209 {0x2b, 0x73}, /* DiSEqC Tone Frequency (default) */
219 {0x35, 0x03}, /* DiSEqC Tone Amplitude (default) */
752 int i, val, tone; in cx24123_send_diseqc_msg() local
756 /* stop continuous tone if enabled */ in cx24123_send_diseqc_msg()
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()
764 /* select tone mode */ in cx24123_send_diseqc_msg()
777 /* restart continuous tone if enabled */ in cx24123_send_diseqc_msg()
778 if (tone & 0x10) in cx24123_send_diseqc_msg()
[all …]
H A Dlnbh25.h18 /* 22 kHz tone enabled. Tone output controlled by DSQIN pin */
20 /* Low power mode activated (used only with 22 kHz tone output disabled) */
/linux/drivers/accessibility/speakup/
H A Dspeakup_dummy.c42 [TONE_ID] = { TONE, .u.n = {"TONE %d\n", 8, 0, 16, 0, 0, NULL } },
64 __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_bns.c34 [TONE_ID] = { TONE, .u.n = {"\x05%dT", 8, 0, 16, 0, 0, NULL } },
51 __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.c40 [TONE_ID] = { TONE, .u.n = {"\x05T%c", 12, 0, 25, 61, 0, NULL } },
56 __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.c38 [TONE_ID] = { TONE, .u.n = {"\x05T%c", 8, 0, 25, 65, 0, NULL } },
57 __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.c38 [TONE_ID] = { TONE, .u.n = {"\033V%d", 5, 0, 9, 0, 0, NULL } },
55 __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_audptr.c37 [TONE_ID] = { TONE, .u.n = {"\x05[s%d]", 9, 0, 63, 0, 0, NULL } },
57 __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.c38 [TONE_ID] = { TONE, .u.n = {"\x01%dx", 1, 0, 2, 0, 0, NULL } },
62 __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_acntpc.c52 [TONE_ID] = { TONE, .u.n = {"\033V%d", 5, 0, 9, 0, 0, NULL } },
69 __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/Documentation/devicetree/bindings/media/
H A Dmediatek,mdp3-tcc.yaml7 title: MediaTek Media Data Path 3 Tone Curve Conversion
13 Tone Curve Conversion (TCC) is one of Media Profile Path 3 (MDP3) components.
14 It is used to handle the tone mapping of various gamma curves in order to
/linux/drivers/media/test-drivers/vidtv/
H A Dvidtv_s302m.h36 * @last_duration: Duration of the tone currently being played
37 * @note_offset: Position at the music tone array
38 * @last_tone: Tone currently being played
/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
/linux/Documentation/ABI/testing/
H A 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/Documentation/sound/cards/
H A Demu-mixer.rst180 name='Tone Control - Switch',index=0
182 This control turns the tone control on or off. The samples forwarded to
185 name='Tone Control - Bass',index=0
188 When the tone control code is activated, the samples are always modified.
191 name='Tone Control - Treble',index=0
194 When the tone control code is activated, the samples are always modified.
/linux/drivers/staging/media/atomisp/pci/isp/kernels/ctc/ctc_1.0/
H A Dia_css_ctc_types.h22 * CSS-API header file for Chroma Tone Control parameters.
53 /* Chroma Tone Control configuration.
100 /* CTC table, used for Chroma Tone Control.
/linux/Documentation/admin-guide/media/
H A Dsi4713.rst101 * Pilot is an audible tone sent by the device.
103 - pilot_frequency - Configures the frequency of the stereo pilot tone.
104 - pilot_deviation - Configures pilot tone frequency deviation level.
105 - pilot_enabled - Enables or disables the pilot tone feature.

12345678910