Lines Matching refs:snd_sof_dev
27 static inline int snd_sof_probe(struct snd_sof_dev *sdev)
32 static inline int snd_sof_remove(struct snd_sof_dev *sdev)
46 static inline int snd_sof_dsp_run(struct snd_sof_dev *sdev)
51 static inline int snd_sof_dsp_stall(struct snd_sof_dev *sdev)
59 static inline int snd_sof_dsp_reset(struct snd_sof_dev *sdev)
68 static inline int snd_sof_dsp_core_power_up(struct snd_sof_dev *sdev,
77 static inline int snd_sof_dsp_core_power_down(struct snd_sof_dev *sdev,
87 static inline int snd_sof_dsp_pre_fw_run(struct snd_sof_dev *sdev)
95 static inline int snd_sof_dsp_post_fw_run(struct snd_sof_dev *sdev)
114 static inline int snd_sof_dsp_get_bar_index(struct snd_sof_dev *sdev, u32 type)
122 static inline int snd_sof_dsp_get_mailbox_offset(struct snd_sof_dev *sdev)
131 static inline int snd_sof_dsp_get_window_offset(struct snd_sof_dev *sdev,
141 static inline int snd_sof_dsp_resume(struct snd_sof_dev *sdev)
149 static inline int snd_sof_dsp_suspend(struct snd_sof_dev *sdev,
158 static inline int snd_sof_dsp_runtime_resume(struct snd_sof_dev *sdev)
166 static inline int snd_sof_dsp_runtime_suspend(struct snd_sof_dev *sdev)
174 static inline int snd_sof_dsp_runtime_idle(struct snd_sof_dev *sdev)
182 static inline int snd_sof_dsp_hw_params_upon_resume(struct snd_sof_dev *sdev)
189 static inline int snd_sof_dsp_set_clk(struct snd_sof_dev *sdev, u32 freq)
198 snd_sof_dsp_set_power_state(struct snd_sof_dev *sdev,
209 static inline void snd_sof_dsp_dbg_dump(struct snd_sof_dev *sdev, u32 flags)
215 static inline void snd_sof_ipc_dump(struct snd_sof_dev *sdev)
222 static inline void snd_sof_dsp_write(struct snd_sof_dev *sdev, u32 bar,
233 static inline void snd_sof_dsp_write64(struct snd_sof_dev *sdev, u32 bar,
244 static inline u32 snd_sof_dsp_read(struct snd_sof_dev *sdev, u32 bar,
254 static inline u64 snd_sof_dsp_read64(struct snd_sof_dev *sdev, u32 bar,
265 static inline void snd_sof_dsp_block_read(struct snd_sof_dev *sdev, u32 bar,
271 static inline void snd_sof_dsp_block_write(struct snd_sof_dev *sdev, u32 bar,
278 static inline int snd_sof_dsp_send_msg(struct snd_sof_dev *sdev,
285 static inline int snd_sof_dma_trace_init(struct snd_sof_dev *sdev,
294 static inline int snd_sof_dma_trace_release(struct snd_sof_dev *sdev)
302 static inline int snd_sof_dma_trace_trigger(struct snd_sof_dev *sdev, int cmd)
312 snd_sof_pcm_platform_open(struct snd_sof_dev *sdev,
323 snd_sof_pcm_platform_close(struct snd_sof_dev *sdev,
334 snd_sof_pcm_platform_hw_params(struct snd_sof_dev *sdev,
348 snd_sof_pcm_platform_hw_free(struct snd_sof_dev *sdev,
359 snd_sof_pcm_platform_trigger(struct snd_sof_dev *sdev,
369 static inline void snd_sof_ipc_msg_data(struct snd_sof_dev *sdev,
378 snd_sof_ipc_pcm_params(struct snd_sof_dev *sdev,
387 snd_sof_pcm_platform_pointer(struct snd_sof_dev *sdev,
398 snd_sof_probe_compr_assign(struct snd_sof_dev *sdev,
405 snd_sof_probe_compr_free(struct snd_sof_dev *sdev,
412 snd_sof_probe_compr_set_params(struct snd_sof_dev *sdev,
420 snd_sof_probe_compr_trigger(struct snd_sof_dev *sdev,
428 snd_sof_probe_compr_pointer(struct snd_sof_dev *sdev,
441 snd_sof_machine_register(struct snd_sof_dev *sdev, void *pdata)
450 snd_sof_machine_unregister(struct snd_sof_dev *sdev, void *pdata)
457 snd_sof_machine_select(struct snd_sof_dev *sdev)
467 struct snd_sof_dev *sdev = dev_get_drvdata(dev);
533 bool snd_sof_pci_update_bits(struct snd_sof_dev *sdev, u32 offset,
536 bool snd_sof_dsp_update_bits_unlocked(struct snd_sof_dev *sdev, u32 bar,
539 bool snd_sof_dsp_update_bits64_unlocked(struct snd_sof_dev *sdev, u32 bar,
542 bool snd_sof_dsp_update_bits(struct snd_sof_dev *sdev, u32 bar, u32 offset,
545 bool snd_sof_dsp_update_bits64(struct snd_sof_dev *sdev, u32 bar,
548 void snd_sof_dsp_update_bits_forced(struct snd_sof_dev *sdev, u32 bar,
551 int snd_sof_dsp_register_poll(struct snd_sof_dev *sdev, u32 bar, u32 offset,
555 void snd_sof_dsp_panic(struct snd_sof_dev *sdev, u32 offset);