/kernel/linux/linux-5.10/drivers/isdn/mISDN/ |
H A 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() 463 struct dsp_tone *tone = &dsp->tone; dsp_tone_timeout() local 496 dsp_tone(struct dsp *dsp, int tone) dsp_tone() argument [all...] |
H A 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() [all...] |
H A D | dsp.h | 150 int tone; member 180 struct dsp_tone tone; member 260 extern int dsp_tone(struct dsp *dsp, int tone);
|
/kernel/linux/linux-6.6/drivers/isdn/mISDN/ |
H A 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() 463 struct dsp_tone *tone = &dsp->tone; dsp_tone_timeout() local 496 dsp_tone(struct dsp *dsp, int tone) dsp_tone() argument [all...] |
H A 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() [all...] |
H A D | dsp.h | 150 int tone; member 180 struct dsp_tone tone; member 260 extern int dsp_tone(struct dsp *dsp, int tone);
|
/kernel/linux/linux-5.10/drivers/media/pci/ddbridge/ |
H A 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() 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() 126 lnb_set_tone(struct ddb *dev, u32 link, u32 input, enum fe_sec_tone_mode tone) lnb_set_tone() argument [all...] |
/kernel/linux/linux-6.6/drivers/media/pci/ddbridge/ |
H A 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() 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() 117 lnb_set_tone(struct ddb *dev, u32 link, u32 input, enum fe_sec_tone_mode tone) lnb_set_tone() argument [all...] |
/kernel/linux/linux-5.10/sound/pci/hda/ |
H A 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) / 102 [all...] |
/kernel/linux/linux-6.6/sound/pci/hda/ |
H A 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) / 102 [all...] |
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
H A D | cx24123.c | 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() 779 cx24123_writereg(state, 0x29, tone & ~0x40); in cx24123_send_diseqc_msg() 788 int val, tone; in cx24123_diseqc_send_burst() local 956 cx24123_set_tone(struct dvb_frontend *fe, enum fe_sec_tone_mode tone) cx24123_set_tone() argument [all...] |
H A D | lnbp21.c | 78 enum fe_sec_tone_mode tone) in lnbp21_set_tone() 85 switch (tone) { in lnbp21_set_tone() 77 lnbp21_set_tone(struct dvb_frontend *fe, enum fe_sec_tone_mode tone) lnbp21_set_tone() argument
|
H A D | isl6421.c | 143 enum fe_sec_tone_mode tone) in isl6421_set_tone() 150 switch (tone) { in isl6421_set_tone() 142 isl6421_set_tone(struct dvb_frontend *fe, enum fe_sec_tone_mode tone) isl6421_set_tone() argument
|
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/ |
H A D | cx24123.c | 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() 779 cx24123_writereg(state, 0x29, tone & ~0x40); in cx24123_send_diseqc_msg() 788 int val, tone; in cx24123_diseqc_send_burst() local 956 cx24123_set_tone(struct dvb_frontend *fe, enum fe_sec_tone_mode tone) cx24123_set_tone() argument [all...] |
H A D | isl6421.c | 143 enum fe_sec_tone_mode tone) in isl6421_set_tone() 150 switch (tone) { in isl6421_set_tone() 142 isl6421_set_tone(struct dvb_frontend *fe, enum fe_sec_tone_mode tone) isl6421_set_tone() argument
|
H A D | lnbp21.c | 78 enum fe_sec_tone_mode tone) in lnbp21_set_tone() 85 switch (tone) { in lnbp21_set_tone() 77 lnbp21_set_tone(struct dvb_frontend *fe, enum fe_sec_tone_mode tone) lnbp21_set_tone() argument
|
/kernel/linux/linux-6.6/drivers/accessibility/speakup/ |
H A D | speakup_dummy.c | 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 D | speakup_spkout.c | 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 D | speakup_txprt.c | 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 D | speakup_acntsa.c | 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 D | speakup_bns.c | 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 D | speakup_ltlk.c | 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 D | speakup_audptr.c | 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.");
|
/kernel/linux/linux-5.10/drivers/media/firewire/ |
H A D | firedtv-fe.c | 65 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()
|
/kernel/linux/linux-6.6/drivers/media/firewire/ |
H A D | firedtv-fe.c | 65 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()
|