Home
last modified time | relevance | path

Searched refs:dsp (Results 1 – 25 of 208) sorted by relevance

123456789

/linux-6.1.9/drivers/isdn/mISDN/
Ddsp_cmx.c159 dsp_cmx_debug(struct dsp *dsp) in dsp_cmx_debug() argument
163 struct dsp *odsp; 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()
220 dsp_cmx_add_conf_member(struct dsp *dsp, struct dsp_conf *conf) in dsp_cmx_add_conf_member() argument
224 if (!conf || !dsp) { in dsp_cmx_add_conf_member()
[all …]
Ddsp_core.c188 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()
205 else if (dsp->echo.software) in dsp_rx_off_member()
208 else if (dsp->conf && dsp->conf->software) in dsp_rx_off_member()
213 if (rx_off == dsp->rx_is_off) in dsp_rx_off_member()
216 if (!dsp->ch.peer) { in dsp_rx_off_member()
224 if (dsp->ch.peer->ctrl(dsp->ch.peer, CONTROL_CHANNEL, &cq)) { in dsp_rx_off_member()
229 dsp->rx_is_off = rx_off; in dsp_rx_off_member()
[all …]
Ddsp_dtmf.c40 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()
65 __func__, dsp->name); in dsp_dtmf_hardware()
[all …]
Ddsp.h92 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);
252 extern int dsp_cmx_del_conf_member(struct dsp *dsp);
[all …]
Ddsp_blowfish.c369 dsp_bf_encrypt(struct dsp *dsp, u8 *data, int len) in dsp_bf_encrypt() argument
371 int i = 0, j = dsp->bf_crypt_pos; in dsp_bf_encrypt()
372 u8 *bf_data_in = dsp->bf_data_in; in dsp_bf_encrypt()
373 u8 *bf_crypt_out = dsp->bf_crypt_out; in dsp_bf_encrypt()
374 u32 *P = dsp->bf_p; in dsp_bf_encrypt()
375 u32 *S = dsp->bf_s; in dsp_bf_encrypt()
448 dsp->bf_crypt_pos = j; in dsp_bf_encrypt()
458 dsp_bf_decrypt(struct dsp *dsp, u8 *data, int len) in dsp_bf_decrypt() argument
461 u8 j = dsp->bf_decrypt_in_pos; in dsp_bf_decrypt()
462 u8 k = dsp->bf_decrypt_out_pos; in dsp_bf_decrypt()
[all …]
Ddsp_hwec.c34 void dsp_hwec_enable(struct dsp *dsp, const char *arg) in dsp_hwec_enable() argument
40 if (!dsp) { 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()
105 if (!dsp->ch.peer->ctrl(&dsp->ch, CONTROL_CHANNEL, &cq)) { in dsp_hwec_disable()
Ddsp_tones.c375 void dsp_tone_copy(struct dsp *dsp, u8 *data, int len) in dsp_tone_copy() argument
379 struct dsp_tone *tone = &dsp->tone; in dsp_tone_copy()
438 dsp_tone_hw_message(struct dsp *dsp, u8 *sample, int len) in dsp_tone_hw_message() argument
447 if (dsp->ch.peer) { in dsp_tone_hw_message()
448 if (dsp->ch.recv(dsp->ch.peer, nskb)) in dsp_tone_hw_message()
462 struct dsp *dsp = from_timer(dsp, t, tone.tl); in dsp_tone_timeout() local
463 struct dsp_tone *tone = &dsp->tone; in dsp_tone_timeout()
477 dsp_tone_hw_message(dsp, NULL, 0); in dsp_tone_timeout()
479 dsp_tone_hw_message(dsp, pat->data[index], *(pat->siz[index])); in dsp_tone_timeout()
496 dsp_tone(struct dsp *dsp, int tone) in dsp_tone() argument
[all …]
Ddsp_hwec.h7 extern void dsp_hwec_enable(struct dsp *dsp, const char *arg);
8 extern void dsp_hwec_disable(struct dsp *dsp);
/linux-6.1.9/drivers/firmware/cirrus/
Dcs_dsp.c278 bool (*validate_version)(struct cs_dsp *dsp, unsigned int version);
279 unsigned int (*parse_sizes)(struct cs_dsp *dsp,
283 int (*setup_algs)(struct cs_dsp *dsp);
287 void (*show_fw_status)(struct cs_dsp *dsp);
288 void (*stop_watchdog)(struct cs_dsp *dsp);
290 int (*enable_memory)(struct cs_dsp *dsp);
291 void (*disable_memory)(struct cs_dsp *dsp);
292 int (*lock_memory)(struct cs_dsp *dsp, unsigned int lock_regions);
294 int (*enable_core)(struct cs_dsp *dsp);
295 void (*disable_core)(struct cs_dsp *dsp);
[all …]
/linux-6.1.9/sound/soc/codecs/
Dwm_adsp.c46 adsp_err(_obj->dsp, "%s: " fmt, _obj->name ? _obj->name : "legacy", \
49 adsp_dbg(_obj->dsp, "%s: " fmt, _obj->name ? _obj->name : "legacy", \
150 struct wm_adsp *dsp; member
167 struct wm_adsp *dsp; member
199 static int wm_adsp_buffer_init(struct wm_adsp *dsp);
200 static int wm_adsp_buffer_free(struct wm_adsp *dsp);
322 struct wm_adsp *dsp = snd_soc_component_get_drvdata(component); in wm_adsp_fw_get() local
324 ucontrol->value.enumerated.item[0] = dsp[e->shift_l].fw; in wm_adsp_fw_get()
335 struct wm_adsp *dsp = snd_soc_component_get_drvdata(component); in wm_adsp_fw_put() local
338 if (ucontrol->value.enumerated.item[0] == dsp[e->shift_l].fw) in wm_adsp_fw_put()
[all …]
Dwm_adsp.h79 int wm_adsp1_init(struct wm_adsp *dsp);
80 int wm_adsp2_init(struct wm_adsp *dsp);
81 void wm_adsp2_remove(struct wm_adsp *dsp);
82 int wm_adsp2_component_probe(struct wm_adsp *dsp, struct snd_soc_component *component);
83 int wm_adsp2_component_remove(struct wm_adsp *dsp, struct snd_soc_component *component);
84 int wm_halo_init(struct wm_adsp *dsp);
110 int wm_adsp_compr_open(struct wm_adsp *dsp, struct snd_compr_stream *stream);
121 int wm_adsp_compr_handle_irq(struct wm_adsp *dsp);
128 int wm_adsp_write_ctl(struct wm_adsp *dsp, const char *name, int type,
130 int wm_adsp_read_ctl(struct wm_adsp *dsp, const char *name, int type,
/linux-6.1.9/include/linux/firmware/cirrus/
Dcs_dsp.h90 struct cs_dsp *dsp; member
204 int (*pre_run)(struct cs_dsp *dsp);
205 int (*post_run)(struct cs_dsp *dsp);
206 void (*pre_stop)(struct cs_dsp *dsp);
207 void (*post_stop)(struct cs_dsp *dsp);
208 void (*watchdog_expired)(struct cs_dsp *dsp);
211 int cs_dsp_adsp1_init(struct cs_dsp *dsp);
212 int cs_dsp_adsp2_init(struct cs_dsp *dsp);
213 int cs_dsp_halo_init(struct cs_dsp *dsp);
215 int cs_dsp_adsp1_power_up(struct cs_dsp *dsp,
[all …]
/linux-6.1.9/Documentation/devicetree/bindings/pinctrl/
Dcirrus,lochnagar.yaml72 enum: [ codec-aif1, codec-aif2, codec-aif3, dsp-aif1,
73 dsp-aif2, psia1, psia2, gf-aif1, gf-aif2, gf-aif3,
84 codec-gpio7, codec-gpio8, dsp-gpio1, dsp-gpio2,
85 dsp-gpio3, dsp-gpio4, dsp-gpio5, dsp-gpio6,
90 codec-aif3-lrclk, codec-aif3-txdat, dsp-aif1-bclk,
91 dsp-aif1-rxdat, dsp-aif1-lrclk, dsp-aif1-txdat,
92 dsp-aif2-bclk, dsp-aif2-rxdat, dsp-aif2-lrclk,
93 dsp-aif2-txdat, psia1-bclk, psia1-rxdat, psia1-lrclk,
100 gf-aif2-lrclk, gf-aif2-txdat, dsp-uart1-rx,
101 dsp-uart1-tx, dsp-uart2-rx, dsp-uart2-tx,
[all …]
/linux-6.1.9/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-6.1.9/sound/soc/intel/skylake/
Dcnl-sst.c314 struct sst_dsp *dsp = context; in cnl_dsp_irq_thread_handler() local
315 struct skl_dev *cnl = dsp->thread_context; in cnl_dsp_irq_thread_handler()
322 if (!(dsp->intr_status & CNL_ADSPIS_IPC)) in cnl_dsp_irq_thread_handler()
325 hipcida = sst_dsp_shim_read_unlocked(dsp, CNL_ADSP_REG_HIPCIDA); in cnl_dsp_irq_thread_handler()
326 hipctdr = sst_dsp_shim_read_unlocked(dsp, CNL_ADSP_REG_HIPCTDR); in cnl_dsp_irq_thread_handler()
327 hipctdd = sst_dsp_shim_read_unlocked(dsp, CNL_ADSP_REG_HIPCTDD); in cnl_dsp_irq_thread_handler()
331 sst_dsp_shim_update_bits(dsp, CNL_ADSP_REG_HIPCCTL, in cnl_dsp_irq_thread_handler()
335 sst_dsp_shim_update_bits_forced(dsp, CNL_ADSP_REG_HIPCIDA, in cnl_dsp_irq_thread_handler()
341 sst_dsp_shim_update_bits(dsp, CNL_ADSP_REG_HIPCCTL, in cnl_dsp_irq_thread_handler()
349 dev_dbg(dsp->dev, "IPC irq: Firmware respond primary:%x", in cnl_dsp_irq_thread_handler()
[all …]
Dskl-sst-ipc.c287 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()
318 ret = dsp->fw_ops.set_state_D0i0(dsp); in skl_ipc_check_D0i0()
320 ret = dsp->fw_ops.set_state_D0i3(dsp); in skl_ipc_check_D0i0()
417 ipc->dsp->fw_ops.get_fw_errcode(ipc->dsp)); in skl_ipc_set_reply_error_code()
[all …]
Dcnl-sst-dsp.c210 void cnl_dsp_free(struct sst_dsp *dsp) in cnl_dsp_free() argument
212 cnl_ipc_int_disable(dsp); in cnl_dsp_free()
214 free_irq(dsp->irq, dsp); in cnl_dsp_free()
215 cnl_ipc_op_int_disable(dsp); in cnl_dsp_free()
216 cnl_dsp_disable_core(dsp, SKL_DSP_CORE0_MASK); in cnl_dsp_free()
264 cnl_ipc_op_int_disable(ipc->dsp); in cnl_ipc_free()
/linux-6.1.9/sound/pci/hda/
Dhda_cs_dsp_ctl.c56 mutex_lock(&cs_ctl->dsp->pwr_lock); in hda_cs_dsp_coeff_put()
58 mutex_unlock(&cs_ctl->dsp->pwr_lock); in hda_cs_dsp_coeff_put()
70 mutex_lock(&cs_ctl->dsp->pwr_lock); in hda_cs_dsp_coeff_get()
72 mutex_unlock(&cs_ctl->dsp->pwr_lock); in hda_cs_dsp_coeff_get()
108 dev_err(cs_ctl->dsp->dev, "KControl %s: length %zu exceeds maximum %d\n", name, in hda_cs_dsp_add_kcontrol()
128 dev_err(cs_ctl->dsp->dev, "Failed to add KControl %s = %d\n", kcontrol.name, ret); in hda_cs_dsp_add_kcontrol()
132 dev_dbg(cs_ctl->dsp->dev, "Added KControl: %s\n", kcontrol.name); in hda_cs_dsp_add_kcontrol()
139 struct cs_dsp *cs_dsp = cs_ctl->dsp; in hda_cs_dsp_control_add()
177 void hda_cs_dsp_add_controls(struct cs_dsp *dsp, const struct hda_cs_dsp_ctl_info *info) in hda_cs_dsp_add_controls() argument
188 lockdep_assert_not_held(&dsp->pwr_lock); in hda_cs_dsp_add_controls()
[all …]
/linux-6.1.9/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-6.1.9/Documentation/devicetree/bindings/dsp/
Dfsl,dsp.yaml4 $id: http://devicetree.org/schemas/dsp/fsl,dsp.yaml#
20 - fsl,imx8qxp-dsp
21 - fsl,imx8qm-dsp
22 - fsl,imx8mp-dsp
23 - fsl,imx8ulp-dsp
80 fsl,dsp-ctrl:
101 - fsl,imx8qxp-dsp
102 - fsl,imx8qm-dsp
153 dsp@596e8000 {
154 compatible = "fsl,imx8qxp-dsp";
[all …]
Dmediatek,mt8195-dsp.yaml4 $id: http://devicetree.org/schemas/dsp/mediatek,mt8195-dsp.yaml#
18 const: mediatek,mt8195-dsp
32 - description: mux for audio dsp clock
34 - description: mux for audio dsp local bus
35 - description: default audio dsp local bus clock source
36 - description: clock gate for audio dsp clock
37 - description: mux for audio dsp access external bus
83 dsp@10803000 {
84 compatible = "mediatek,mt8195-dsp";
Dmediatek,mt8186-dsp.yaml4 $id: http://devicetree.org/schemas/dsp/mediatek,mt8186-dsp.yaml#
18 const: mediatek,mt8186-dsp
36 - description: mux for audio dsp clock
37 - description: mux for audio dsp local bus
77 dsp@10680000 {
78 compatible = "mediatek,mt8186-dsp";
/linux-6.1.9/Documentation/devicetree/bindings/remoteproc/
Dti,k3-dsp-rproc.yaml4 $id: http://devicetree.org/schemas/remoteproc/ti,k3-dsp-rproc.yaml#
34 - ti,j721e-c66-dsp
35 - ti,j721e-c71-dsp
36 - ti,j721s2-c71-dsp
38 Use "ti,j721e-c66-dsp" for C66x DSPs on K3 J721E SoCs
39 Use "ti,j721e-c71-dsp" for C71x DSPs on K3 J721E SoCs
40 Use "ti,j721s2-c71-dsp" for C71x DSPs on K3 J721S2 SoCs
94 - ti,j721e-c66-dsp
112 - ti,j721e-c71-dsp
113 - ti,j721s2-c71-dsp
[all …]
/linux-6.1.9/sound/pci/mixart/
Dmixart_hwdep.c90 static int mixart_load_elf(struct mixart_mgr *mgr, const struct firmware *dsp ) in mixart_load_elf() argument
96 elf_header = (struct snd_mixart_elf32_ehdr *)dsp->data; in mixart_load_elf()
107 memcpy( &elf_programheader, dsp->data + pos, sizeof(elf_programheader) ); in mixart_load_elf()
112 dsp->data + be32_to_cpu( elf_programheader.p_offset ), in mixart_load_elf()
337 static int mixart_dsp_load(struct mixart_mgr* mgr, int index, const struct firmware *dsp) in mixart_dsp_load() argument
373 if (((u32*)(dsp->data))[0] == 0xffffffff) in mixart_dsp_load()
375 if (dsp->size % 4) in mixart_dsp_load()
384 writel_be( dsp->size, MIXART_MEM( mgr, MIXART_PSEUDOREG_MXLX_SIZE_OFFSET )); in mixart_dsp_load()
387 memcpy_toio( MIXART_MEM( mgr, MIXART_MOTHERBOARD_XLX_BASE_ADDRESS), dsp->data, dsp->size); in mixart_dsp_load()
426 err = mixart_load_elf( mgr, dsp ); in mixart_dsp_load()
[all …]
/linux-6.1.9/sound/soc/intel/common/
Dsst-ipc.c55 spin_lock_irqsave(&ipc->dsp->spinlock, flags); 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()
165 if (ipc->ops.is_dsp_busy && ipc->ops.is_dsp_busy(ipc->dsp)) { in ipc_tx_msgs()
177 spin_unlock_irq(&ipc->dsp->spinlock); in ipc_tx_msgs()
191 if (ipc->ops.check_dsp_lp_on(ipc->dsp, true)) in sst_ipc_tx_message_wait()
197 if (ipc->ops.check_dsp_lp_on(ipc->dsp, false)) in sst_ipc_tx_message_wait()

123456789