Home
last modified time | relevance | path

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

/Linux-v6.6/sound/soc/amd/acp/
Damd.h159 struct acp_dev_data { struct
204 int acp_machine_select(struct acp_dev_data *adata); argument
211 void acp_enable_interrupts(struct acp_dev_data *adata);
212 void acp_disable_interrupts(struct acp_dev_data *adata);
216 void config_pte_for_stream(struct acp_dev_data *adata, struct acp_stream *stream);
217 void config_acp_dma(struct acp_dev_data *adata, struct acp_stream *stream, int size);
219 struct acp_dev_data *adata);
222 struct acp_dev_data *adata, struct acp_stream *stream);
224 static inline u64 acp_get_byte_count(struct acp_dev_data *adata, int dai_id, int direction) in acp_get_byte_count()
276 static inline void acp_set_i2s_clk(struct acp_dev_data *adata, int dai_id) in acp_set_i2s_clk()
Dacp-platform.c69 int acp_machine_select(struct acp_dev_data *adata) in acp_machine_select()
92 struct acp_dev_data *adata = data; in i2s_irq_handler()
130 void config_pte_for_stream(struct acp_dev_data *adata, struct acp_stream *stream) in config_pte_for_stream()
148 void config_acp_dma(struct acp_dev_data *adata, struct acp_stream *stream, int size) in config_acp_dma()
178 struct acp_dev_data *adata = dev_get_drvdata(dev); in acp_dma_open()
214 struct acp_dev_data *adata = snd_soc_component_get_drvdata(component); in acp_dma_hw_params()
229 struct acp_dev_data *adata = dev_get_drvdata(dev); in acp_dma_pointer()
261 struct acp_dev_data *adata = dev_get_drvdata(dev); in acp_dma_close()
285 struct acp_dev_data *adata = dev_get_drvdata(dev); in acp_platform_register()
313 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()
63 struct acp_dev_data *adata = dev_get_drvdata(dev); in acp_dmic_dai_trigger()
107 struct acp_dev_data *adata = dev_get_drvdata(dev); in acp_dmic_hwparams()
143 struct acp_dev_data *adata = dev_get_drvdata(dev); in acp_dmic_dai_startup()
163 struct acp_dev_data *adata = dev_get_drvdata(dev); in acp_dmic_dai_shutdown()
Dacp-legacy-common.c19 void acp_enable_interrupts(struct acp_dev_data *adata) in acp_enable_interrupts()
31 void acp_disable_interrupts(struct acp_dev_data *adata) in acp_disable_interrupts()
46 struct acp_dev_data *adata = dev_get_drvdata(dev); in set_acp_pdm_ring_buffer()
65 struct acp_dev_data *adata = dev_get_drvdata(dev); in set_acp_pdm_clk()
77 struct acp_dev_data *adata) in restore_acp_pdm_params()
101 struct acp_dev_data *adata = dev_get_drvdata(dev); in set_acp_i2s_dma_fifo()
188 struct acp_dev_data *adata, in restore_acp_i2s_params()
Dacp-rembrandt.c190 struct acp_dev_data *adata; in rembrandt_audio_probe()
204 adata = devm_kzalloc(dev, sizeof(struct acp_dev_data), GFP_KERNEL); in rembrandt_audio_probe()
248 struct acp_dev_data *adata = dev_get_drvdata(dev); in rembrandt_audio_remove()
257 struct acp_dev_data *adata = dev_get_drvdata(dev); in rmb_pcm_resume()
Dacp-renoir.c146 struct acp_dev_data *adata; in renoir_audio_probe()
161 adata = devm_kzalloc(dev, sizeof(struct acp_dev_data), GFP_KERNEL); in renoir_audio_probe()
198 struct acp_dev_data *adata = dev_get_drvdata(dev); in renoir_audio_remove()
Dacp-i2s.c31 struct acp_dev_data *adata = snd_soc_dai_get_drvdata(cpu_dai); in acp_i2s_set_fmt()
52 struct acp_dev_data *adata = snd_soc_dai_get_drvdata(dai); in acp_i2s_set_tdm_slot()
105 struct acp_dev_data *adata; in acp_i2s_hwparams()
264 struct acp_dev_data *adata = dev_get_drvdata(dev); in acp_i2s_trigger()
393 struct acp_dev_data *adata = dev_get_drvdata(dev); in acp_i2s_prepare()
489 struct acp_dev_data *adata = dev_get_drvdata(dev); in acp_i2s_startup()
545 struct acp_dev_data *adata = dev_get_drvdata(dev); in acp_i2s_probe()
Dacp-pci.c177 struct acp_dev_data *adata; in snd_acp_resume()
/Linux-v6.6/sound/soc/sof/amd/
Dacp.c61 static void init_dma_descriptor(struct acp_dev_data *adata) in init_dma_descriptor()
74 static void configure_dma_descriptor(struct acp_dev_data *adata, unsigned short idx, in configure_dma_descriptor()
89 static int config_dma_channel(struct acp_dev_data *adata, unsigned int ch, in config_dma_channel()
119 static int acpbus_dma_start(struct acp_dev_data *adata, unsigned int ch, in acpbus_dma_start()
139 int configure_and_run_dma(struct acp_dev_data *adata, unsigned int src_addr, in configure_and_run_dma()
172 static int psp_mbox_ready(struct acp_dev_data *adata, bool ack) in psp_mbox_ready()
197 static int psp_send_cmd(struct acp_dev_data *adata, int cmd) in psp_send_cmd()
231 int configure_and_run_sha_dma(struct acp_dev_data *adata, void *image_addr, in configure_and_run_sha_dma()
292 int acp_dma_status(struct acp_dev_data *adata, unsigned char ch) in acp_dma_status()
330 struct acp_dev_data *adata = sdev->pdata->hw_pdata; in acp_memory_init()
[all …]
Dacp-loader.c53 struct acp_dev_data *adata; in acp_dsp_block_write()
107 static void configure_pte_for_fw_loading(int type, int num_pages, struct acp_dev_data *adata) in configure_pte_for_fw_loading()
155 struct acp_dev_data *adata; in acp_dsp_pre_fw_run()
210 struct acp_dev_data *adata = sdev->pdata->hw_pdata; in acp_sof_dsp_run()
231 struct acp_dev_data *adata = plat_data->hw_pdata; in acp_sof_load_signed_firmware()
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.h188 struct acp_dev_data { struct
214 int acp_dma_status(struct acp_dev_data *adata, unsigned char ch); argument
215 int configure_and_run_dma(struct acp_dev_data *adata, unsigned int src_addr,
217 int configure_and_run_sha_dma(struct acp_dev_data *adata, void *image_addr,
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-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-v6.6/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()