Home
last modified time | relevance | path

Searched refs:tone (Results 1 – 25 of 87) sorted by relevance

1234

/Linux-v4.19/drivers/isdn/mISDN/
Ddsp_tones.c236 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 …]
Ddsp_core.c371 if (!dsp->tone.tone) in dsp_control_req()
895 if (!dsp->tone.tone) { in dsp_function()
928 dsp->tone.tone = 0; in dsp_function()
929 dsp->tone.hardware = 0; in dsp_function()
930 dsp->tone.software = 0; in dsp_function()
931 if (timer_pending(&dsp->tone.tl)) in dsp_function()
932 del_timer(&dsp->tone.tl); in dsp_function()
979 if (timer_pending(&dsp->tone.tl)) in dsp_ctrl()
980 del_timer(&dsp->tone.tl); in dsp_ctrl()
1095 timer_setup(&ndsp->tone.tl, dsp_tone_timeout, 0); in dspcreate()
Ddsp.h150 int tone; member
180 struct dsp_tone tone; member
260 extern int dsp_tone(struct dsp *dsp, int tone);
/Linux-v4.19/Documentation/media/uapi/dvb/
Dfe-set-tone.rst12 FE_SET_TONE - Sets/resets the generation of the continuous 22kHz tone.
18 .. c:function:: int ioctl( int fd, FE_SET_TONE, enum fe_sec_tone_mode tone )
28 ``tone``
35 This ioctl is used to set the generation of the continuous 22kHz tone.
39 to send a 22kHz tone in order to select between high/low band on some
44 setting a tone may interfere on other devices, as they may lose the
Dfe-diseqc-send-burst.rst12 FE_DISEQC_SEND_BURST - Sends a 22KHz tone burst for 2x1 mini DiSEqC satellite selection.
18 .. c:function:: int ioctl( int fd, FE_DISEQC_SEND_BURST, enum fe_sec_mini_cmd tone )
28 ``tone``
35 This ioctl is used to set the generation of a 22kHz tone burst for mini
Dfrontend_fcalls.rst21 fe-set-tone
/Linux-v4.19/drivers/media/pci/ddbridge/
Dddbridge-max.c62 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 …]
Dddbridge.h186 enum fe_sec_tone_mode tone; member
297 u32 tone; member
/Linux-v4.19/sound/pci/hda/
Dhda_beep.c24 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()
Dhda_beep.h22 int tone; member
/Linux-v4.19/drivers/media/dvb-frontends/
Dcx24123.c761 int i, val, tone; in cx24123_send_diseqc_msg() local
766 tone = cx24123_readreg(state, 0x29); in cx24123_send_diseqc_msg()
767 if (tone & 0x10) in cx24123_send_diseqc_msg()
768 cx24123_writereg(state, 0x29, tone & ~0x50); in cx24123_send_diseqc_msg()
787 if (tone & 0x10) in cx24123_send_diseqc_msg()
788 cx24123_writereg(state, 0x29, tone & ~0x40); in cx24123_send_diseqc_msg()
797 int val, tone; in cx24123_diseqc_send_burst() local
802 tone = cx24123_readreg(state, 0x29); in cx24123_diseqc_send_burst()
803 if (tone & 0x10) in cx24123_diseqc_send_burst()
804 cx24123_writereg(state, 0x29, tone & ~0x50); in cx24123_diseqc_send_burst()
[all …]
Dtda8083.c185 enum fe_sec_tone_mode tone) in tda8083_set_tone() argument
189 switch (tone) { in tda8083_set_tone()
395 enum fe_sec_tone_mode tone) in tda8083_diseqc_set_tone() argument
399 tda8083_set_tone (state, tone); in tda8083_diseqc_set_tone()
Dds3000.c668 static int ds3000_set_tone(struct dvb_frontend *fe, enum fe_sec_tone_mode tone) in ds3000_set_tone() argument
673 dprintk("%s(%d)\n", __func__, tone); in ds3000_set_tone()
674 if ((tone != SEC_TONE_ON) && (tone != SEC_TONE_OFF)) { in ds3000_set_tone()
675 printk(KERN_ERR "%s: Invalid, tone=%d\n", __func__, tone); in ds3000_set_tone()
683 switch (tone) { in ds3000_set_tone()
Dlnbp21.c92 enum fe_sec_tone_mode tone) in lnbp21_set_tone() argument
99 switch (tone) { in lnbp21_set_tone()
Disl6421.c157 enum fe_sec_tone_mode tone) in isl6421_set_tone() argument
164 switch (tone) { in isl6421_set_tone()
/Linux-v4.19/drivers/media/firewire/
Dfiredtv-fe.c69 static int fdtv_set_tone(struct dvb_frontend *fe, enum fe_sec_tone_mode tone) in fdtv_set_tone() argument
73 fdtv->tone = tone; in fdtv_set_tone()
/Linux-v4.19/drivers/media/usb/dvb-usb/
Dvp702x-fe.c255 enum fe_sec_tone_mode tone) in vp702x_fe_set_tone() argument
263 st->tone_mode = tone; in vp702x_fe_set_tone()
265 if (tone == SEC_TONE_ON) in vp702x_fe_set_tone()
/Linux-v4.19/include/linux/
Ddtlk.h75 unsigned char tone; /* nX; 0-2 */ member
/Linux-v4.19/drivers/media/pci/ttpci/
Dbudget-patch.c130 enum fe_sec_tone_mode tone) in budget_set_tone() argument
134 switch (tone) { in budget_set_tone()
225 enum fe_sec_tone_mode tone) in budget_patch_set_tone() argument
229 switch (tone) { in budget_patch_set_tone()
/Linux-v4.19/drivers/staging/speakup/
Dspeakup_dtlk.h50 u_char tone; /* nX; 0-2 */ member
/Linux-v4.19/Documentation/media/v4l-drivers/
Dsi4713.rst99 * Pilot is an audible tone sent by the device.
101 - pilot_frequency - Configures the frequency of the stereo pilot tone.
102 - pilot_deviation - Configures pilot tone frequency deviation level.
103 - pilot_enabled - Enables or disables the pilot tone feature.
/Linux-v4.19/Documentation/isdn/
DREADME.audio67 y = 0 ... 255 tone duration in units of 5ms.
123 <DLE>c FAX calling tone received.
124 <DLE>b busy tone received.
/Linux-v4.19/drivers/media/usb/ttusb-dec/
Dttusbdecfe.c169 enum fe_sec_tone_mode tone) in ttusbdecfe_dvbs_set_tone() argument
173 state->hi_band = (SEC_TONE_ON == tone); in ttusbdecfe_dvbs_set_tone()
/Linux-v4.19/drivers/media/common/b2c2/
Dflexcop-fe-tuner.c82 static int flexcop_set_tone(struct dvb_frontend *fe, enum fe_sec_tone_mode tone) in flexcop_set_tone() argument
89 deb_tuner("tone = %u\n",tone); in flexcop_set_tone()
91 switch (tone) { in flexcop_set_tone()
/Linux-v4.19/drivers/media/pci/cx88/
Dcx88-dsp.c31 #define baseband_freq(carrier, srate, tone) ((s32)( \ argument
32 (compat_remainder(carrier + tone, srate)) / srate * 2 * INT_PI))

1234