Home
last modified time | relevance | path

Searched full:dsp (Results 1 – 25 of 773) sorted by relevance

12345678910>>...31

/Linux-v5.10/drivers/isdn/mISDN/
Ddsp_cmx.c132 #include "dsp.h"
159 dsp_cmx_debug(struct dsp *dsp) in dsp_cmx_debug() argument
163 struct dsp *odsp; in dsp_cmx_debug()
165 printk(KERN_DEBUG "-----Current DSP\n"); in dsp_cmx_debug()
172 if (dsp == odsp) in dsp_cmx_debug()
184 member->dsp->name, member->dsp->pcm_slot_tx, in dsp_cmx_debug()
185 member->dsp->pcm_bank_tx, member->dsp->pcm_slot_rx, in dsp_cmx_debug()
186 member->dsp->pcm_bank_rx, member->dsp->hfc_conf, in dsp_cmx_debug()
187 member->dsp->tx_data, member->dsp->rx_is_off, in dsp_cmx_debug()
188 (member->dsp == dsp) ? " *this*" : ""); in dsp_cmx_debug()
[all …]
Ddsp_core.c23 * The dsp module provides layer 2 for b-channels (64kbit). It provides
96 * NOTE: The channel must be activated in order to make dsp work, even if
137 * When data is received from upper or lower layer (card), the complete dsp
139 * must lock timer events by DSP poll timer.
161 #include "dsp.h"
179 spinlock_t dsp_lock; /* global dsp lock */
188 dsp_rx_off_member(struct dsp *dsp) in dsp_rx_off_member() argument
195 if (!dsp->features_rx_off) in dsp_rx_off_member()
199 if (!dsp->rx_disabled) in dsp_rx_off_member()
202 else if (dsp->dtmf.software) in dsp_rx_off_member()
[all …]
Ddsp_dtmf.c15 #include "dsp.h"
40 void dsp_dtmf_goertzel_init(struct dsp *dsp) in dsp_dtmf_goertzel_init() argument
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()
50 void dsp_dtmf_hardware(struct dsp *dsp) in dsp_dtmf_hardware() argument
54 if (!dsp->dtmf.enable) in dsp_dtmf_hardware()
57 if (!dsp->features.hfc_dtmf) in dsp_dtmf_hardware()
61 if (dsp->tx_volume) { in dsp_dtmf_hardware()
[all …]
Ddsp.h91 /* all members within a conference (this is linked 1:1 with the dsp) */
92 struct dsp;
95 struct dsp *dsp; member
170 struct dsp { struct
245 extern void dsp_cmx_debug(struct dsp *dsp); argument
246 extern void dsp_cmx_hardware(struct dsp_conf *conf, struct dsp *dsp);
247 extern int dsp_cmx_conf(struct dsp *dsp, u32 conf_id);
248 extern void dsp_cmx_receive(struct dsp *dsp, struct sk_buff *skb);
249 extern void dsp_cmx_hdlc(struct dsp *dsp, struct sk_buff *skb);
251 extern void dsp_cmx_transmit(struct dsp *dsp, struct sk_buff *skb);
[all …]
Ddsp_hwec.c4 * builtin mISDN dsp pipeline element for enabling the hw echocanceller
16 #include "dsp.h"
34 void dsp_hwec_enable(struct dsp *dsp, const char *arg) in dsp_hwec_enable() argument
40 if (!dsp) { in dsp_hwec_enable()
41 printk(KERN_ERR "%s: failed to enable hwec: dsp is NULL\n", in dsp_hwec_enable()
85 if (!dsp->ch.peer->ctrl(&dsp->ch, CONTROL_CHANNEL, &cq)) { in dsp_hwec_enable()
92 void dsp_hwec_disable(struct dsp *dsp) in dsp_hwec_disable() argument
96 if (!dsp) { in dsp_hwec_disable()
97 printk(KERN_ERR "%s: failed to disable hwec: dsp is NULL\n", in dsp_hwec_disable()
105 if (!dsp->ch.peer->ctrl(&dsp->ch, CONTROL_CHANNEL, &cq)) { in dsp_hwec_disable()
/Linux-v5.10/sound/soc/codecs/
Dwm_adsp.c47 adsp_err(_obj->dsp, "%s: " fmt, _obj->name ? _obj->name : "legacy", \
50 adsp_dbg(_obj->dsp, "%s: " fmt, _obj->name ? _obj->name : "legacy", \
418 __be32 buf1_size; /* Size of buf1 area in DSP words */
420 __be32 buf1_buf2_size; /* Size of buf1+buf2 in DSP words */
422 __be32 buf_total_size; /* Size of buf1+buf2+buf3 in DSP words */
441 struct wm_adsp *dsp; member
458 struct wm_adsp *dsp; member
492 static int wm_adsp_buffer_init(struct wm_adsp *dsp);
493 static int wm_adsp_buffer_free(struct wm_adsp *dsp);
613 struct wm_adsp *dsp; member
[all …]
Dwm_adsp.h114 bool (*validate_version)(struct wm_adsp *dsp, unsigned int version);
115 unsigned int (*parse_sizes)(struct wm_adsp *dsp,
119 int (*setup_algs)(struct wm_adsp *dsp);
123 void (*show_fw_status)(struct wm_adsp *dsp);
124 void (*stop_watchdog)(struct wm_adsp *dsp);
126 int (*enable_memory)(struct wm_adsp *dsp);
127 void (*disable_memory)(struct wm_adsp *dsp);
128 int (*lock_memory)(struct wm_adsp *dsp, unsigned int lock_regions);
130 int (*enable_core)(struct wm_adsp *dsp);
131 void (*disable_core)(struct wm_adsp *dsp);
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/pinctrl/
Dcirrus,lochnagar.yaml81 enum: [ codec-aif1, codec-aif2, codec-aif3, dsp-aif1,
82 dsp-aif2, psia1, psia2, gf-aif1, gf-aif2, gf-aif3,
93 codec-gpio7, codec-gpio8, dsp-gpio1, dsp-gpio2,
94 dsp-gpio3, dsp-gpio4, dsp-gpio5, dsp-gpio6,
99 codec-aif3-lrclk, codec-aif3-txdat, dsp-aif1-bclk,
100 dsp-aif1-rxdat, dsp-aif1-lrclk, dsp-aif1-txdat,
101 dsp-aif2-bclk, dsp-aif2-rxdat, dsp-aif2-lrclk,
102 dsp-aif2-txdat, psia1-bclk, psia1-rxdat, psia1-lrclk,
109 gf-aif2-lrclk, gf-aif2-txdat, dsp-uart1-rx,
110 dsp-uart1-tx, dsp-uart2-rx, dsp-uart2-tx,
[all …]
/Linux-v5.10/include/media/drv-intf/
Dmsp3400.h25 the DSP (the tuner input first goes through the demodulator).
27 The DSP handles things like volume, bass/treble, balance, and some chips
29 and SCART1/2. Each output can select which DSP input to use. So the MAIN
36 Most DSP outputs are also the outputs of the msp3400. However, the SCART
38 SCART2 output from the DSP, or the msp3400 SCART inputs, thus completely
39 bypassing the DSP.
49 3) which DSP input to use for each DSP output
63 /* Inputs to the DSP unit: two independent selections have to be made:
70 /* SCART input to DSP selection */
76 #define MSP_IN_MUTE 7 /* Mute DSP input */
[all …]
/Linux-v5.10/sound/soc/intel/skylake/
Dcnl-sst.c3 * cnl-sst.c - DSP library functions for CNL platform
10 * HDA DSP library functions for SKL platform
23 #include "../common/sst-dsp.h"
24 #include "../common/sst-dsp-priv.h"
26 #include "cnl-sst-dsp.h"
62 dev_err(ctx->dev, "dsp core0 power up failed\n"); in cnl_prepare_fw()
74 dev_err(ctx->dev, "Start dsp core failed ret: %d\n", ret); in cnl_prepare_fw()
209 dev_err(ctx->dev, "enable dsp core %d failed: %d\n", in cnl_set_dsp_D0()
224 "dsp boot timeout, status=%#x error=%#x\n", in cnl_set_dsp_D0()
264 "dsp core %d to d3 failed; continue reset\n", in cnl_set_dsp_D3()
[all …]
Dcnl-sst-dsp.c3 * cnl-sst-dsp.c - CNL SST library generic function
16 #include "../common/sst-dsp.h"
18 #include "../common/sst-dsp-priv.h"
19 #include "cnl-sst-dsp.h"
71 dev_dbg(ctx->dev, "DSP core(s) enabled? %d: core_mask %#x\n", in is_cnl_dsp_core_enable()
103 dev_err(ctx->dev, "DSP core mask %#x enable failed\n", in cnl_dsp_start_core()
148 dev_dbg(ctx->dev, "DSP core mask %#x power up failed", in cnl_dsp_enable_core()
162 dev_err(ctx->dev, "DSP core mask %#x reset failed\n", in cnl_dsp_disable_core()
170 dev_err(ctx->dev, "DSP core mask %#x power down failed\n", in cnl_dsp_disable_core()
176 dev_err(ctx->dev, "DSP core mask %#x disable failed\n", in cnl_dsp_disable_core()
[all …]
Dskl-sst-ipc.c9 #include "../common/sst-dsp.h"
10 #include "../common/sst-dsp-priv.h"
12 #include "skl-sst-dsp.h"
287 static bool skl_ipc_is_dsp_busy(struct sst_dsp *dsp) in skl_ipc_is_dsp_busy() argument
291 hipci = sst_dsp_shim_read_unlocked(dsp, SKL_ADSP_REG_HIPCI); in skl_ipc_is_dsp_busy()
301 sst_dsp_outbox_write(ipc->dsp, msg->tx.data, msg->tx.size); in skl_ipc_tx_msg()
302 sst_dsp_shim_write_unlocked(ipc->dsp, SKL_ADSP_REG_HIPCIE, in skl_ipc_tx_msg()
304 sst_dsp_shim_write_unlocked(ipc->dsp, SKL_ADSP_REG_HIPCI, in skl_ipc_tx_msg()
308 int skl_ipc_check_D0i0(struct sst_dsp *dsp, bool state) in skl_ipc_check_D0i0() argument
313 if (!dsp->fw_ops.set_state_D0i0) in skl_ipc_check_D0i0()
[all …]
/Linux-v5.10/arch/mips/include/asm/
Ddsp.h41 tsk->thread.dsp.dspr[0] = mfhi1(); \
42 tsk->thread.dsp.dspr[1] = mflo1(); \
43 tsk->thread.dsp.dspr[2] = mfhi2(); \
44 tsk->thread.dsp.dspr[3] = mflo2(); \
45 tsk->thread.dsp.dspr[4] = mfhi3(); \
46 tsk->thread.dsp.dspr[5] = mflo3(); \
47 tsk->thread.dsp.dspcontrol = rddsp(DSP_MASK); \
58 mthi1(tsk->thread.dsp.dspr[0]); \
59 mtlo1(tsk->thread.dsp.dspr[1]); \
60 mthi2(tsk->thread.dsp.dspr[2]); \
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/remoteproc/
Dti,keystone-rproc.txt1 TI Keystone DSP devices
4 The TI Keystone 2 family of SoCs usually have one or more (upto 8) TI DSP Core
10 a dedicated local power/sleep controller etc. The DSP processor core in
13 DSP Device Node:
15 Each DSP Core sub-system is represented as a single DT node, and should also
26 "ti,k2hk-dsp" for DSPs on Keystone 2 66AK2H/K SoCs
27 "ti,k2l-dsp" for DSPs on Keystone 2 66AK2L SoCs
28 "ti,k2e-dsp" for DSPs on Keystone 2 66AK2E SoCs
29 "ti,k2g-dsp" for DSPs on Keystone 2 66AK2G SoCs
42 State Control node, and the register offset of the DSP
[all …]
Dti,davinci-rproc.txt1 TI Davinci DSP devices
7 The TI Davinci family of SoCs usually contains a TI DSP Core sub-system that
13 controller, a dedicated local power/sleep controller etc. The DSP processor
14 core used in Davinci SoCs is usually a C674x DSP CPU.
16 DSP Device Node:
18 Each DSP Core sub-system is represented as a single DT node.
25 "ti,da850-dsp" for DSPs on OMAP-L138 SoCs
38 interrupts from the DSP. The value should follow the
52 /* DSP Reserved Memory node */
58 dsp_memory_region: dsp-memory@c3000000 {
[all …]
Dti,k3-dsp-rproc.yaml4 $id: http://devicetree.org/schemas/remoteproc/ti,k3-dsp-rproc.yaml#
7 title: TI K3 DSP devices
13 The TI K3 family of SoCs usually have one or more TI DSP Core sub-systems
19 controller, a dedicated local power/sleep controller etc. The DSP processor
23 Each DSP Core sub-system is represented as a single DT node. Each node has a
34 - ti,j721e-c66-dsp
35 - ti,j721e-c71-dsp
37 Use "ti,j721e-c66-dsp" for C66x DSPs on K3 J721E SoCs
38 Use "ti,j721e-c71-dsp" for C71x DSPs on K3 J721E SoCs
90 - ti,j721e-c66-dsp
[all …]
Dti,omap-remoteproc.yaml21 The OMAP SoCs usually have a DSP processor sub-system and/or an IPU processor
22 sub-system. The DSP processor sub-system can contain any of the TI's C64x,
23 C66x or C67x family of DSP cores as the main execution unit. The IPU processor
42 - ti,omap4-dsp
43 - ti,omap5-dsp
44 - ti,dra7-dsp
105 'reg-names'. These are mandatory for all DSP and IPU
130 all the DSP instances on OMAP4, OMAP5 and DRA7xx SoCs.
170 - ti,dra7-dsp
218 //Example 1: OMAP4 DSP
[all …]
/Linux-v5.10/arch/arm/mach-omap2/
Dpowerdomains2xxx_3xxx_data.c12 * The names for the DSP/IVA2 powerdomains are confusing.
14 * Most OMAP chips have an on-board DSP.
16 * On the 2420, this is a 'C55 DSP called, simply, the DSP. Its
17 * powerdomain is called the "DSP power domain." On the 2430, the
18 * on-board DSP is a 'C64 DSP, now called (along with its hardware
20 * the "DSP power domain." On the 3430, the DSP is a 'C64 DSP like the
25 * core, and has nothing to do with the DSP/IVA2.
27 * Ideally the DSP/IVA2 could just be the same powerdomain, but the PRCM
/Linux-v5.10/arch/arm/boot/dts/
Dkeystone-k2hk.dtsi92 compatible = "ti,keystone-dsp-gpio";
100 compatible = "ti,keystone-dsp-gpio";
108 compatible = "ti,keystone-dsp-gpio";
116 compatible = "ti,keystone-dsp-gpio";
124 compatible = "ti,keystone-dsp-gpio";
132 compatible = "ti,keystone-dsp-gpio";
140 compatible = "ti,keystone-dsp-gpio";
148 compatible = "ti,keystone-dsp-gpio";
156 dsp0: dsp@10800000 {
157 compatible = "ti,k2hk-dsp";
[all …]
/Linux-v5.10/Documentation/hwmon/
Dlochnagar.rst33 in1_input Measured voltage for 1V8 DSP (milliVolts)
34 in1_label "1V8 DSP"
35 curr2_input Measured current for 1V8 DSP (milliAmps)
36 curr2_label "1V8 DSP"
37 power2_average Measured average power for 1V8 DSP (microWatts)
39 power2_label "1V8 DSP"
47 in3_input Measured voltage for VDDCORE DSP (milliVolts)
48 in3_label "VDDCORE DSP"
49 curr4_input Measured current for VDDCORE DSP (milliAmps)
50 curr4_label "VDDCORE DSP"
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/gpio/
Dgpio-dsp-keystone.txt1 Keystone 2 DSP GPIO controller bindings
3 HOST OS userland running on ARM can send interrupts to DSP cores using
4 the DSP GPIO controller IP. It provides 28 IRQ signals per each DSP core.
7 For example TCI6638K2K SoC has 8 DSP GPIO controllers:
10 Keystone 2 DSP GPIO controller has specific features:
12 - setting GPIO value to 1 causes IRQ generation on target DSP core;
17 - compatible: should be "ti,keystone-dsp-gpio"
29 compatible = "ti,keystone-dsp-gpio";
/Linux-v5.10/sound/soc/sof/intel/
Dhda-dsp.c15 * Hardware interface for generic Intel audio DSP HDA IP
30 "SOF HDA enable trace when the DSP is in D0I3 in S0");
34 * DSP Core control.
147 dev_err(sdev->dev, "error: DSP start core failed: core_mask %x\n", in hda_dsp_core_run()
234 dev_dbg(sdev->dev, "DSP core(s) enabled? %d : core_mask %x\n", in hda_dsp_core_is_enabled()
256 dev_err(sdev->dev, "error: dsp core power up failed: core_mask %x\n", in hda_dsp_enable_core()
281 dev_err(sdev->dev, "error: dsp core reset failed: core_mask %x\n", in hda_dsp_core_reset_power_down()
289 dev_err(sdev->dev, "error: dsp core power down fail mask %x: %d\n", in hda_dsp_core_reset_power_down()
296 dev_err(sdev->dev, "error: dsp core disable fail mask %x: %d\n", in hda_dsp_core_reset_power_down()
359 /* send pm_gate ipc to dsp */ in hda_dsp_send_pm_gate_ipc()
[all …]
/Linux-v5.10/sound/pci/asihpi/
Dhpidspcd.h10 Functions for reading DSP code to load into DSP
19 /** Header structure for dsp firmware file
48 /** Expected number of words in the whole dsp code,INCL header */
53 /** internal state of DSP code reader */
65 /** Pointer to DSP code control structure */
70 /** Close the DSP code file */
73 /** Rewind to the beginning of the DSP code file (for verify) */
76 /** Read one word from the dsp code file
80 /**< DSP code descriptor */
84 /** Get a block of dsp code into an internal buffer, and provide a pointer to
[all …]
/Linux-v5.10/sound/soc/intel/common/
Dsst-ipc.c22 #include "sst-dsp.h"
23 #include "sst-dsp-priv.h"
51 /* wait for DSP completion (in all cases atm inc pending) */ in tx_wait_done()
55 spin_lock_irqsave(&ipc->dsp->spinlock, flags); in tx_wait_done()
64 /* copy the data returned from DSP */ in tx_wait_done()
74 spin_unlock_irqrestore(&ipc->dsp->spinlock, flags); in tx_wait_done()
85 spin_lock_irqsave(&ipc->dsp->spinlock, flags); in ipc_tx_message()
89 spin_unlock_irqrestore(&ipc->dsp->spinlock, flags); in ipc_tx_message()
107 spin_unlock_irqrestore(&ipc->dsp->spinlock, flags); in ipc_tx_message()
158 spin_lock_irq(&ipc->dsp->spinlock); in ipc_tx_msgs()
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/dsp/
Dfsl,dsp.yaml4 $id: http://devicetree.org/schemas/dsp/fsl,dsp.yaml#
7 title: NXP i.MX8 DSP core
13 Some boards from i.MX8 family contain a DSP core used for
19 - fsl,imx8qxp-dsp
20 - fsl,imx8qm-dsp
21 - fsl,imx8mp-dsp
60 used by DSP (see bindings/reserved-memory/reserved-memory.txt)
79 dsp@596e8000 {
80 compatible = "fsl,imx8qxp-dsp";

12345678910>>...31