/Linux-v6.6/sound/soc/sof/amd/ |
D | acp.c | 70 snd_sof_dsp_write(sdev, ACP_DSP_BAR, ACP_DMA_DESC_BASE_ADDR, addr); in init_dma_descriptor() 71 snd_sof_dsp_write(sdev, ACP_DSP_BAR, ACP_DMA_DESC_MAX_NUM_DSCR, ACP_MAX_DESC_CNT); in init_dma_descriptor() 84 snd_sof_dsp_write(sdev, ACP_DSP_BAR, offset, dscr_info->src_addr); in configure_dma_descriptor() 85 snd_sof_dsp_write(sdev, ACP_DSP_BAR, offset + 0x4, dscr_info->dest_addr); in configure_dma_descriptor() 86 snd_sof_dsp_write(sdev, ACP_DSP_BAR, offset + 0x8, dscr_info->tx_cnt.u32_all); in configure_dma_descriptor() 96 snd_sof_dsp_write(sdev, ACP_DSP_BAR, ACP_DMA_CNTL_0 + ch * sizeof(u32), in config_dma_channel() 110 snd_sof_dsp_write(sdev, ACP_DSP_BAR, (ACP_DMA_CNTL_0 + ch * sizeof(u32)), 0); in config_dma_channel() 111 snd_sof_dsp_write(sdev, ACP_DSP_BAR, ACP_DMA_DSCR_CNT_0 + ch * sizeof(u32), dscr_count); in config_dma_channel() 112 snd_sof_dsp_write(sdev, ACP_DSP_BAR, ACP_DMA_DSCR_STRT_IDX_0 + ch * sizeof(u32), idx); in config_dma_channel() 113 snd_sof_dsp_write(sdev, ACP_DSP_BAR, ACP_DMA_PRIO_0 + ch * sizeof(u32), 0); in config_dma_channel() [all …]
|
D | acp-loader.c | 131 snd_sof_dsp_write(sdev, ACP_DSP_BAR, ACPAXI2AXI_ATU_BASE_ADDR_GRP_1, in configure_pte_for_fw_loading() 133 snd_sof_dsp_write(sdev, ACP_DSP_BAR, ACPAXI2AXI_ATU_PAGE_SIZE_GRP_1, in configure_pte_for_fw_loading() 139 snd_sof_dsp_write(sdev, ACP_DSP_BAR, ACP_SCRATCH_REG_0 + offset, low); in configure_pte_for_fw_loading() 141 snd_sof_dsp_write(sdev, ACP_DSP_BAR, ACP_SCRATCH_REG_0 + offset + 4, high); in configure_pte_for_fw_loading() 147 snd_sof_dsp_write(sdev, ACP_DSP_BAR, ACPAXI2AXI_ATU_CTRL, ACP_ATU_CACHE_INVALID); in configure_pte_for_fw_loading() 193 snd_sof_dsp_write(sdev, ACP_DSP_BAR, ACP_DSP0_CACHE_OFFSET0, desc->sram_pte_offset); in acp_dsp_pre_fw_run() 194 snd_sof_dsp_write(sdev, ACP_DSP_BAR, ACP_DSP0_CACHE_SIZE0, SRAM1_SIZE | BIT(31)); in acp_dsp_pre_fw_run() 214 snd_sof_dsp_write(sdev, ACP_DSP_BAR, ACP_DSP0_RUNSTALL, ACP_DSP_RUN); in acp_sof_dsp_run() 220 snd_sof_dsp_write(sdev, ACP_DSP_BAR, desc->fusion_dsp_offset, ACP_DSP_RUN); in acp_sof_dsp_run()
|
D | acp-stream.c | 97 snd_sof_dsp_write(sdev, ACP_DSP_BAR, ACP_SCRATCH_REG_0 + in acp_dsp_stream_config() 103 snd_sof_dsp_write(sdev, ACP_DSP_BAR, pte_reg, reg_val | BIT(31)); in acp_dsp_stream_config() 104 snd_sof_dsp_write(sdev, ACP_DSP_BAR, pte_size, PAGE_SIZE_4K_ENABLE); in acp_dsp_stream_config() 113 snd_sof_dsp_write(sdev, ACP_DSP_BAR, ACP_SCRATCH_REG_0 + offset, low); in acp_dsp_stream_config() 116 snd_sof_dsp_write(sdev, ACP_DSP_BAR, ACP_SCRATCH_REG_0 + offset + 4, high); in acp_dsp_stream_config() 122 snd_sof_dsp_write(sdev, ACP_DSP_BAR, ACPAXI2AXI_ATU_CTRL, ACP_ATU_CACHE_INVALID); in acp_dsp_stream_config()
|
D | acp-ipc.c | 39 snd_sof_dsp_write(sdev, ACP_DSP_BAR, desc->dsp_intr_base + DSP_SW_INTR_TRIG_OFFSET, in acpbus_trigger_host_to_dsp_swintr() 48 snd_sof_dsp_write(sdev, ACP_DSP_BAR, ACP_SCRATCH_REG_0 + host_msg, 1); in acp_ipc_host_msg_set() 56 snd_sof_dsp_write(sdev, ACP_DSP_BAR, ACP_SCRATCH_REG_0 + dsp_msg, 0); in acp_dsp_ipc_host_done() 64 snd_sof_dsp_write(sdev, ACP_DSP_BAR, ACP_SCRATCH_REG_0 + dsp_ack, 0); in acp_dsp_ipc_dsp_done() 90 snd_sof_dsp_write(sdev, ACP_DSP_BAR, desc->hw_semaphore_offset, 0x0); in acp_sof_ipc_send_msg() 227 snd_sof_dsp_write(sdev, ACP_DSP_BAR, desc->probe_reg_offset, posn); in acp_sof_ipc_irq_thread()
|
D | acp-pcm.c | 51 snd_sof_dsp_write(sdev, ACP_DSP_BAR, ACP_SCRATCH_REG_0 + buf_offset, size); in acp_pcm_hw_params()
|
D | acp-probes.c | 96 snd_sof_dsp_write(sdev, ACP_DSP_BAR, ACP_SCRATCH_REG_0 + buf_offset, size); in acp_probes_compr_set_params()
|
/Linux-v6.6/sound/soc/sof/intel/ |
D | hda-ctrl.c | 217 snd_sof_dsp_write(sdev, HDA_DSP_HDA_BAR, in hda_dsp_ctrl_init_chip() 223 snd_sof_dsp_write(sdev, HDA_DSP_HDA_BAR, SOF_HDA_WAKESTS, in hda_dsp_ctrl_init_chip() 229 snd_sof_dsp_write(sdev, HDA_DSP_HDA_BAR, SOF_HDA_INTSTS, in hda_dsp_ctrl_init_chip() 241 snd_sof_dsp_write(sdev, HDA_DSP_HDA_BAR, SOF_HDA_ADSP_DPLBASE, in hda_dsp_ctrl_init_chip() 243 snd_sof_dsp_write(sdev, HDA_DSP_HDA_BAR, SOF_HDA_ADSP_DPUBASE, in hda_dsp_ctrl_init_chip() 290 snd_sof_dsp_write(sdev, HDA_DSP_HDA_BAR, in hda_dsp_ctrl_stop_chip() 296 snd_sof_dsp_write(sdev, HDA_DSP_HDA_BAR, SOF_HDA_WAKESTS, in hda_dsp_ctrl_stop_chip() 302 snd_sof_dsp_write(sdev, HDA_DSP_HDA_BAR, SOF_HDA_INTSTS, in hda_dsp_ctrl_stop_chip() 309 snd_sof_dsp_write(sdev, HDA_DSP_HDA_BAR, in hda_dsp_ctrl_stop_chip() 311 snd_sof_dsp_write(sdev, HDA_DSP_HDA_BAR, in hda_dsp_ctrl_stop_chip()
|
D | hda-loader-skl.c | 182 snd_sof_dsp_write(sdev, HDA_DSP_BAR, in cl_skl_cldma_stream_clear() 184 snd_sof_dsp_write(sdev, HDA_DSP_BAR, in cl_skl_cldma_stream_clear() 188 snd_sof_dsp_write(sdev, HDA_DSP_BAR, in cl_skl_cldma_stream_clear() 191 snd_sof_dsp_write(sdev, HDA_DSP_BAR, in cl_skl_cldma_stream_clear() 206 snd_sof_dsp_write(sdev, HDA_DSP_BAR, in cl_skl_cldma_setup_spb() 227 snd_sof_dsp_write(sdev, HDA_DSP_BAR, in cl_skl_cldma_cleanup_spb() 241 snd_sof_dsp_write(sdev, HDA_DSP_BAR, in cl_skl_cldma_setup_controller() 244 snd_sof_dsp_write(sdev, HDA_DSP_BAR, in cl_skl_cldma_setup_controller() 249 snd_sof_dsp_write(sdev, HDA_DSP_BAR, in cl_skl_cldma_setup_controller() 252 snd_sof_dsp_write(sdev, HDA_DSP_BAR, in cl_skl_cldma_setup_controller()
|
D | hda-stream.c | 386 snd_sof_dsp_write(sdev, HDA_DSP_HDA_BAR, in hda_dsp_stream_trigger() 437 snd_sof_dsp_write(sdev, HDA_DSP_HDA_BAR, in hda_dsp_iccmax_stream_hw_params() 440 snd_sof_dsp_write(sdev, HDA_DSP_HDA_BAR, in hda_dsp_iccmax_stream_hw_params() 453 snd_sof_dsp_write(sdev, HDA_DSP_HDA_BAR, in hda_dsp_iccmax_stream_hw_params() 456 snd_sof_dsp_write(sdev, HDA_DSP_HDA_BAR, in hda_dsp_iccmax_stream_hw_params() 461 snd_sof_dsp_write(sdev, HDA_DSP_HDA_BAR, in hda_dsp_iccmax_stream_hw_params() 556 snd_sof_dsp_write(sdev, HDA_DSP_HDA_BAR, in hda_dsp_stream_hw_params() 559 snd_sof_dsp_write(sdev, HDA_DSP_HDA_BAR, in hda_dsp_stream_hw_params() 604 snd_sof_dsp_write(sdev, HDA_DSP_HDA_BAR, in hda_dsp_stream_hw_params() 642 snd_sof_dsp_write(sdev, HDA_DSP_HDA_BAR, in hda_dsp_stream_hw_params() [all …]
|
D | cnl.c | 279 snd_sof_dsp_write(sdev, HDA_DSP_BAR, CNL_DSP_REG_HIPCIDD, msg_data->extension); in cnl_ipc4_send_msg() 280 snd_sof_dsp_write(sdev, HDA_DSP_BAR, CNL_DSP_REG_HIPCIDR, in cnl_ipc4_send_msg() 305 snd_sof_dsp_write(sdev, HDA_DSP_BAR, CNL_DSP_REG_HIPCIDD, in cnl_ipc_send_msg() 307 snd_sof_dsp_write(sdev, HDA_DSP_BAR, CNL_DSP_REG_HIPCIDR, in cnl_ipc_send_msg() 315 snd_sof_dsp_write(sdev, HDA_DSP_BAR, CNL_DSP_REG_HIPCIDR, in cnl_ipc_send_msg()
|
D | bdw.c | 215 snd_sof_dsp_write(sdev, BDW_DSP_BAR, SHIM_IPCX, 0x0); in bdw_set_dsp_D0() 216 snd_sof_dsp_write(sdev, BDW_DSP_BAR, SHIM_IPCD, 0x0); in bdw_set_dsp_D0() 217 snd_sof_dsp_write(sdev, BDW_DSP_BAR, 0x80, 0x6); in bdw_set_dsp_D0() 218 snd_sof_dsp_write(sdev, BDW_DSP_BAR, 0xe0, 0x300a); in bdw_set_dsp_D0() 368 snd_sof_dsp_write(sdev, BDW_DSP_BAR, SHIM_IPCX, SHIM_IPCX_BUSY); in bdw_send_msg()
|
D | hda-ipc.c | 64 snd_sof_dsp_write(sdev, HDA_DSP_BAR, HDA_DSP_REG_HIPCI, in hda_dsp_ipc_send_msg() 113 snd_sof_dsp_write(sdev, HDA_DSP_BAR, HDA_DSP_REG_HIPCIE, msg_data->extension); in hda_dsp_ipc4_send_msg() 114 snd_sof_dsp_write(sdev, HDA_DSP_BAR, HDA_DSP_REG_HIPCI, in hda_dsp_ipc4_send_msg()
|
D | hda-loader.c | 129 snd_sof_dsp_write(sdev, HDA_DSP_BAR, chip->ipc_req, ipc_hdr); in cl_dsp_init() 267 snd_sof_dsp_write(sdev, HDA_DSP_HDA_BAR, in hda_cl_cleanup() 269 snd_sof_dsp_write(sdev, HDA_DSP_HDA_BAR, in hda_cl_cleanup() 272 snd_sof_dsp_write(sdev, HDA_DSP_HDA_BAR, sd_offset, 0); in hda_cl_cleanup()
|
D | mtl.c | 111 snd_sof_dsp_write(sdev, HDA_DSP_BAR, MTL_DSP_REG_HFIPCXIDDY, in mtl_ipc_send_msg() 113 snd_sof_dsp_write(sdev, HDA_DSP_BAR, MTL_DSP_REG_HFIPCXIDR, in mtl_ipc_send_msg() 448 snd_sof_dsp_write(sdev, HDA_DSP_BAR, chip->ipc_req, ipc_hdr); in mtl_dsp_cl_init()
|
/Linux-v6.6/sound/soc/sof/mediatek/mt8186/ |
D | mt8186-clk.c | 86 snd_sof_dsp_write(sdev, DSP_REG_BAR, ADSP_CK_EN, in mt8186_adsp_clock_on() 88 snd_sof_dsp_write(sdev, DSP_REG_BAR, ADSP_UART_CTRL, in mt8186_adsp_clock_on() 96 snd_sof_dsp_write(sdev, DSP_REG_BAR, ADSP_CK_EN, 0); in mt8186_adsp_clock_off() 97 snd_sof_dsp_write(sdev, DSP_REG_BAR, ADSP_UART_CTRL, 0); in mt8186_adsp_clock_off()
|
D | mt8186-loader.c | 26 snd_sof_dsp_write(sdev, DSP_SECREG_BAR, ADSP_ALTVEC_C0, boot_addr); in mt8186_sof_hifixdsp_boot_sequence() 27 snd_sof_dsp_write(sdev, DSP_SECREG_BAR, ADSP_ALTVECSEL, ADSP_ALTVECSEL_C0); in mt8186_sof_hifixdsp_boot_sequence()
|
D | mt8186.c | 239 snd_sof_dsp_write(sdev, DSP_BUSREG_BAR, DSP_C0_EMI_MAP_ADDR, offset); in adsp_memory_remap_init() 240 snd_sof_dsp_write(sdev, DSP_BUSREG_BAR, DSP_C0_DMAEMI_MAP_ADDR, offset); in adsp_memory_remap_init()
|
/Linux-v6.6/sound/soc/sof/ |
D | ops.c | 65 snd_sof_dsp_write(sdev, bar, offset, new); in snd_sof_dsp_update_bits_unlocked() 130 snd_sof_dsp_write(sdev, bar, offset, new); in snd_sof_dsp_update_bits_forced_unlocked()
|
D | ops.h | 314 static inline void snd_sof_dsp_write(struct snd_sof_dev *sdev, u32 bar, in snd_sof_dsp_write() function
|
/Linux-v6.6/sound/soc/sof/mediatek/mt8195/ |
D | mt8195-loader.c | 16 snd_sof_dsp_write(sdev, DSP_REG_BAR, DSP_ALTRESETVEC, boot_addr); in sof_hifixdsp_boot_sequence()
|