Lines Matching refs:snd_sof_dev
24 static inline int sof_ops_init(struct snd_sof_dev *sdev) in sof_ops_init()
32 static inline void sof_ops_free(struct snd_sof_dev *sdev) in sof_ops_free()
41 static inline int snd_sof_probe_early(struct snd_sof_dev *sdev) in snd_sof_probe_early()
49 static inline int snd_sof_probe(struct snd_sof_dev *sdev) in snd_sof_probe()
54 static inline void snd_sof_remove(struct snd_sof_dev *sdev) in snd_sof_remove()
60 static inline void snd_sof_remove_late(struct snd_sof_dev *sdev) in snd_sof_remove_late()
66 static inline int snd_sof_shutdown(struct snd_sof_dev *sdev) in snd_sof_shutdown()
80 static inline int snd_sof_dsp_run(struct snd_sof_dev *sdev) in snd_sof_dsp_run()
85 static inline int snd_sof_dsp_stall(struct snd_sof_dev *sdev, unsigned int core_mask) in snd_sof_dsp_stall()
93 static inline int snd_sof_dsp_reset(struct snd_sof_dev *sdev) in snd_sof_dsp_reset()
102 static inline int snd_sof_dsp_core_get(struct snd_sof_dev *sdev, int core) in snd_sof_dsp_core_get()
136 static inline int snd_sof_dsp_core_put(struct snd_sof_dev *sdev, int core) in snd_sof_dsp_core_put()
166 static inline int snd_sof_dsp_pre_fw_run(struct snd_sof_dev *sdev) in snd_sof_dsp_pre_fw_run()
174 static inline int snd_sof_dsp_post_fw_run(struct snd_sof_dev *sdev) in snd_sof_dsp_post_fw_run()
183 static inline int snd_sof_dsp_parse_platform_ext_manifest(struct snd_sof_dev *sdev, in snd_sof_dsp_parse_platform_ext_manifest()
203 static inline int snd_sof_dsp_get_bar_index(struct snd_sof_dev *sdev, u32 type) in snd_sof_dsp_get_bar_index()
211 static inline int snd_sof_dsp_get_mailbox_offset(struct snd_sof_dev *sdev) in snd_sof_dsp_get_mailbox_offset()
220 static inline int snd_sof_dsp_get_window_offset(struct snd_sof_dev *sdev, in snd_sof_dsp_get_window_offset()
230 static inline int snd_sof_dsp_resume(struct snd_sof_dev *sdev) in snd_sof_dsp_resume()
238 static inline int snd_sof_dsp_suspend(struct snd_sof_dev *sdev, in snd_sof_dsp_suspend()
247 static inline int snd_sof_dsp_runtime_resume(struct snd_sof_dev *sdev) in snd_sof_dsp_runtime_resume()
255 static inline int snd_sof_dsp_runtime_suspend(struct snd_sof_dev *sdev) in snd_sof_dsp_runtime_suspend()
263 static inline int snd_sof_dsp_runtime_idle(struct snd_sof_dev *sdev) in snd_sof_dsp_runtime_idle()
271 static inline int snd_sof_dsp_hw_params_upon_resume(struct snd_sof_dev *sdev) in snd_sof_dsp_hw_params_upon_resume()
278 static inline int snd_sof_dsp_set_clk(struct snd_sof_dev *sdev, u32 freq) in snd_sof_dsp_set_clk()
287 snd_sof_dsp_set_power_state(struct snd_sof_dev *sdev, in snd_sof_dsp_set_power_state()
303 void snd_sof_dsp_dbg_dump(struct snd_sof_dev *sdev, const char *msg, u32 flags);
305 static inline int snd_sof_debugfs_add_region_item(struct snd_sof_dev *sdev, in snd_sof_debugfs_add_region_item()
317 static inline void snd_sof_dsp_write8(struct snd_sof_dev *sdev, u32 bar, in snd_sof_dsp_write8()
326 static inline void snd_sof_dsp_write(struct snd_sof_dev *sdev, u32 bar, in snd_sof_dsp_write()
335 static inline void snd_sof_dsp_write64(struct snd_sof_dev *sdev, u32 bar, in snd_sof_dsp_write64()
344 static inline u8 snd_sof_dsp_read8(struct snd_sof_dev *sdev, u32 bar, in snd_sof_dsp_read8()
353 static inline u32 snd_sof_dsp_read(struct snd_sof_dev *sdev, u32 bar, in snd_sof_dsp_read()
362 static inline u64 snd_sof_dsp_read64(struct snd_sof_dev *sdev, u32 bar, in snd_sof_dsp_read64()
371 static inline void snd_sof_dsp_update8(struct snd_sof_dev *sdev, u32 bar, in snd_sof_dsp_update8()
383 static inline int snd_sof_dsp_block_read(struct snd_sof_dev *sdev, in snd_sof_dsp_block_read()
390 static inline int snd_sof_dsp_block_write(struct snd_sof_dev *sdev, in snd_sof_dsp_block_write()
398 static inline void snd_sof_dsp_mailbox_read(struct snd_sof_dev *sdev, in snd_sof_dsp_mailbox_read()
405 static inline void snd_sof_dsp_mailbox_write(struct snd_sof_dev *sdev, in snd_sof_dsp_mailbox_write()
413 static inline int snd_sof_dsp_send_msg(struct snd_sof_dev *sdev, in snd_sof_dsp_send_msg()
421 snd_sof_pcm_platform_open(struct snd_sof_dev *sdev, in snd_sof_pcm_platform_open()
432 snd_sof_pcm_platform_close(struct snd_sof_dev *sdev, in snd_sof_pcm_platform_close()
443 snd_sof_pcm_platform_hw_params(struct snd_sof_dev *sdev, in snd_sof_pcm_platform_hw_params()
457 snd_sof_pcm_platform_hw_free(struct snd_sof_dev *sdev, in snd_sof_pcm_platform_hw_free()
468 snd_sof_pcm_platform_trigger(struct snd_sof_dev *sdev, in snd_sof_pcm_platform_trigger()
478 static inline int snd_sof_load_firmware(struct snd_sof_dev *sdev) in snd_sof_load_firmware()
486 static inline int snd_sof_ipc_msg_data(struct snd_sof_dev *sdev, in snd_sof_ipc_msg_data()
494 snd_sof_set_stream_data_offset(struct snd_sof_dev *sdev, in snd_sof_set_stream_data_offset()
507 snd_sof_pcm_platform_pointer(struct snd_sof_dev *sdev, in snd_sof_pcm_platform_pointer()
517 static inline int snd_sof_pcm_platform_ack(struct snd_sof_dev *sdev, in snd_sof_pcm_platform_ack()
527 snd_sof_pcm_get_dai_frame_counter(struct snd_sof_dev *sdev, in snd_sof_pcm_get_dai_frame_counter()
539 snd_sof_pcm_get_host_byte_counter(struct snd_sof_dev *sdev, in snd_sof_pcm_get_host_byte_counter()
552 snd_sof_machine_register(struct snd_sof_dev *sdev, void *pdata) in snd_sof_machine_register()
561 snd_sof_machine_unregister(struct snd_sof_dev *sdev, void *pdata) in snd_sof_machine_unregister()
568 snd_sof_machine_select(struct snd_sof_dev *sdev) in snd_sof_machine_select()
578 struct snd_sof_dev *sdev) in snd_sof_set_mach_params()
585 snd_sof_is_chain_dma_supported(struct snd_sof_dev *sdev, u32 dai_type) in snd_sof_is_chain_dma_supported()
640 bool snd_sof_pci_update_bits(struct snd_sof_dev *sdev, u32 offset,
643 bool snd_sof_dsp_update_bits_unlocked(struct snd_sof_dev *sdev, u32 bar,
646 bool snd_sof_dsp_update_bits64_unlocked(struct snd_sof_dev *sdev, u32 bar,
649 bool snd_sof_dsp_update_bits(struct snd_sof_dev *sdev, u32 bar, u32 offset,
652 bool snd_sof_dsp_update_bits64(struct snd_sof_dev *sdev, u32 bar,
655 void snd_sof_dsp_update_bits_forced(struct snd_sof_dev *sdev, u32 bar,
658 int snd_sof_dsp_register_poll(struct snd_sof_dev *sdev, u32 bar, u32 offset,
662 void snd_sof_dsp_panic(struct snd_sof_dev *sdev, u32 offset, bool non_recoverable);