Home
last modified time | relevance | path

Searched refs:acp_dev_data (Results 1 – 19 of 19) sorted by relevance

/linux-6.12.1/sound/soc/amd/acp/
Damd.h180 struct acp_dev_data { struct
241 int acp_machine_select(struct acp_dev_data *adata);
248 void acp_enable_interrupts(struct acp_dev_data *adata);
249 void acp_disable_interrupts(struct acp_dev_data *adata);
253 void config_pte_for_stream(struct acp_dev_data *adata, struct acp_stream *stream);
254 void config_acp_dma(struct acp_dev_data *adata, struct acp_stream *stream, int size);
256 struct acp_dev_data *adata);
259 struct acp_dev_data *adata, struct acp_stream *stream);
263 static inline u64 acp_get_byte_count(struct acp_dev_data *adata, int dai_id, int direction) in acp_get_byte_count()
Dacp-platform.c111 int acp_machine_select(struct acp_dev_data *adata) in acp_machine_select()
139 struct acp_dev_data *adata = data; in i2s_irq_handler()
177 void config_pte_for_stream(struct acp_dev_data *adata, struct acp_stream *stream) in config_pte_for_stream()
198 void config_acp_dma(struct acp_dev_data *adata, struct acp_stream *stream, int size) in config_acp_dma()
261 struct acp_dev_data *adata = dev_get_drvdata(dev); in acp_dma_open()
324 struct acp_dev_data *adata = snd_soc_component_get_drvdata(component); in acp_dma_hw_params()
339 struct acp_dev_data *adata = dev_get_drvdata(dev); in acp_dma_pointer()
371 struct acp_dev_data *adata = dev_get_drvdata(dev); in acp_dma_close()
395 struct acp_dev_data *adata = dev_get_drvdata(dev); in acp_platform_register()
423 struct acp_dev_data *adata = dev_get_drvdata(dev); in acp_platform_unregister()
Dacp-pdm.c33 struct acp_dev_data *adata = dev_get_drvdata(dev); in acp_dmic_prepare()
68 struct acp_dev_data *adata = dev_get_drvdata(dev); in acp_dmic_dai_trigger()
112 struct acp_dev_data *adata = dev_get_drvdata(dev); in acp_dmic_hwparams()
148 struct acp_dev_data *adata = dev_get_drvdata(dev); in acp_dmic_dai_startup()
168 struct acp_dev_data *adata = dev_get_drvdata(dev); in acp_dmic_dai_shutdown()
Dacp70.c140 static int acp70_i2s_master_clock_generate(struct acp_dev_data *adata) in acp70_i2s_master_clock_generate()
167 struct acp_dev_data *adata; in acp_acp70_audio_probe()
186 adata = devm_kzalloc(dev, sizeof(struct acp_dev_data), GFP_KERNEL); in acp_acp70_audio_probe()
240 struct acp_dev_data *adata = dev_get_drvdata(dev); in acp_acp70_audio_remove()
249 struct acp_dev_data *adata = dev_get_drvdata(dev); in acp70_pcm_resume()
Dacp63.c161 static int acp63_i2s_master_clock_generate(struct acp_dev_data *adata) in acp63_i2s_master_clock_generate()
200 struct acp_dev_data *adata; in acp63_audio_probe()
215 adata = devm_kzalloc(dev, sizeof(struct acp_dev_data), GFP_KERNEL); in acp63_audio_probe()
265 struct acp_dev_data *adata = dev_get_drvdata(dev); in acp63_audio_remove()
274 struct acp_dev_data *adata = dev_get_drvdata(dev); in acp63_pcm_resume()
Dacp-renoir.c150 struct acp_dev_data *adata; in renoir_audio_probe()
165 adata = devm_kzalloc(dev, sizeof(struct acp_dev_data), GFP_KERNEL); in renoir_audio_probe()
209 struct acp_dev_data *adata = dev_get_drvdata(dev); in renoir_audio_remove()
217 struct acp_dev_data *adata = dev_get_drvdata(dev); in rn_pcm_resume()
Dacp-legacy-common.c24 void acp_enable_interrupts(struct acp_dev_data *adata) in acp_enable_interrupts()
36 void acp_disable_interrupts(struct acp_dev_data *adata) in acp_disable_interrupts()
51 struct acp_dev_data *adata = dev_get_drvdata(dev); in set_acp_pdm_ring_buffer()
70 struct acp_dev_data *adata = dev_get_drvdata(dev); in set_acp_pdm_clk()
82 struct acp_dev_data *adata) in restore_acp_pdm_params()
106 struct acp_dev_data *adata = dev_get_drvdata(dev); in set_acp_i2s_dma_fifo()
193 struct acp_dev_data *adata, in restore_acp_i2s_params()
Dacp-rembrandt.c190 struct acp_dev_data *adata; in rembrandt_audio_probe()
205 adata = devm_kzalloc(dev, sizeof(struct acp_dev_data), GFP_KERNEL); in rembrandt_audio_probe()
256 struct acp_dev_data *adata = dev_get_drvdata(dev); in rembrandt_audio_remove()
265 struct acp_dev_data *adata = dev_get_drvdata(dev); in rmb_pcm_resume()
Dacp-i2s.c34 static inline void acp_set_i2s_clk(struct acp_dev_data *adata, int dai_id) in acp_set_i2s_clk()
78 struct acp_dev_data *adata = snd_soc_dai_get_drvdata(cpu_dai); in acp_i2s_set_fmt()
99 struct acp_dev_data *adata = snd_soc_dai_get_drvdata(dai); in acp_i2s_set_tdm_slot()
195 struct acp_dev_data *adata; in acp_i2s_hwparams()
389 struct acp_dev_data *adata = dev_get_drvdata(dev); in acp_i2s_trigger()
519 struct acp_dev_data *adata = dev_get_drvdata(dev); in acp_i2s_prepare()
636 struct acp_dev_data *adata = dev_get_drvdata(dev); in acp_i2s_startup()
Dacp-pci.c198 struct acp_dev_data *adata; in snd_acp_resume()
/linux-6.12.1/sound/soc/sof/amd/
Dacp.c63 static void init_dma_descriptor(struct acp_dev_data *adata) in init_dma_descriptor()
67 struct acp_dev_data *acp_data = sdev->pdata->hw_pdata; in init_dma_descriptor()
87 static void configure_dma_descriptor(struct acp_dev_data *adata, unsigned short idx, in configure_dma_descriptor()
102 static int config_dma_channel(struct acp_dev_data *adata, unsigned int ch, in config_dma_channel()
106 struct acp_dev_data *acp_data = sdev->pdata->hw_pdata; in config_dma_channel()
155 static int acpbus_dma_start(struct acp_dev_data *adata, unsigned int ch, in acpbus_dma_start()
175 int configure_and_run_dma(struct acp_dev_data *adata, unsigned int src_addr, in configure_and_run_dma()
208 static int psp_mbox_ready(struct acp_dev_data *adata, bool ack) in psp_mbox_ready()
233 static int psp_send_cmd(struct acp_dev_data *adata, int cmd) in psp_send_cmd()
267 int configure_and_run_sha_dma(struct acp_dev_data *adata, void *image_addr, in configure_and_run_sha_dma()
[all …]
Dacp-trace.c21 struct acp_dev_data *adata; in acp_sof_trace_release()
41 struct acp_dev_data *adata; in acp_sof_trace_init()
Dacp-loader.c53 struct acp_dev_data *adata; in acp_dsp_block_write()
117 static void configure_pte_for_fw_loading(int type, int num_pages, struct acp_dev_data *adata) in configure_pte_for_fw_loading()
169 struct acp_dev_data *adata; in acp_dsp_pre_fw_run()
251 struct acp_dev_data *adata = sdev->pdata->hw_pdata; in acp_sof_dsp_run()
272 struct acp_dev_data *adata = plat_data->hw_pdata; in acp_sof_load_signed_firmware()
Dacp-stream.c129 struct acp_dev_data *adata = sdev->pdata->hw_pdata; in acp_dsp_stream_get()
158 struct acp_dev_data *adata = sdev->pdata->hw_pdata; in acp_dsp_stream_put()
177 struct acp_dev_data *adata = sdev->pdata->hw_pdata; in acp_dsp_stream_init()
Dacp.h226 struct acp_dev_data { struct
270 int acp_dma_status(struct acp_dev_data *adata, unsigned char ch); argument
271 int configure_and_run_dma(struct acp_dev_data *adata, unsigned int src_addr,
273 int configure_and_run_sha_dma(struct acp_dev_data *adata, void *image_addr,
Dacp-common.c124 struct acp_dev_data *acp_data = sdev->pdata->hw_pdata; in amd_sof_sdw_get_slave_info()
133 struct acp_dev_data *acp_data = sdev->pdata->hw_pdata; in amd_sof_sdw_machine_select()
177 struct acp_dev_data *acp_data = sdev->pdata->hw_pdata; in amd_sof_machine_select()
Dacp-probes.c29 struct acp_dev_data *adata; in acp_probes_compr_startup()
51 struct acp_dev_data *adata; in acp_probes_compr_shutdown()
Dacp-ipc.c30 static void acpbus_trigger_host_to_dsp_swintr(struct acp_dev_data *adata) in acpbus_trigger_host_to_dsp_swintr()
69 struct acp_dev_data *adata = sdev->pdata->hw_pdata; in acp_sof_ipc_send_msg()
159 struct acp_dev_data *adata = sdev->pdata->hw_pdata; in acp_sof_ipc_irq_thread()
/linux-6.12.1/sound/soc/amd/renoir/
Drn-pci-acp3x.c32 struct acp_dev_data { struct
208 struct acp_dev_data *adata; in snd_rn_acp_probe()
239 adata = devm_kzalloc(&pci->dev, sizeof(struct acp_dev_data), in snd_rn_acp_probe()
359 struct acp_dev_data *adata; in snd_rn_acp_suspend()
374 struct acp_dev_data *adata; in snd_rn_acp_resume()
396 struct acp_dev_data *adata; in snd_rn_acp_remove()