Lines Matching refs:snd_sof_dev
27 static inline int snd_sof_probe(struct snd_sof_dev *sdev) in snd_sof_probe()
32 static inline int snd_sof_remove(struct snd_sof_dev *sdev) in snd_sof_remove()
40 static inline int snd_sof_shutdown(struct snd_sof_dev *sdev) in snd_sof_shutdown()
54 static inline int snd_sof_dsp_run(struct snd_sof_dev *sdev) in snd_sof_dsp_run()
59 static inline int snd_sof_dsp_stall(struct snd_sof_dev *sdev, unsigned int core_mask) in snd_sof_dsp_stall()
67 static inline int snd_sof_dsp_reset(struct snd_sof_dev *sdev) in snd_sof_dsp_reset()
76 static inline int snd_sof_dsp_core_power_up(struct snd_sof_dev *sdev, in snd_sof_dsp_core_power_up()
91 static inline int snd_sof_dsp_core_power_down(struct snd_sof_dev *sdev, in snd_sof_dsp_core_power_down()
107 static inline int snd_sof_dsp_pre_fw_run(struct snd_sof_dev *sdev) in snd_sof_dsp_pre_fw_run()
115 static inline int snd_sof_dsp_post_fw_run(struct snd_sof_dev *sdev) in snd_sof_dsp_post_fw_run()
124 static inline int snd_sof_dsp_parse_platform_ext_manifest(struct snd_sof_dev *sdev, in snd_sof_dsp_parse_platform_ext_manifest()
144 static inline int snd_sof_dsp_get_bar_index(struct snd_sof_dev *sdev, u32 type) in snd_sof_dsp_get_bar_index()
152 static inline int snd_sof_dsp_get_mailbox_offset(struct snd_sof_dev *sdev) in snd_sof_dsp_get_mailbox_offset()
161 static inline int snd_sof_dsp_get_window_offset(struct snd_sof_dev *sdev, in snd_sof_dsp_get_window_offset()
171 static inline int snd_sof_dsp_resume(struct snd_sof_dev *sdev) in snd_sof_dsp_resume()
179 static inline int snd_sof_dsp_suspend(struct snd_sof_dev *sdev, in snd_sof_dsp_suspend()
188 static inline int snd_sof_dsp_runtime_resume(struct snd_sof_dev *sdev) in snd_sof_dsp_runtime_resume()
196 static inline int snd_sof_dsp_runtime_suspend(struct snd_sof_dev *sdev) in snd_sof_dsp_runtime_suspend()
204 static inline int snd_sof_dsp_runtime_idle(struct snd_sof_dev *sdev) in snd_sof_dsp_runtime_idle()
212 static inline int snd_sof_dsp_hw_params_upon_resume(struct snd_sof_dev *sdev) in snd_sof_dsp_hw_params_upon_resume()
219 static inline int snd_sof_dsp_set_clk(struct snd_sof_dev *sdev, u32 freq) in snd_sof_dsp_set_clk()
228 snd_sof_dsp_set_power_state(struct snd_sof_dev *sdev, in snd_sof_dsp_set_power_state()
244 void snd_sof_dsp_dbg_dump(struct snd_sof_dev *sdev, u32 flags);
246 static inline int snd_sof_debugfs_add_region_item(struct snd_sof_dev *sdev, in snd_sof_debugfs_add_region_item()
258 static inline void snd_sof_dsp_write(struct snd_sof_dev *sdev, u32 bar, in snd_sof_dsp_write()
269 static inline void snd_sof_dsp_write64(struct snd_sof_dev *sdev, u32 bar, in snd_sof_dsp_write64()
280 static inline u32 snd_sof_dsp_read(struct snd_sof_dev *sdev, u32 bar, in snd_sof_dsp_read()
290 static inline u64 snd_sof_dsp_read64(struct snd_sof_dev *sdev, u32 bar, in snd_sof_dsp_read64()
301 static inline int snd_sof_dsp_block_read(struct snd_sof_dev *sdev, in snd_sof_dsp_block_read()
308 static inline int snd_sof_dsp_block_write(struct snd_sof_dev *sdev, in snd_sof_dsp_block_write()
316 static inline void snd_sof_dsp_mailbox_read(struct snd_sof_dev *sdev, in snd_sof_dsp_mailbox_read()
323 static inline void snd_sof_dsp_mailbox_write(struct snd_sof_dev *sdev, in snd_sof_dsp_mailbox_write()
331 static inline int snd_sof_dsp_send_msg(struct snd_sof_dev *sdev, in snd_sof_dsp_send_msg()
338 static inline int snd_sof_dma_trace_init(struct snd_sof_dev *sdev, in snd_sof_dma_trace_init()
347 static inline int snd_sof_dma_trace_release(struct snd_sof_dev *sdev) in snd_sof_dma_trace_release()
355 static inline int snd_sof_dma_trace_trigger(struct snd_sof_dev *sdev, int cmd) in snd_sof_dma_trace_trigger()
365 snd_sof_pcm_platform_open(struct snd_sof_dev *sdev, in snd_sof_pcm_platform_open()
376 snd_sof_pcm_platform_close(struct snd_sof_dev *sdev, in snd_sof_pcm_platform_close()
387 snd_sof_pcm_platform_hw_params(struct snd_sof_dev *sdev, in snd_sof_pcm_platform_hw_params()
401 snd_sof_pcm_platform_hw_free(struct snd_sof_dev *sdev, in snd_sof_pcm_platform_hw_free()
412 snd_sof_pcm_platform_trigger(struct snd_sof_dev *sdev, in snd_sof_pcm_platform_trigger()
422 static inline int snd_sof_load_firmware(struct snd_sof_dev *sdev) in snd_sof_load_firmware()
430 static inline int snd_sof_ipc_msg_data(struct snd_sof_dev *sdev, in snd_sof_ipc_msg_data()
439 snd_sof_ipc_pcm_params(struct snd_sof_dev *sdev, in snd_sof_ipc_pcm_params()
448 snd_sof_pcm_platform_pointer(struct snd_sof_dev *sdev, in snd_sof_pcm_platform_pointer()
459 snd_sof_probe_compr_assign(struct snd_sof_dev *sdev, in snd_sof_probe_compr_assign()
466 snd_sof_probe_compr_free(struct snd_sof_dev *sdev, in snd_sof_probe_compr_free()
473 snd_sof_probe_compr_set_params(struct snd_sof_dev *sdev, in snd_sof_probe_compr_set_params()
481 snd_sof_probe_compr_trigger(struct snd_sof_dev *sdev, in snd_sof_probe_compr_trigger()
489 snd_sof_probe_compr_pointer(struct snd_sof_dev *sdev, in snd_sof_probe_compr_pointer()
502 snd_sof_machine_register(struct snd_sof_dev *sdev, void *pdata) in snd_sof_machine_register()
511 snd_sof_machine_unregister(struct snd_sof_dev *sdev, void *pdata) in snd_sof_machine_unregister()
518 snd_sof_machine_select(struct snd_sof_dev *sdev) in snd_sof_machine_select()
526 struct snd_sof_dev *sdev) in snd_sof_set_mach_params()
579 bool snd_sof_pci_update_bits(struct snd_sof_dev *sdev, u32 offset,
582 bool snd_sof_dsp_update_bits_unlocked(struct snd_sof_dev *sdev, u32 bar,
585 bool snd_sof_dsp_update_bits64_unlocked(struct snd_sof_dev *sdev, u32 bar,
588 bool snd_sof_dsp_update_bits(struct snd_sof_dev *sdev, u32 bar, u32 offset,
591 bool snd_sof_dsp_update_bits64(struct snd_sof_dev *sdev, u32 bar,
594 void snd_sof_dsp_update_bits_forced(struct snd_sof_dev *sdev, u32 bar,
597 int snd_sof_dsp_register_poll(struct snd_sof_dev *sdev, u32 bar, u32 offset,
601 void snd_sof_dsp_panic(struct snd_sof_dev *sdev, u32 offset);