/openbmc/linux/drivers/isdn/mISDN/ |
H A D | dsp_tones.c | 236 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 …]
|
H A D | dsp_core.c | 369 if (!dsp->tone.tone) in dsp_control_req() 893 if (!dsp->tone.tone) { in dsp_function() 926 dsp->tone.tone = 0; in dsp_function() 927 dsp->tone.hardware = 0; in dsp_function() 928 dsp->tone.software = 0; in dsp_function() 929 if (timer_pending(&dsp->tone.tl)) in dsp_function() 930 del_timer(&dsp->tone.tl); in dsp_function() 976 if (timer_pending(&dsp->tone.tl)) in dsp_ctrl() 977 del_timer(&dsp->tone.tl); in dsp_ctrl() 1092 timer_setup(&ndsp->tone.tl, dsp_tone_timeout, 0); in dspcreate()
|
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);
|
/openbmc/linux/Documentation/userspace-api/media/dvb/ |
H A 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
|
H A 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
|
/openbmc/linux/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() 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 …]
|
/openbmc/linux/sound/pci/hda/ |
H A D | hda_beep.c | 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() 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()
|
/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | cx24123.c | 752 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 …]
|
H A D | tda8083.c | 173 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()
|
H A D | ds3000.c | 656 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()
|
H A D | lnbp21.c | 78 enum fe_sec_tone_mode tone) in lnbp21_set_tone() argument 85 switch (tone) { in lnbp21_set_tone()
|
H A D | isl6421.c | 143 enum fe_sec_tone_mode tone) in isl6421_set_tone() argument 150 switch (tone) { in isl6421_set_tone()
|
/openbmc/linux/drivers/accessibility/speakup/ |
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_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_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_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_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_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.");
|
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_dtlk.c | 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.");
|
H A D | speakup_acntpc.c | 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.");
|
/openbmc/linux/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()
|
/openbmc/linux/drivers/staging/media/av7110/ |
H A D | budget-patch.c | 116 enum fe_sec_tone_mode tone) in budget_set_tone() argument 120 switch (tone) { in budget_set_tone() 211 enum fe_sec_tone_mode tone) in budget_patch_set_tone() argument 215 switch (tone) { in budget_patch_set_tone()
|
/openbmc/linux/drivers/media/usb/dvb-usb/ |
H A D | vp702x-fe.c | 251 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()
|
/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A D | ext-ctrls-fm-tx.rst | 11 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
|