Home
last modified time | relevance | path

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

123456789

/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/hda/common/
H A Dbeep.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()
36 AC_VERB_SET_BEEP_CONTROL, tone); in generate_tone()
37 if (!tone && beep->playing) { in generate_tone()
51 generate_tone(beep, beep->tone); in snd_hda_generate_beep()
54 /* (non-standard) Linear beep tone calculation for IDT/STAC codecs
56 * The tone frequency of beep generator on IDT/STAC codecs is
57 * defined from the 8bit tone parameter, in Hz,
58 * 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/drivers/tty/vt/
H A Ducs_width_table.h_shipped33 { 0x07EB, 0x07F3 }, /* NKO COMBINING SHORT HIGH TONE - NKO COMBINING DOUBLE DOT ABOVE */
115 { 0x0EC8, 0x0ECE }, /* LAO TONE MAI EK - LAO YAMAKKAN */
129 { 0x1062, 0x1064 }, /* MYANMAR VOWEL SIGN SGAW KAREN EU - MYANMAR TONE MARK SGAW KAREN KE PHO */
130 …67, 0x106D }, /* MYANMAR VOWEL SIGN WESTERN PWO KAREN EU - MYANMAR SIGN WESTERN PWO KAREN TONE-5 */
132 …82, 0x108D }, /* MYANMAR CONSONANT SIGN SHAN MEDIAL WA - MYANMAR SIGN SHAN COUNCIL EMPHATIC TONE */
133 { 0x108F, 0x108F }, /* MYANMAR SIGN RUMAI PALAUNG TONE-5 */
134 { 0x109A, 0x109D }, /* MYANMAR SIGN KHAMTI TONE-1 - MYANMAR VOWEL SIGN AITON AI */
159 { 0x1CD0, 0x1CD2 }, /* VEDIC TONE KARSHANA - VEDIC TONE PRENKHA */
162 { 0x1CF4, 0x1CF4 }, /* VEDIC TONE CANDRA ABOVE */
163 { 0x1CF7, 0x1CF9 }, /* VEDIC SIGN ATIKRAMA - VEDIC TONE DOUBLE RING ABOVE */
[all …]
/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.");
H A Dspeakup_dtlk.c56 [TONE_ID] = { TONE, .u.n = {"\x01%dx", 1, 0, 2, 0, 0, NULL } },
80 __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.");
/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/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/sound/soc/codecs/
H A Dcs42l43.c65 { name_str, "Tone Generator 1", "Tone 1" }, \
66 { name_str, "Tone Generator 2", "Tone 2" }, \
873 "Tone Generator 1", "Tone Generator 2",
888 0x04, 0x05, // Tone Generator 1, 2
1248 SOC_ENUM("Tone 1 Frequency", cs42l43_tone1_freq),
1249 SOC_ENUM("Tone 2 Frequency", cs42l43_tone2_freq),
1813 SND_SOC_DAPM_SIGGEN("Tone"),
[all...]
H A Dwm8997.c426 SND_SOC_DAPM_SIGGEN("TONE"),
462 SND_SOC_DAPM_PGA("Tone Generator 1", ARIZONA_TONE_GENERATOR_1,
464 SND_SOC_DAPM_PGA("Tone Generator 2", ARIZONA_TONE_GENERATOR_1,
703 { name, "Tone Generator 1", "Tone Generator 1" }, \
704 { name, "Tone Generator 2", "Tone Generator 2" }, \
774 { "Tone Generator 1", NULL, "SYSCLK" },
775 { "Tone Generator 2", NULL, "SYSCLK" },
778 { "Tone Generator 1", NULL, "TONE" },
779 { "Tone Generator 2", NULL, "TONE" },
H A Dcs47l24.c358 SND_SOC_DAPM_SIGGEN("TONE"),
400 SND_SOC_DAPM_PGA("Tone Generator 1", ARIZONA_TONE_GENERATOR_1,
402 SND_SOC_DAPM_PGA("Tone Generator 2", ARIZONA_TONE_GENERATOR_1,
666 { name, "Tone Generator 1", "Tone Generator 1" }, \
667 { name, "Tone Generator 2", "Tone Generator 2" }, \
770 { "Tone Generator 1", NULL, "SYSCLK" },
771 { "Tone Generator 2", NULL, "SYSCLK" },
774 { "Tone Generator 1", NULL, "TONE" },
775 { "Tone Generator 2", NULL, "TONE" },
/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,

123456789