Lines Matching refs:snd_sof_dev
190 struct snd_sof_dev *sdev;
231 struct snd_sof_dev *dev;
274 void memcpy_to_scratch(struct snd_sof_dev *sdev, u32 offset, unsigned int *src, size_t bytes);
275 void memcpy_from_scratch(struct snd_sof_dev *sdev, u32 offset, unsigned int *dst, size_t bytes);
285 int amd_sof_acp_probe(struct snd_sof_dev *sdev);
286 void amd_sof_acp_remove(struct snd_sof_dev *sdev);
289 int acp_sof_dsp_run(struct snd_sof_dev *sdev);
290 int acp_dsp_pre_fw_run(struct snd_sof_dev *sdev);
291 int acp_sof_load_signed_firmware(struct snd_sof_dev *sdev);
292 int acp_get_bar_index(struct snd_sof_dev *sdev, u32 type);
295 int acp_dsp_block_write(struct snd_sof_dev *sdev, enum snd_sof_fw_blk_type blk_type,
297 int acp_dsp_block_read(struct snd_sof_dev *sdev, enum snd_sof_fw_blk_type blk_type,
302 int acp_sof_ipc_msg_data(struct snd_sof_dev *sdev, struct snd_sof_pcm_stream *sps,
304 int acp_set_stream_data_offset(struct snd_sof_dev *sdev,
307 int acp_sof_ipc_send_msg(struct snd_sof_dev *sdev,
309 int acp_sof_ipc_get_mailbox_offset(struct snd_sof_dev *sdev);
310 int acp_sof_ipc_get_window_offset(struct snd_sof_dev *sdev, u32 id);
311 void acp_mailbox_write(struct snd_sof_dev *sdev, u32 offset, void *message, size_t bytes);
312 void acp_mailbox_read(struct snd_sof_dev *sdev, u32 offset, void *message, size_t bytes);
315 int acp_dsp_stream_config(struct snd_sof_dev *sdev, struct acp_dsp_stream *stream);
316 int acp_dsp_stream_init(struct snd_sof_dev *sdev);
317 struct acp_dsp_stream *acp_dsp_stream_get(struct snd_sof_dev *sdev, int tag);
318 int acp_dsp_stream_put(struct snd_sof_dev *sdev, struct acp_dsp_stream *acp_stream);
323 int acp_pcm_open(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream);
324 int acp_pcm_close(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream);
325 int acp_pcm_hw_params(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream,
328 snd_pcm_uframes_t acp_pcm_pointer(struct snd_sof_dev *sdev,
334 int sof_renoir_ops_init(struct snd_sof_dev *sdev);
336 int sof_vangogh_ops_init(struct snd_sof_dev *sdev);
338 int sof_rembrandt_ops_init(struct snd_sof_dev *sdev);
340 int sof_acp63_ops_init(struct snd_sof_dev *sdev);
343 int sof_acp70_ops_init(struct snd_sof_dev *sdev);
345 struct snd_soc_acpi_mach *amd_sof_machine_select(struct snd_sof_dev *sdev);
350 int acp_sof_trace_init(struct snd_sof_dev *sdev, struct snd_dma_buffer *dmab,
352 int acp_sof_trace_release(struct snd_sof_dev *sdev);
355 int amd_sof_acp_suspend(struct snd_sof_dev *sdev, u32 target_state);
356 int amd_sof_acp_resume(struct snd_sof_dev *sdev);
358 void amd_sof_ipc_dump(struct snd_sof_dev *sdev);
359 void amd_sof_dump(struct snd_sof_dev *sdev, u32 flags);
368 int acp_probes_register(struct snd_sof_dev *sdev);
369 void acp_probes_unregister(struct snd_sof_dev *sdev);