| /kernel/linux/linux-6.6/drivers/isdn/mISDN/ |
| D | dsp_tones.c | 232 * 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 …]
|
| D | dsp_core.c | 12 * Real-time tone generation 352 case DSP_TONE_PATT_ON: /* play tone */ in dsp_control_req() 362 printk(KERN_DEBUG "%s: turn tone 0x%x on\n", in dsp_control_req() 369 if (!dsp->tone.tone) in dsp_control_req() 372 case DSP_TONE_PATT_OFF: /* stop tone */ in dsp_control_req() 378 printk(KERN_DEBUG "%s: turn tone off\n", __func__); in dsp_control_req() 892 /* send data to tx-buffer (if no tone is played) */ in dsp_function() 893 if (!dsp->tone.tone) { in dsp_function() 926 dsp->tone.tone = 0; in dsp_function() 927 dsp->tone.hardware = 0; in dsp_function() [all …]
|
| /kernel/linux/linux-5.10/drivers/isdn/mISDN/ |
| D | dsp_tones.c | 232 * 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 …]
|
| D | dsp_core.c | 12 * Real-time tone generation 352 case DSP_TONE_PATT_ON: /* play tone */ in dsp_control_req() 362 printk(KERN_DEBUG "%s: turn tone 0x%x on\n", in dsp_control_req() 369 if (!dsp->tone.tone) in dsp_control_req() 372 case DSP_TONE_PATT_OFF: /* stop tone */ in dsp_control_req() 378 printk(KERN_DEBUG "%s: turn tone off\n", __func__); in dsp_control_req() 892 /* send data to tx-buffer (if no tone is played) */ in dsp_function() 893 if (!dsp->tone.tone) { in dsp_function() 926 dsp->tone.tone = 0; in dsp_function() 927 dsp->tone.hardware = 0; in dsp_function() [all …]
|
| /kernel/linux/linux-6.6/sound/pci/hda/ |
| D | hda_beep.c | 23 /* 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 …]
|
| /kernel/linux/linux-5.10/sound/pci/hda/ |
| D | hda_beep.c | 23 /* 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 …]
|
| /kernel/linux/linux-5.10/Documentation/userspace-api/media/dvb/ |
| D | fe-set-tone.rst | 13 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
|
| D | fe-diseqc-send-burst.rst | 13 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
|
| /kernel/linux/linux-6.6/Documentation/userspace-api/media/dvb/ |
| D | fe-set-tone.rst | 13 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
|
| D | fe-diseqc-send-burst.rst | 13 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
|
| /kernel/linux/linux-5.10/drivers/media/pci/ddbridge/ |
| D | ddbridge-max.c | 62 v = LNB_TONE & (dev->link[link].lnb.tone << (15 - lnb)); in lnb_command() 127 enum fe_sec_tone_mode tone) in lnb_set_tone() argument 132 switch (tone) { in lnb_set_tone() 134 if (!(dev->link[link].lnb.tone & mask)) in lnb_set_tone() 136 dev->link[link].lnb.tone &= ~(1ULL << input); in lnb_set_tone() 139 if (dev->link[link].lnb.tone & mask) in lnb_set_tone() 141 dev->link[link].lnb.tone |= (1ULL << input); in lnb_set_tone() 202 static int max_set_tone(struct dvb_frontend *fe, enum fe_sec_tone_mode tone) in max_set_tone() argument 213 dvb->tone = tone; in max_set_tone() 218 res = lnb_set_tone(dev, port->lnr, dvb->input, tone); in max_set_tone() [all …]
|
| /kernel/linux/linux-6.6/drivers/media/pci/ddbridge/ |
| D | ddbridge-max.c | 53 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 …]
|
| /kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
| D | cx24123.c | 209 {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 …]
|
| D | lnbh25.h | 18 /* 22 kHz tone enabled. Tone output controlled by DSQIN pin */ 20 /* Low power mode activated (used only with 22 kHz tone output disabled) */
|
| /kernel/linux/linux-6.6/drivers/media/dvb-frontends/ |
| D | cx24123.c | 209 {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 …]
|
| D | lnbh25.h | 18 /* 22 kHz tone enabled. Tone output controlled by DSQIN pin */ 20 /* Low power mode activated (used only with 22 kHz tone output disabled) */
|
| /kernel/linux/linux-6.6/drivers/accessibility/speakup/ |
| D | speakup_dummy.c | 42 [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.");
|
| D | speakup_bns.c | 34 [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.");
|
| D | speakup_txprt.c | 40 [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.");
|
| D | speakup_spkout.c | 38 [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.");
|
| D | speakup_acntsa.c | 38 [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.");
|
| D | speakup_audptr.c | 37 [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.");
|
| D | speakup_ltlk.c | 38 [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.");
|
| /kernel/linux/linux-5.10/drivers/media/test-drivers/vidtv/ |
| D | vidtv_s302m.h | 36 * @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
|
| /kernel/linux/linux-6.6/drivers/media/test-drivers/vidtv/ |
| D | vidtv_s302m.h | 36 * @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
|