Lines Matching refs:snd_sof_dev
134 struct snd_sof_dev *sdev;
159 struct snd_sof_dev *dev;
173 void memcpy_to_scratch(struct snd_sof_dev *sdev, u32 offset, unsigned int *src, size_t bytes);
174 void memcpy_from_scratch(struct snd_sof_dev *sdev, u32 offset, unsigned int *dst, size_t bytes);
184 int amd_sof_acp_probe(struct snd_sof_dev *sdev);
185 int amd_sof_acp_remove(struct snd_sof_dev *sdev);
188 int acp_sof_dsp_run(struct snd_sof_dev *sdev);
189 int acp_dsp_pre_fw_run(struct snd_sof_dev *sdev);
190 int acp_get_bar_index(struct snd_sof_dev *sdev, u32 type);
193 int acp_dsp_block_write(struct snd_sof_dev *sdev, enum snd_sof_fw_blk_type blk_type,
195 int acp_dsp_block_read(struct snd_sof_dev *sdev, enum snd_sof_fw_blk_type blk_type,
200 int acp_sof_ipc_msg_data(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream,
202 int acp_sof_ipc_send_msg(struct snd_sof_dev *sdev,
204 int acp_sof_ipc_get_mailbox_offset(struct snd_sof_dev *sdev);
205 int acp_sof_ipc_get_window_offset(struct snd_sof_dev *sdev, u32 id);
206 void acp_mailbox_write(struct snd_sof_dev *sdev, u32 offset, void *message, size_t bytes);
207 void acp_mailbox_read(struct snd_sof_dev *sdev, u32 offset, void *message, size_t bytes);
210 int acp_dsp_stream_config(struct snd_sof_dev *sdev, struct acp_dsp_stream *stream);
211 int acp_dsp_stream_init(struct snd_sof_dev *sdev);
212 struct acp_dsp_stream *acp_dsp_stream_get(struct snd_sof_dev *sdev, int tag);
213 int acp_dsp_stream_put(struct snd_sof_dev *sdev, struct acp_dsp_stream *acp_stream);
218 int acp_pcm_open(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream);
219 int acp_pcm_close(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream);
220 int acp_pcm_hw_params(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream,
227 int sof_renoir_ops_init(struct snd_sof_dev *sdev);
229 int sof_rembrandt_ops_init(struct snd_sof_dev *sdev);
232 struct snd_soc_acpi_mach *amd_sof_machine_select(struct snd_sof_dev *sdev);
237 int acp_sof_trace_init(struct snd_sof_dev *sdev, struct snd_dma_buffer *dmab,
239 int acp_sof_trace_release(struct snd_sof_dev *sdev);
242 int amd_sof_acp_suspend(struct snd_sof_dev *sdev, u32 target_state);
243 int amd_sof_acp_resume(struct snd_sof_dev *sdev);