Home
last modified time | relevance | path

Searched refs:dtmf (Results 1 - 17 of 17) sorted by relevance

/kernel/linux/linux-5.10/drivers/isdn/mISDN/
H A Ddsp_dtmf.c37 /* dtmf detection using goertzel algorithm
42 dsp->dtmf.size = 0; in dsp_dtmf_goertzel_init()
43 dsp->dtmf.lastwhat = '\0'; in dsp_dtmf_goertzel_init()
44 dsp->dtmf.lastdigit = '\0'; in dsp_dtmf_goertzel_init()
45 dsp->dtmf.count = 0; in dsp_dtmf_goertzel_init()
54 if (!dsp->dtmf.enable) in dsp_dtmf_hardware()
92 dsp->dtmf.hardware = hardware; in dsp_dtmf_hardware()
93 dsp->dtmf.software = !hardware; in dsp_dtmf_hardware()
112 * dtmf - points to a structure of the current dtmf stat
[all...]
H A Ddsp_core.c27 * - (2) detection of dtmf tones
201 /* software dtmf */ in dsp_rx_off_member()
202 else if (dsp->dtmf.software) in dsp_rx_off_member()
211 * for echo dtmf detection, soft-echo, soft-bridging */ in dsp_rx_off_member()
304 printk(KERN_DEBUG "%s: start dtmf\n", __func__); in dsp_control_req()
309 dsp->dtmf.treshold = (*(int *)data) * 10000; in dsp_control_req()
311 dsp->dtmf.enable = 1; in dsp_control_req()
315 /* check dtmf hardware */ in dsp_control_req()
321 printk(KERN_DEBUG "%s: stop dtmf\n", __func__); in dsp_control_req()
322 dsp->dtmf in dsp_control_req()
[all...]
H A Ddsp.h121 int enable; /* dtmf is enabled */
122 int treshold; /* above this is dtmf (square of) */
123 int software; /* dtmf uses software decoding */
124 int hardware; /* dtmf uses hardware decoding */
127 /* buffers one full dtmf frame */
130 u8 digits[16]; /* dtmf result */
181 struct dsp_dtmf dtmf; member
/kernel/linux/linux-6.6/drivers/isdn/mISDN/
H A Ddsp_dtmf.c37 /* dtmf detection using goertzel algorithm
42 dsp->dtmf.size = 0; in dsp_dtmf_goertzel_init()
43 dsp->dtmf.lastwhat = '\0'; in dsp_dtmf_goertzel_init()
44 dsp->dtmf.lastdigit = '\0'; in dsp_dtmf_goertzel_init()
45 dsp->dtmf.count = 0; in dsp_dtmf_goertzel_init()
54 if (!dsp->dtmf.enable) in dsp_dtmf_hardware()
92 dsp->dtmf.hardware = hardware; in dsp_dtmf_hardware()
93 dsp->dtmf.software = !hardware; in dsp_dtmf_hardware()
112 * dtmf - points to a structure of the current dtmf stat
[all...]
H A Ddsp_core.c27 * - (2) detection of dtmf tones
201 /* software dtmf */ in dsp_rx_off_member()
202 else if (dsp->dtmf.software) in dsp_rx_off_member()
211 * for echo dtmf detection, soft-echo, soft-bridging */ in dsp_rx_off_member()
304 printk(KERN_DEBUG "%s: start dtmf\n", __func__); in dsp_control_req()
309 dsp->dtmf.treshold = (*(int *)data) * 10000; in dsp_control_req()
311 dsp->dtmf.enable = 1; in dsp_control_req()
315 /* check dtmf hardware */ in dsp_control_req()
321 printk(KERN_DEBUG "%s: stop dtmf\n", __func__); in dsp_control_req()
322 dsp->dtmf in dsp_control_req()
[all...]
H A Ddsp.h121 int enable; /* dtmf is enabled */
122 int treshold; /* above this is dtmf (square of) */
123 int software; /* dtmf uses software decoding */
124 int hardware; /* dtmf uses hardware decoding */
127 /* buffers one full dtmf frame */
130 u8 digits[16]; /* dtmf result */
181 struct dsp_dtmf dtmf; member
/foundation/communication/bluetooth_service/services/bluetooth/external/dummy/include/stub/
H A Dtelephone_service.h57 virtual void SendDtmf(int dtmf) in SendDtmf() argument
89 bool SendDtmf(int dtmf) in SendDtmf() argument
204 void NotifySendDtmf(int dtmf) in NotifySendDtmf() argument
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_ag/
H A Dhfp_ag_profile_event_sender.cpp72 void HfpAgProfileEventSender::SendDtmf(const std::string &device, int dtmf) const in SendDtmf()
74 HfpAgMessage msg(HFP_AG_CONTROL_OTHER_MODULES_EVT, dtmf); in SendDtmf()
77 msg.arg1_ = dtmf; in SendDtmf()
H A Dhfp_ag_system_event_processer.h103 * @param dtmf The code of the DTMF.
105 void ProcessSendDtmfEvent(int dtmf) const;
H A Dhfp_ag_system_event_processer.cpp191 void HfpAgSystemEventProcesser::ProcessSendDtmfEvent(int dtmf) const in ProcessSendDtmfEvent()
194 systemInterface_.SendDtmf(dtmf, address_); in ProcessSendDtmfEvent()
H A Dhfp_ag_profile_event_sender.h74 * @param dtmf Code of DTMF.
76 void SendDtmf(const std::string &device, int dtmf) const;
H A Dhfp_ag_system_interface.h88 * @param dtmf The code of the DTMF.
92 bool SendDtmf(int dtmf, const std::string &address) const;
H A Dhfp_ag_system_interface.cpp169 bool HfpAgSystemInterface::SendDtmf(int dtmf, const std::string &address) const in SendDtmf() argument
172 char str = dtmf + '0'; in SendDtmf()
/kernel/linux/linux-5.10/drivers/isdn/hardware/mISDN/
H A Dhfcmulti.c38 * example: 0x20204 one HFC-4S with dtmf detection and 128 timeslots on PCM
1821 * read dtmf coefficients
1832 int dtmf = 0; in hfcmulti_dtmf() local
1839 printk(KERN_DEBUG "%s: dtmf detection irq\n", __func__); in hfcmulti_dtmf()
1850 printk(KERN_DEBUG "%s: dtmf channel %d:", in hfcmulti_dtmf()
1853 dtmf = 1; in hfcmulti_dtmf()
1921 hc->dtmf = dtmf; in hfcmulti_dtmf()
1922 if (dtmf) in hfcmulti_dtmf()
3499 if (ch->protocol == ISDN_P_B_RAW && !hc->dtmf in handle_bmsg()
[all...]
H A Dhfc_multi.h200 int dtmf; /* flag that dtmf is currently in process */ member
/kernel/linux/linux-6.6/drivers/isdn/hardware/mISDN/
H A Dhfcmulti.c38 * example: 0x20204 one HFC-4S with dtmf detection and 128 timeslots on PCM
1790 * read dtmf coefficients
1801 int dtmf = 0; in hfcmulti_dtmf() local
1808 printk(KERN_DEBUG "%s: dtmf detection irq\n", __func__); in hfcmulti_dtmf()
1819 printk(KERN_DEBUG "%s: dtmf channel %d:", in hfcmulti_dtmf()
1822 dtmf = 1; in hfcmulti_dtmf()
1890 hc->dtmf = dtmf; in hfcmulti_dtmf()
1891 if (dtmf) in hfcmulti_dtmf()
3466 if (ch->protocol == ISDN_P_B_RAW && !hc->dtmf in handle_bmsg()
[all...]
H A Dhfc_multi.h200 int dtmf; /* flag that dtmf is currently in process */ member

Completed in 23 milliseconds