/linux/drivers/isdn/mISDN/ |
A D | dsp_cmx.c | 245 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 D | dsp_core.c | 188 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 D | dsp_dtmf.c | 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() 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 D | dsp.h | 92 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 D | dsp_blowfish.c | 369 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 D | dsp_hwec.c | 34 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 D | dsp_tones.c | 375 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 D | dsp_hwec.h | 7 extern void dsp_hwec_enable(struct dsp *dsp, const char *arg); 8 extern void dsp_hwec_disable(struct dsp *dsp);
|
/linux/drivers/firmware/cirrus/ |
A D | cs_dsp.c | 628 struct cs_dsp *dsp = ctl->dsp; in cs_dsp_coeff_base_reg() local 657 struct cs_dsp *dsp = ctl->dsp; in cs_dsp_coeff_write_acked_control() local 721 struct cs_dsp *dsp = ctl->dsp; in cs_dsp_coeff_write_ctrl_raw() local 778 struct cs_dsp *dsp = ctl->dsp; in cs_dsp_coeff_read_ctrl_raw() local 949 ctl->dsp = dsp; in cs_dsp_create_control() 2511 dsp->ops->disable_core(dsp); in cs_dsp_power_up() 2520 dsp->ops->disable_core(dsp); in cs_dsp_power_up() 2609 ret = dsp->ops->lock_memory(dsp, dsp->lock_regions); in cs_dsp_run() 2636 dsp->ops->stop_core(dsp); in cs_dsp_run() 2638 dsp->ops->disable_core(dsp); in cs_dsp_run() [all …]
|
/linux/sound/soc/codecs/ |
A D | wm_adsp.c | 592 struct wm_adsp *dsp = container_of(ctl->cs_ctl->dsp, in wm_adsp_ctl_work() local 809 p = devm_kstrdup(dsp->cs_dsp.dev, dsp->cs_dsp.name, GFP_KERNEL); in wm_adsp_common_init() 1167 compr->dsp = dsp; in wm_adsp_compr_open() 1186 struct wm_adsp *dsp = compr->dsp; in wm_adsp_compr_free() local 1206 struct wm_adsp *dsp = compr->dsp; in wm_adsp_compr_check_params() local 1379 buf->dsp = dsp; in wm_adsp_buffer_alloc() 1490 adsp_err(dsp, in wm_adsp_buffer_parse_coeff() 1582 struct wm_adsp *dsp = compr->dsp; in wm_adsp_compr_trigger() local 1747 struct wm_adsp *dsp = compr->dsp; in wm_adsp_compr_pointer() local 1861 struct wm_adsp *dsp = compr->dsp; in wm_adsp_compr_read() local [all …]
|
A D | wm_adsp.h | 70 int wm_adsp1_init(struct wm_adsp *dsp); 71 int wm_adsp2_init(struct wm_adsp *dsp); 72 void wm_adsp2_remove(struct wm_adsp *dsp); 73 int wm_adsp2_component_probe(struct wm_adsp *dsp, struct snd_soc_component *component); 74 int wm_adsp2_component_remove(struct wm_adsp *dsp, struct snd_soc_component *component); 75 int wm_halo_init(struct wm_adsp *dsp); 101 int wm_adsp_compr_open(struct wm_adsp *dsp, struct snd_compr_stream *stream); 112 int wm_adsp_compr_handle_irq(struct wm_adsp *dsp); 119 int wm_adsp_write_ctl(struct wm_adsp *dsp, const char *name, int type, 121 int wm_adsp_read_ctl(struct wm_adsp *dsp, const char *name, int type,
|
/linux/include/linux/firmware/cirrus/ |
A D | cs_dsp.h | 85 struct cs_dsp *dsp; member 193 int (*post_run)(struct cs_dsp *dsp); 194 void (*post_stop)(struct cs_dsp *dsp); 198 int cs_dsp_adsp1_init(struct cs_dsp *dsp); 199 int cs_dsp_adsp2_init(struct cs_dsp *dsp); 200 int cs_dsp_halo_init(struct cs_dsp *dsp); 207 int cs_dsp_power_up(struct cs_dsp *dsp, 211 void cs_dsp_power_down(struct cs_dsp *dsp); 212 int cs_dsp_run(struct cs_dsp *dsp); 213 void cs_dsp_stop(struct cs_dsp *dsp); [all …]
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
A D | cirrus,lochnagar.yaml | 94 dsp-gpio3, dsp-gpio4, dsp-gpio5, dsp-gpio6, 100 dsp-aif1-rxdat, dsp-aif1-lrclk, dsp-aif1-txdat, 101 dsp-aif2-bclk, dsp-aif2-rxdat, dsp-aif2-lrclk, 110 dsp-uart1-tx, dsp-uart2-rx, dsp-uart2-tx, 116 dsp-dmicdat1, dsp-dmicclk2, dsp-dmicdat2, i2c2-scl, 129 dsp-gpio3, dsp-gpio4, dsp-gpio5, dsp-gpio6, 142 dsp-dmicclk2, dsp-dmicdat2, dsp-uart1-rx, 143 dsp-uart1-tx, dsp-uart2-rx, dsp-uart2-tx, 154 dsp-aif1-bclk, dsp-aif1-lrclk, dsp-aif1-rxdat, 155 dsp-aif1-txdat, dsp-aif2, dsp-aif2-bclk, [all …]
|
/linux/arch/mips/include/asm/ |
A D | dsp.h | 41 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/sound/soc/intel/skylake/ |
A D | cnl-sst.c | 314 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 D | skl-sst-ipc.c | 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() 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 D | cnl-sst-dsp.c | 210 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()
|
A D | skl-sst.c | 519 struct skl_dev **dsp) in skl_sst_dsp_init() argument 525 ret = skl_sst_ctx_init(dev, irq, fw_name, dsp_ops, dsp, &skl_dev); in skl_sst_dsp_init() 531 skl = *dsp; in skl_sst_dsp_init() 532 sst = skl->dsp; in skl_sst_dsp_init() 558 struct sst_dsp *sst = skl->dsp; in skl_sst_init_fw() 585 if (skl->dsp->fw) in skl_sst_dsp_cleanup() 586 release_firmware(skl->dsp->fw); in skl_sst_dsp_cleanup() 587 skl_clear_module_table(skl->dsp); in skl_sst_dsp_cleanup() 590 skl->dsp->ops->free(skl->dsp); in skl_sst_dsp_cleanup() 592 skl->dsp->cl_dev.ops.cl_cleanup_controller(skl->dsp); in skl_sst_dsp_cleanup() [all …]
|
/linux/arch/arm/boot/dts/ |
A D | keystone-k2hk.dtsi | 156 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/Documentation/devicetree/bindings/dsp/ |
A D | fsl,dsp.yaml | 4 $id: http://devicetree.org/schemas/dsp/fsl,dsp.yaml# 20 - fsl,imx8qxp-dsp 21 - fsl,imx8qm-dsp 22 - fsl,imx8mp-dsp 79 fsl,dsp-ctrl: 100 - fsl,imx8qxp-dsp 101 - fsl,imx8qm-dsp 152 dsp@596e8000 { 153 compatible = "fsl,imx8qxp-dsp"; 169 dsp_reserved: dsp@92400000 { [all …]
|
/linux/sound/pci/mixart/ |
A D | mixart_hwdep.c | 90 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/sound/soc/intel/common/ |
A D | sst-ipc.c | 55 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()
|
/linux/Documentation/devicetree/bindings/remoteproc/ |
A D | ti,k3-dsp-rproc.yaml | 4 $id: http://devicetree.org/schemas/remoteproc/ti,k3-dsp-rproc.yaml# 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 108 - ti,j721e-c71-dsp 150 dsp@4d80800000 { 151 compatible = "ti,j721e-c66-dsp"; 167 c71_0: dsp@64800000 { [all …]
|
/linux/arch/um/drivers/ |
A D | hostaudio_kern.c | 32 static char *dsp = HOSTAUDIO_DEV_DSP; variable 43 module_param(dsp, charp, 0644); 44 MODULE_PARM_DESC(dsp, DSP_HELP); 51 dsp = name; in set_dsp() 183 printk(KERN_DEBUG "hostaudio: open called (host: %s)\n", dsp); in hostaudio_open() 198 ret = os_open_file(dsp, of_set_rw(OPENFLAGS(), r, w), 0); in hostaudio_open() 266 "err = %d\n", dsp, -ret); in hostmixer_open_mixdev() 326 dsp, mixer); in hostaudio_init_module()
|
/linux/drivers/scsi/ |
A D | 53c700.c | 584 slot->resume_offset = dsp; in save_for_reselection() 797 __u32 resume_offset = dsp, temp = dsp + 8; in process_extended_message() 878 __u32 temp = dsp + 8, resume_offset = dsp; in process_message() 897 dsp, dsps); in process_message() 1256 dsp, dsps); in process_script_interrupt() 1273 host->host_no, pun, lun, dsps & 0xfff, dsp, dsp - hostdata->pScript); in process_script_interrupt() 1274 resume_offset = dsp; in process_script_interrupt() 1326 switch(dsp - hostdata->pScript) { in process_selection() 1506 __u32 dsp; in NCR_700_intr() local 1530 dsp, dsps)); in NCR_700_intr() [all …]
|