/linux-6.1.9/sound/soc/sof/amd/ |
D | acp.c | 48 snd_sof_dsp_write(sdev, ACP_DSP_BAR, ACP_DMA_DESC_BASE_ADDR, addr); in init_dma_descriptor() 49 snd_sof_dsp_write(sdev, ACP_DSP_BAR, ACP_DMA_DESC_MAX_NUM_DSCR, ACP_MAX_DESC_CNT); in init_dma_descriptor() 62 snd_sof_dsp_write(sdev, ACP_DSP_BAR, offset, dscr_info->src_addr); in configure_dma_descriptor() 63 snd_sof_dsp_write(sdev, ACP_DSP_BAR, offset + 0x4, dscr_info->dest_addr); in configure_dma_descriptor() 64 snd_sof_dsp_write(sdev, ACP_DSP_BAR, offset + 0x8, dscr_info->tx_cnt.u32_all); in configure_dma_descriptor() 74 snd_sof_dsp_write(sdev, ACP_DSP_BAR, ACP_DMA_CNTL_0 + ch * sizeof(u32), in config_dma_channel() 88 snd_sof_dsp_write(sdev, ACP_DSP_BAR, (ACP_DMA_CNTL_0 + ch * sizeof(u32)), 0); in config_dma_channel() 89 snd_sof_dsp_write(sdev, ACP_DSP_BAR, ACP_DMA_DSCR_CNT_0 + ch * sizeof(u32), dscr_count); in config_dma_channel() 90 snd_sof_dsp_write(sdev, ACP_DSP_BAR, ACP_DMA_DSCR_STRT_IDX_0 + ch * sizeof(u32), idx); in config_dma_channel() 91 snd_sof_dsp_write(sdev, ACP_DSP_BAR, ACP_DMA_PRIO_0 + ch * sizeof(u32), 0); in config_dma_channel() [all …]
|
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-loader.c | 132 snd_sof_dsp_write(sdev, ACP_DSP_BAR, ACPAXI2AXI_ATU_BASE_ADDR_GRP_1, in configure_pte_for_fw_loading() 134 snd_sof_dsp_write(sdev, ACP_DSP_BAR, ACPAXI2AXI_ATU_PAGE_SIZE_GRP_1, in configure_pte_for_fw_loading() 140 snd_sof_dsp_write(sdev, ACP_DSP_BAR, ACP_SCRATCH_REG_0 + offset, low); in configure_pte_for_fw_loading() 142 snd_sof_dsp_write(sdev, ACP_DSP_BAR, ACP_SCRATCH_REG_0 + offset + 4, high); in configure_pte_for_fw_loading() 148 snd_sof_dsp_write(sdev, ACP_DSP_BAR, ACPAXI2AXI_ATU_CTRL, ACP_ATU_CACHE_INVALID); in configure_pte_for_fw_loading() 204 snd_sof_dsp_write(sdev, ACP_DSP_BAR, ACP_DSP0_RUNSTALL, ACP_DSP_RUN); in acp_sof_dsp_run() 210 snd_sof_dsp_write(sdev, ACP_DSP_BAR, desc->fusion_dsp_offset, ACP_DSP_RUN); in acp_sof_dsp_run()
|
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()
|
D | acp-pcm.c | 50 snd_sof_dsp_write(sdev, ACP_DSP_BAR, ACP_SCRATCH_REG_0 + buf_offset, size); in acp_pcm_hw_params()
|
/linux-6.1.9/sound/soc/sof/intel/ |
D | hda-ctrl.c | 249 snd_sof_dsp_write(sdev, HDA_DSP_HDA_BAR, in hda_dsp_ctrl_init_chip() 255 snd_sof_dsp_write(sdev, HDA_DSP_HDA_BAR, SOF_HDA_WAKESTS, in hda_dsp_ctrl_init_chip() 264 snd_sof_dsp_write(sdev, HDA_DSP_HDA_BAR, SOF_HDA_INTSTS, in hda_dsp_ctrl_init_chip() 279 snd_sof_dsp_write(sdev, HDA_DSP_HDA_BAR, SOF_HDA_ADSP_DPLBASE, in hda_dsp_ctrl_init_chip() 281 snd_sof_dsp_write(sdev, HDA_DSP_HDA_BAR, SOF_HDA_ADSP_DPUBASE, in hda_dsp_ctrl_init_chip() 333 snd_sof_dsp_write(sdev, HDA_DSP_HDA_BAR, in hda_dsp_ctrl_stop_chip() 339 snd_sof_dsp_write(sdev, HDA_DSP_HDA_BAR, SOF_HDA_WAKESTS, in hda_dsp_ctrl_stop_chip() 348 snd_sof_dsp_write(sdev, HDA_DSP_HDA_BAR, SOF_HDA_INTSTS, in hda_dsp_ctrl_stop_chip() 357 snd_sof_dsp_write(sdev, HDA_DSP_HDA_BAR, in hda_dsp_ctrl_stop_chip() 359 snd_sof_dsp_write(sdev, HDA_DSP_HDA_BAR, in hda_dsp_ctrl_stop_chip()
|
D | hda-loader-skl.c | 183 snd_sof_dsp_write(sdev, HDA_DSP_BAR, in cl_skl_cldma_stream_clear() 185 snd_sof_dsp_write(sdev, HDA_DSP_BAR, in cl_skl_cldma_stream_clear() 189 snd_sof_dsp_write(sdev, HDA_DSP_BAR, in cl_skl_cldma_stream_clear() 192 snd_sof_dsp_write(sdev, HDA_DSP_BAR, in cl_skl_cldma_stream_clear() 207 snd_sof_dsp_write(sdev, HDA_DSP_BAR, in cl_skl_cldma_setup_spb() 228 snd_sof_dsp_write(sdev, HDA_DSP_BAR, in cl_skl_cldma_cleanup_spb() 242 snd_sof_dsp_write(sdev, HDA_DSP_BAR, in cl_skl_cldma_setup_controller() 245 snd_sof_dsp_write(sdev, HDA_DSP_BAR, in cl_skl_cldma_setup_controller() 250 snd_sof_dsp_write(sdev, HDA_DSP_BAR, in cl_skl_cldma_setup_controller() 253 snd_sof_dsp_write(sdev, HDA_DSP_BAR, in cl_skl_cldma_setup_controller()
|
D | hda-stream.c | 369 snd_sof_dsp_write(sdev, HDA_DSP_HDA_BAR, in hda_dsp_stream_trigger() 421 snd_sof_dsp_write(sdev, HDA_DSP_HDA_BAR, in hda_dsp_iccmax_stream_hw_params() 424 snd_sof_dsp_write(sdev, HDA_DSP_HDA_BAR, in hda_dsp_iccmax_stream_hw_params() 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() 445 snd_sof_dsp_write(sdev, HDA_DSP_HDA_BAR, in hda_dsp_iccmax_stream_hw_params() 536 snd_sof_dsp_write(sdev, HDA_DSP_HDA_BAR, in hda_dsp_stream_hw_params() 539 snd_sof_dsp_write(sdev, HDA_DSP_HDA_BAR, in hda_dsp_stream_hw_params() 584 snd_sof_dsp_write(sdev, HDA_DSP_HDA_BAR, in hda_dsp_stream_hw_params() 624 snd_sof_dsp_write(sdev, HDA_DSP_HDA_BAR, in hda_dsp_stream_hw_params() [all …]
|
D | cnl.c | 261 snd_sof_dsp_write(sdev, HDA_DSP_BAR, CNL_DSP_REG_HIPCIDD, msg_data->extension); in cnl_ipc4_send_msg() 262 snd_sof_dsp_write(sdev, HDA_DSP_BAR, CNL_DSP_REG_HIPCIDR, in cnl_ipc4_send_msg() 285 snd_sof_dsp_write(sdev, HDA_DSP_BAR, CNL_DSP_REG_HIPCIDD, in cnl_ipc_send_msg() 287 snd_sof_dsp_write(sdev, HDA_DSP_BAR, CNL_DSP_REG_HIPCIDR, in cnl_ipc_send_msg() 295 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() 79 snd_sof_dsp_write(sdev, HDA_DSP_BAR, HDA_DSP_REG_HIPCIE, msg_data->extension); in hda_dsp_ipc4_send_msg() 80 snd_sof_dsp_write(sdev, HDA_DSP_BAR, HDA_DSP_REG_HIPCI, in hda_dsp_ipc4_send_msg()
|
D | hda-loader.c | 127 snd_sof_dsp_write(sdev, HDA_DSP_BAR, chip->ipc_req, ipc_hdr); in cl_dsp_init() 265 snd_sof_dsp_write(sdev, HDA_DSP_HDA_BAR, in hda_cl_cleanup() 267 snd_sof_dsp_write(sdev, HDA_DSP_HDA_BAR, in hda_cl_cleanup() 270 snd_sof_dsp_write(sdev, HDA_DSP_HDA_BAR, sd_offset, 0); in hda_cl_cleanup()
|
D | mtl.c | 100 snd_sof_dsp_write(sdev, HDA_DSP_BAR, MTL_DSP_REG_HFIPCXIDDY, in mtl_ipc_send_msg() 102 snd_sof_dsp_write(sdev, HDA_DSP_BAR, MTL_DSP_REG_HFIPCXIDR, in mtl_ipc_send_msg() 441 snd_sof_dsp_write(sdev, HDA_DSP_BAR, chip->ipc_req, ipc_hdr); in mtl_dsp_cl_init()
|
/linux-6.1.9/sound/soc/sof/mediatek/mt8186/ |
D | mt8186-clk.c | 87 snd_sof_dsp_write(sdev, DSP_REG_BAR, ADSP_CK_EN, in mt8186_adsp_clock_on() 89 snd_sof_dsp_write(sdev, DSP_REG_BAR, ADSP_UART_CTRL, in mt8186_adsp_clock_on() 97 snd_sof_dsp_write(sdev, DSP_REG_BAR, ADSP_CK_EN, 0); in mt8186_adsp_clock_off() 98 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 | 264 snd_sof_dsp_write(sdev, DSP_BUSREG_BAR, DSP_C0_EMI_MAP_ADDR, offset); in adsp_memory_remap_init() 265 snd_sof_dsp_write(sdev, DSP_BUSREG_BAR, DSP_C0_DMAEMI_MAP_ADDR, offset); in adsp_memory_remap_init()
|
/linux-6.1.9/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 | 305 static inline void snd_sof_dsp_write(struct snd_sof_dev *sdev, u32 bar, in snd_sof_dsp_write() function
|
/linux-6.1.9/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()
|