Home
last modified time | relevance | path

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

123456789

/linux-6.3-rc2/drivers/isdn/mISDN/
A Ddsp_cmx.c245 member->dsp = dsp; in dsp_cmx_add_conf_member()
289 if (member->dsp == dsp) { in dsp_cmx_del_conf_member()
527 dsp = member->dsp; in dsp_cmx_hardware()
674 dsp = member->dsp; in dsp_cmx_hardware()
1211 dsp->rx_W = (dsp->rx_R + dsp->cmx_delay) in dsp_cmx_receive()
1243 dsp->rx_W = (dsp->rx_R + dsp->cmx_delay) in dsp_cmx_receive()
1270 dsp->rx_W = (dsp->rx_R + dsp->cmx_delay) in dsp_cmx_receive()
1283 (u_long)dsp, dsp->rx_R, dsp->rx_W, len, dsp->name); in dsp_cmx_receive()
1632 struct dsp *dsp; local
1712 dsp = member->dsp;
[all …]
A Ddsp_core.c188 dsp_rx_off_member(struct dsp *dsp) in dsp_rx_off_member() argument
235 dsp_rx_off(struct dsp *dsp) in dsp_rx_off() argument
255 dsp_fill_empty(struct dsp *dsp) in dsp_fill_empty() argument
380 dsp_cmx_hardware(dsp->conf, dsp); in dsp_control_req()
400 dsp_cmx_hardware(dsp->conf, dsp); in dsp_control_req()
417 dsp_cmx_hardware(dsp->conf, dsp); in dsp_control_req()
425 dsp_cmx_hardware(dsp->conf, dsp); in dsp_control_req()
628 struct dsp *dsp = container_of(ch, struct dsp, ch); in get_features() local
666 struct dsp *dsp = container_of(ch, struct dsp, ch); in dsp_function() local
954 struct dsp *dsp = container_of(ch, struct dsp, ch); in dsp_ctrl() local
[all …]
A 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()
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()
61 if (dsp->tx_volume) { in dsp_dtmf_hardware()
68 if (dsp->rx_volume) { in dsp_dtmf_hardware()
76 if (dsp->bf_enable) { in dsp_dtmf_hardware()
118 *dsp_dtmf_goertzel_decode(struct dsp *dsp, u8 *data, int len, int fmt) in dsp_dtmf_goertzel_decode() argument
181 dsp->dtmf.size = 0; in dsp_dtmf_goertzel_decode()
[all …]
A Ddsp.h92 struct dsp;
95 struct dsp *dsp; member
170 struct dsp { struct
245 extern void dsp_cmx_debug(struct dsp *dsp); argument
247 extern int dsp_cmx_conf(struct dsp *dsp, u32 conf_id);
252 extern int dsp_cmx_del_conf_member(struct dsp *dsp);
255 extern void dsp_dtmf_goertzel_init(struct dsp *dsp);
256 extern void dsp_dtmf_hardware(struct dsp *dsp);
260 extern int dsp_tone(struct dsp *dsp, int tone);
261 extern void dsp_tone_copy(struct dsp *dsp, u8 *data, int len);
[all …]
A Ddsp_blowfish.c369 dsp_bf_encrypt(struct dsp *dsp, u8 *data, int len) in dsp_bf_encrypt() argument
374 u32 *P = dsp->bf_p; in dsp_bf_encrypt()
375 u32 *S = dsp->bf_s; in dsp_bf_encrypt()
458 dsp_bf_decrypt(struct dsp *dsp, u8 *data, int len) in dsp_bf_decrypt() argument
466 u32 *P = dsp->bf_p; in dsp_bf_decrypt()
467 u32 *S = dsp->bf_s; in dsp_bf_decrypt()
557 dsp->bf_sync = sync; in dsp_bf_decrypt()
599 dsp_bf_init(struct dsp *dsp, const u8 *key, uint keylen) in dsp_bf_init() argument
620 dsp->bf_enable = 1; in dsp_bf_init()
669 dsp_bf_cleanup(struct dsp *dsp) in dsp_bf_cleanup() argument
[all …]
A 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()
A 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()
496 dsp_tone(struct dsp *dsp, int tone) in dsp_tone() argument
509 if (dsp->features.hfc_loops) in dsp_tone()
[all …]
A 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.3-rc2/drivers/firmware/cirrus/
A Dcs_dsp.c623 struct cs_dsp *dsp = ctl->dsp; in cs_dsp_coeff_base_reg() local
652 struct cs_dsp *dsp = ctl->dsp; in cs_dsp_coeff_write_acked_control() local
718 struct cs_dsp *dsp = ctl->dsp; in cs_dsp_coeff_write_ctrl_raw() local
793 struct cs_dsp *dsp = ctl->dsp; in cs_dsp_coeff_read_ctrl_raw() local
973 ctl->dsp = dsp; in cs_dsp_create_control()
2575 dsp->ops->disable_core(dsp); in cs_dsp_power_up()
2584 dsp->ops->disable_core(dsp); in cs_dsp_power_up()
2679 ret = dsp->ops->lock_memory(dsp, dsp->lock_regions); in cs_dsp_run()
2706 dsp->ops->stop_core(dsp); in cs_dsp_run()
2708 dsp->ops->disable_core(dsp); in cs_dsp_run()
[all …]
/linux-6.3-rc2/sound/soc/codecs/
A Dwm_adsp.c560 struct wm_adsp *dsp = container_of(cs_ctl->dsp, in wm_adsp_ctl_work() local
854 cirrus_dir, dsp->part, dsp->fwf_name, wm_adsp_fw[dsp->fw].file, in wm_adsp_request_firmware_files()
1054 return (*dsp->pre_run)(dsp); in wm_adsp_pre_run()
1244 compr->dsp = dsp; in wm_adsp_compr_open()
1263 struct wm_adsp *dsp = compr->dsp; in wm_adsp_compr_free() local
1283 struct wm_adsp *dsp = compr->dsp; in wm_adsp_compr_check_params() local
1456 buf->dsp = dsp; in wm_adsp_buffer_alloc()
1674 struct wm_adsp *dsp = compr->dsp; in wm_adsp_compr_trigger() local
1839 struct wm_adsp *dsp = compr->dsp; in wm_adsp_compr_pointer() local
1953 struct wm_adsp *dsp = compr->dsp; in wm_adsp_compr_read() local
[all …]
A Dwm_adsp.h39 int (*pre_run)(struct wm_adsp *dsp);
80 int wm_adsp1_init(struct wm_adsp *dsp);
81 int wm_adsp2_init(struct wm_adsp *dsp);
82 void wm_adsp2_remove(struct wm_adsp *dsp);
83 int wm_adsp2_component_probe(struct wm_adsp *dsp, struct snd_soc_component *component);
84 int wm_adsp2_component_remove(struct wm_adsp *dsp, struct snd_soc_component *component);
85 int wm_halo_init(struct wm_adsp *dsp);
111 int wm_adsp_compr_open(struct wm_adsp *dsp, struct snd_compr_stream *stream);
122 int wm_adsp_compr_handle_irq(struct wm_adsp *dsp);
129 int wm_adsp_write_ctl(struct wm_adsp *dsp, const char *name, int type,
[all …]
/linux-6.3-rc2/include/linux/firmware/cirrus/
A 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);
211 int cs_dsp_adsp1_init(struct cs_dsp *dsp);
213 int cs_dsp_halo_init(struct cs_dsp *dsp);
220 int cs_dsp_power_up(struct cs_dsp *dsp,
225 int cs_dsp_run(struct cs_dsp *dsp);
226 void cs_dsp_stop(struct cs_dsp *dsp);
[all …]
/linux-6.3-rc2/Documentation/devicetree/bindings/pinctrl/
A Dcirrus,lochnagar.yaml85 dsp-gpio3, dsp-gpio4, dsp-gpio5, dsp-gpio6,
91 dsp-aif1-rxdat, dsp-aif1-lrclk, dsp-aif1-txdat,
92 dsp-aif2-bclk, dsp-aif2-rxdat, dsp-aif2-lrclk,
101 dsp-uart1-tx, dsp-uart2-rx, dsp-uart2-tx,
107 dsp-dmicdat1, dsp-dmicclk2, dsp-dmicdat2, i2c2-scl,
120 dsp-gpio3, dsp-gpio4, dsp-gpio5, dsp-gpio6,
133 dsp-dmicclk2, dsp-dmicdat2, dsp-uart1-rx,
134 dsp-uart1-tx, dsp-uart2-rx, dsp-uart2-tx,
145 dsp-aif1-bclk, dsp-aif1-lrclk, dsp-aif1-rxdat,
146 dsp-aif1-txdat, dsp-aif2, dsp-aif2-bclk,
[all …]
/linux-6.3-rc2/arch/mips/include/asm/
A 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(); \
58 mthi1(tsk->thread.dsp.dspr[0]); \
59 mtlo1(tsk->thread.dsp.dspr[1]); \
60 mthi2(tsk->thread.dsp.dspr[2]); \
61 mtlo2(tsk->thread.dsp.dspr[3]); \
62 mthi3(tsk->thread.dsp.dspr[4]); \
63 mtlo3(tsk->thread.dsp.dspr[5]); \
[all …]
/linux-6.3-rc2/sound/soc/intel/skylake/
A Dcnl-sst.c314 struct sst_dsp *dsp = context; in cnl_dsp_irq_thread_handler() local
374 cnl_ipc_int_enable(dsp); in cnl_dsp_irq_thread_handler()
414 ipc->dsp = cnl->dsp; in cnl_ipc_init()
437 struct skl_dev **dsp) in cnl_sst_dsp_init() argument
449 cnl = *dsp; in cnl_sst_dsp_init()
450 sst = cnl->dsp; in cnl_sst_dsp_init()
479 struct sst_dsp *sst = skl->dsp; in cnl_sst_init_fw()
481 ret = skl->dsp->fw_ops.load_fw(sst); in cnl_sst_init_fw()
497 if (skl->dsp->fw) in cnl_sst_dsp_cleanup()
498 release_firmware(skl->dsp->fw); in cnl_sst_dsp_cleanup()
[all …]
A Dskl-sst-ipc.c313 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()
424 ipc->dsp->fw_ops.get_fw_errcode(ipc->dsp)); in skl_ipc_set_reply_error_code()
428 ipc->dsp->fw_ops.get_fw_errcode(ipc->dsp)); in skl_ipc_set_reply_error_code()
491 struct sst_dsp *dsp = context; in skl_dsp_irq_thread_handler() local
498 if (dsp->intr_status & SKL_ADSPIS_CL_DMA) in skl_dsp_irq_thread_handler()
499 skl_cldma_process_intr(dsp); in skl_dsp_irq_thread_handler()
550 skl_ipc_int_enable(dsp); in skl_dsp_irq_thread_handler()
[all …]
A 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.3-rc2/sound/pci/hda/
A 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()
139 struct cs_dsp *cs_dsp = cs_ctl->dsp; in hda_cs_dsp_control_add()
188 lockdep_assert_not_held(&dsp->pwr_lock); in hda_cs_dsp_add_controls()
217 mutex_lock(&dsp->pwr_lock); in hda_cs_dsp_write_ctl()
218 cs_ctl = cs_dsp_get_ctl(dsp, name, type, alg); in hda_cs_dsp_write_ctl()
220 mutex_unlock(&dsp->pwr_lock); in hda_cs_dsp_write_ctl()
240 mutex_lock(&dsp->pwr_lock); in hda_cs_dsp_read_ctl()
[all …]
/linux-6.3-rc2/arch/arm/boot/dts/
A Dkeystone-k2hk.dtsi156 dsp0: dsp@10800000 {
157 compatible = "ti,k2hk-dsp";
172 dsp1: dsp@11800000 {
173 compatible = "ti,k2hk-dsp";
188 dsp2: dsp@12800000 {
189 compatible = "ti,k2hk-dsp";
204 dsp3: dsp@13800000 {
220 dsp4: dsp@14800000 {
236 dsp5: dsp@15800000 {
252 dsp6: dsp@16800000 {
[all …]
/linux-6.3-rc2/Documentation/devicetree/bindings/dsp/
A 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 {
170 dsp_reserved: dsp@92400000 {
[all …]
A 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";
A Dmediatek,mt8186-dsp.yaml4 $id: http://devicetree.org/schemas/dsp/mediatek,mt8186-dsp.yaml#
19 - mediatek,mt8186-dsp
20 - mediatek,mt8188-dsp
38 - description: mux for audio dsp clock
39 - description: mux for audio dsp local bus
79 dsp@10680000 {
80 compatible = "mediatek,mt8186-dsp";
/linux-6.3-rc2/Documentation/devicetree/bindings/remoteproc/
A Dti,k3-dsp-rproc.yaml34 - ti,am62a-c7xv-dsp
35 - ti,j721e-c66-dsp
36 - ti,j721e-c71-dsp
37 - ti,j721s2-c71-dsp
96 - ti,j721e-c66-dsp
114 - ti,am62a-c7xv-dsp
115 - ti,j721e-c71-dsp
116 - ti,j721s2-c71-dsp
166 dsp@4d80800000 {
167 compatible = "ti,j721e-c66-dsp";
[all …]
/linux-6.3-rc2/sound/pci/mixart/
A 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()
373 if (((u32*)(dsp->data))[0] == 0xffffffff) in mixart_dsp_load()
375 if (dsp->size % 4) 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()
480 if (((u32*)(dsp->data))[0] == 0xffffffff) in mixart_dsp_load()
482 if (dsp->size % 4) in mixart_dsp_load()
[all …]
/linux-6.3-rc2/sound/soc/intel/common/
A 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()

Completed in 59 milliseconds

123456789