| /linux/sound/soc/sof/ |
| A D | sof-priv.h | 106 struct snd_sof_dev; 142 u32 (*read)(struct snd_sof_dev *sof_dev, 146 u64 (*read64)(struct snd_sof_dev *sof_dev, 170 int (*send_msg)(struct snd_sof_dev *sof_dev, 184 int (*pcm_open)(struct snd_sof_dev *sdev, 187 int (*pcm_close)(struct snd_sof_dev *sdev, 214 int (*probe_free)(struct snd_sof_dev *sdev, 249 int (*suspend)(struct snd_sof_dev *sof_dev, 274 int (*trace_init)(struct snd_sof_dev *sdev, 329 struct snd_sof_dev *sdev; [all …]
|
| A D | ops.h | 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() 228 snd_sof_dsp_set_power_state(struct snd_sof_dev *sdev, in snd_sof_dsp_set_power_state() 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() 439 snd_sof_ipc_pcm_params(struct snd_sof_dev *sdev, in snd_sof_ipc_pcm_params() 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() 481 snd_sof_probe_compr_trigger(struct snd_sof_dev *sdev, in snd_sof_probe_compr_trigger() 518 snd_sof_machine_select(struct snd_sof_dev *sdev) in snd_sof_machine_select() [all …]
|
| A D | sof-audio.h | 176 void snd_sof_control_notify(struct snd_sof_dev *sdev, 185 int snd_sof_complete_pipeline(struct snd_sof_dev *sdev, 188 int sof_load_pipeline_ipc(struct snd_sof_dev *sdev, 191 int sof_pipeline_core_enable(struct snd_sof_dev *sdev, 213 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in snd_sof_find_spcm_dai() 232 const struct sof_ipc_pipe_new *snd_sof_pipeline_find(struct snd_sof_dev *sdev, 258 int sof_set_up_pipelines(struct snd_sof_dev *sdev, bool verify); 259 int sof_tear_down_pipelines(struct snd_sof_dev *sdev, bool verify); 261 bool snd_sof_stream_suspend_ignored(struct snd_sof_dev *sdev); 265 int sof_machine_register(struct snd_sof_dev *sdev, void *pdata); [all …]
|
| A D | sof-audio.c | 531 bool snd_sof_stream_suspend_ignored(struct snd_sof_dev *sdev) in snd_sof_stream_suspend_ignored() 546 struct snd_sof_dev *sdev = dev_get_drvdata(dev); in sof_set_hw_params_upon_resume() 596 int sof_set_up_pipelines(struct snd_sof_dev *sdev, bool verify) in sof_set_up_pipelines() 706 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in snd_sof_find_spcm_name() 732 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in snd_sof_find_spcm_comp() 751 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in snd_sof_find_spcm_pcm_id() 765 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in snd_sof_find_swidget() 781 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in snd_sof_find_swidget_sname() 802 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in snd_sof_find_dai() 871 int sof_machine_check(struct snd_sof_dev *sdev) in sof_machine_check() [all …]
|
| A D | utils.c | 26 void sof_io_write(struct snd_sof_dev *sdev, void __iomem *addr, u32 value) in sof_io_write() 32 u32 sof_io_read(struct snd_sof_dev *sdev, void __iomem *addr) in sof_io_read() 38 void sof_io_write64(struct snd_sof_dev *sdev, void __iomem *addr, u64 value) in sof_io_write64() 44 u64 sof_io_read64(struct snd_sof_dev *sdev, void __iomem *addr) in sof_io_read64() 54 void sof_mailbox_write(struct snd_sof_dev *sdev, u32 offset, in sof_mailbox_write() 63 void sof_mailbox_read(struct snd_sof_dev *sdev, u32 offset, in sof_mailbox_read() 76 int sof_block_write(struct snd_sof_dev *sdev, enum snd_sof_fw_blk_type blk_type, in sof_block_write() 115 int sof_block_read(struct snd_sof_dev *sdev, enum snd_sof_fw_blk_type blk_type, in sof_block_read()
|
| A D | ops.c | 15 bool snd_sof_pci_update_bits_unlocked(struct snd_sof_dev *sdev, u32 offset, in snd_sof_pci_update_bits_unlocked() 38 bool snd_sof_pci_update_bits(struct snd_sof_dev *sdev, u32 offset, in snd_sof_pci_update_bits() 51 bool snd_sof_dsp_update_bits_unlocked(struct snd_sof_dev *sdev, u32 bar, in snd_sof_dsp_update_bits_unlocked() 71 bool snd_sof_dsp_update_bits64_unlocked(struct snd_sof_dev *sdev, u32 bar, in snd_sof_dsp_update_bits64_unlocked() 90 bool snd_sof_dsp_update_bits(struct snd_sof_dev *sdev, u32 bar, u32 offset, in snd_sof_dsp_update_bits() 104 bool snd_sof_dsp_update_bits64(struct snd_sof_dev *sdev, u32 bar, u32 offset, in snd_sof_dsp_update_bits64() 119 void snd_sof_dsp_update_bits_forced_unlocked(struct snd_sof_dev *sdev, u32 bar, in snd_sof_dsp_update_bits_forced_unlocked() 134 void snd_sof_dsp_update_bits_forced(struct snd_sof_dev *sdev, u32 bar, in snd_sof_dsp_update_bits_forced() 145 void snd_sof_dsp_panic(struct snd_sof_dev *sdev, u32 offset) in snd_sof_dsp_panic()
|
| A D | trace.c | 168 struct snd_sof_dev *sdev = dfse->sdev; in sof_dfsentry_trace_filter_write() 235 static size_t sof_trace_avail(struct snd_sof_dev *sdev, in sof_trace_avail() 255 static size_t sof_wait_trace_avail(struct snd_sof_dev *sdev, in sof_wait_trace_avail() 292 struct snd_sof_dev *sdev = dfse->sdev; in sof_dfsentry_trace_read() 338 struct snd_sof_dev *sdev = dfse->sdev; in sof_dfsentry_trace_release() 354 static int trace_debugfs_create(struct snd_sof_dev *sdev) in trace_debugfs_create() 381 int snd_sof_init_trace_ipc(struct snd_sof_dev *sdev) in snd_sof_init_trace_ipc() 448 int snd_sof_init_trace(struct snd_sof_dev *sdev) in snd_sof_init_trace() 508 int snd_sof_trace_update_pos(struct snd_sof_dev *sdev, in snd_sof_trace_update_pos() 540 void snd_sof_release_trace(struct snd_sof_dev *sdev) in snd_sof_release_trace() [all …]
|
| A D | pm.c | 21 static u32 snd_sof_dsp_power_target(struct snd_sof_dev *sdev) in snd_sof_dsp_power_target() 51 static int sof_send_pm_ctx_ipc(struct snd_sof_dev *sdev, int cmd) in sof_send_pm_ctx_ipc() 68 static void sof_cache_debugfs(struct snd_sof_dev *sdev) in sof_cache_debugfs() 88 struct snd_sof_dev *sdev = dev_get_drvdata(dev); in sof_resume() 180 struct snd_sof_dev *sdev = dev_get_drvdata(dev); in sof_suspend() 266 int snd_sof_dsp_power_down_notify(struct snd_sof_dev *sdev) in snd_sof_dsp_power_down_notify() 283 struct snd_sof_dev *sdev = dev_get_drvdata(dev); in snd_sof_runtime_idle() 309 struct snd_sof_dev *sdev = dev_get_drvdata(dev); in snd_sof_prepare() 329 struct snd_sof_dev *sdev = dev_get_drvdata(dev); in snd_sof_complete()
|
| A D | sof-probes.c | 61 static int sof_ipc_probe_init(struct snd_sof_dev *sdev, u32 stream_tag, in sof_ipc_probe_init() 92 static int sof_ipc_probe_deinit(struct snd_sof_dev *sdev) in sof_ipc_probe_deinit() 104 static int sof_ipc_probe_info(struct snd_sof_dev *sdev, unsigned int cmd, in sof_ipc_probe_info() 156 int sof_ipc_probe_points_info(struct snd_sof_dev *sdev, in sof_ipc_probe_points_info() 178 int sof_ipc_probe_points_add(struct snd_sof_dev *sdev, in sof_ipc_probe_points_add() 210 int sof_ipc_probe_points_remove(struct snd_sof_dev *sdev, in sof_ipc_probe_points_remove() 236 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(dai->component); in sof_probe_compr_startup() 252 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(dai->component); in sof_probe_compr_shutdown() 283 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(dai->component); in sof_probe_compr_set_params() 310 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(dai->component); in sof_probe_compr_trigger() [all …]
|
| A D | loader.c | 19 static int get_ext_windows(struct snd_sof_dev *sdev, in get_ext_windows() 45 static int get_cc_info(struct snd_sof_dev *sdev, in get_cc_info() 152 static int ext_man_get_fw_version(struct snd_sof_dev *sdev, in ext_man_get_fw_version() 165 static int ext_man_get_windows(struct snd_sof_dev *sdev, in ext_man_get_windows() 175 static int ext_man_get_cc_info(struct snd_sof_dev *sdev, in ext_man_get_cc_info() 364 static void sof_get_windows(struct snd_sof_dev *sdev) in sof_get_windows() 479 int sof_fw_ready(struct snd_sof_dev *sdev, u32 msg_id) in sof_fw_ready() 647 int (*load_module)(struct snd_sof_dev *sof_dev, in load_modules() 698 int snd_sof_load_firmware_raw(struct snd_sof_dev *sdev) in snd_sof_load_firmware_raw() 789 int snd_sof_run_firmware(struct snd_sof_dev *sdev) in snd_sof_run_firmware() [all …]
|
| A D | debug.c | 103 struct snd_sof_dev *sdev = dfse->sdev; in probe_points_read() 143 struct snd_sof_dev *sdev = dfse->sdev; in probe_points_write() 184 struct snd_sof_dev *sdev = dfse->sdev; in probe_points_remove_write() 344 struct snd_sof_dev *sdev = dfse->sdev; in sof_dfsentry_write() 442 struct snd_sof_dev *sdev = dfse->sdev; in sof_dfsentry_read() 606 int snd_sof_debugfs_buf_item(struct snd_sof_dev *sdev, in snd_sof_debugfs_buf_item() 702 struct snd_sof_dev *sdev = dfse->sdev; in memory_info_read() 720 struct snd_sof_dev *sdev = dfse->sdev; in memory_info_open() 761 int snd_sof_dbg_init(struct snd_sof_dev *sdev) in snd_sof_dbg_init() 819 void snd_sof_free_debug(struct snd_sof_dev *sdev) in snd_sof_free_debug() [all …]
|
| A D | sof-probes.h | 16 struct snd_sof_dev; 26 int sof_ipc_probe_points_info(struct snd_sof_dev *sdev, 29 int sof_ipc_probe_points_add(struct snd_sof_dev *sdev, 32 int sof_ipc_probe_points_remove(struct snd_sof_dev *sdev,
|
| A D | ipc.c | 21 static void ipc_trace_message(struct snd_sof_dev *sdev, u32 msg_type); 30 struct snd_sof_dev *sdev; 243 struct snd_sof_dev *sdev = ipc->sdev; in tx_wait_done() 286 struct snd_sof_dev *sdev = ipc->sdev; in sof_ipc_tx_message_unlocked() 383 void snd_sof_ipc_reply(struct snd_sof_dev *sdev, u32 msg_id) in snd_sof_ipc_reply() 400 static void ipc_comp_notification(struct snd_sof_dev *sdev, in ipc_comp_notification() 434 void snd_sof_ipc_msgs_rx(struct snd_sof_dev *sdev) in snd_sof_ipc_msgs_rx() 556 static void ipc_xrun(struct snd_sof_dev *sdev, u32 msg_id) in ipc_xrun() 871 int snd_sof_ipc_valid(struct snd_sof_dev *sdev) in snd_sof_ipc_valid() 922 int sof_ipc_init_msg_memory(struct snd_sof_dev *sdev) in sof_ipc_init_msg_memory() [all …]
|
| /linux/sound/soc/sof/intel/ |
| A D | hda.h | 473 struct snd_sof_dev *sdev; 493 int hda_dsp_probe(struct snd_sof_dev *sdev); 494 int hda_dsp_remove(struct snd_sof_dev *sdev); 506 int hda_dsp_resume(struct snd_sof_dev *sdev); 510 int hda_dsp_shutdown(struct snd_sof_dev *sdev); 513 void hda_ipc_dump(struct snd_sof_dev *sdev); 522 int hda_dsp_pcm_open(struct snd_sof_dev *sdev, 524 int hda_dsp_pcm_close(struct snd_sof_dev *sdev, 566 int hda_ipc_msg_data(struct snd_sof_dev *sdev, 680 int hda_sdw_startup(struct snd_sof_dev *sdev); [all …]
|
| A D | atom.h | 60 int atom_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg); 61 int atom_get_mailbox_offset(struct snd_sof_dev *sdev); 62 int atom_get_window_offset(struct snd_sof_dev *sdev, u32 id); 64 int atom_run(struct snd_sof_dev *sdev); 65 int atom_reset(struct snd_sof_dev *sdev); 66 void atom_dump(struct snd_sof_dev *sdev, u32 flags); 68 void atom_machine_select(struct snd_sof_dev *sdev); 70 struct snd_sof_dev *sdev);
|
| A D | atom.c | 28 static void atom_host_done(struct snd_sof_dev *sdev); 29 static void atom_dsp_done(struct snd_sof_dev *sdev); 30 static void atom_get_reply(struct snd_sof_dev *sdev); 36 static void atom_get_registers(struct snd_sof_dev *sdev, in atom_get_registers() 62 void atom_dump(struct snd_sof_dev *sdev, u32 flags) in atom_dump() 106 struct snd_sof_dev *sdev = context; in atom_irq_handler() 139 struct snd_sof_dev *sdev = context; in atom_irq_thread() 273 int atom_run(struct snd_sof_dev *sdev) in atom_run() 294 int atom_reset(struct snd_sof_dev *sdev) in atom_reset() 337 void atom_machine_select(struct snd_sof_dev *sdev) in atom_machine_select() [all …]
|
| A D | hda-dsp.c | 310 void hda_dsp_ipc_int_enable(struct snd_sof_dev *sdev) in hda_dsp_ipc_int_enable() 325 void hda_dsp_ipc_int_disable(struct snd_sof_dev *sdev) in hda_dsp_ipc_int_disable() 399 static int hda_dsp_set_D0_state(struct snd_sof_dev *sdev, in hda_dsp_set_D0_state() 478 static void hda_dsp_state_log(struct snd_sof_dev *sdev) in hda_dsp_state_log() 524 int hda_dsp_set_power_state(struct snd_sof_dev *sdev, in hda_dsp_set_power_state() 719 int hda_dsp_resume(struct snd_sof_dev *sdev) in hda_dsp_resume() 782 int hda_dsp_runtime_resume(struct snd_sof_dev *sdev) in hda_dsp_runtime_resume() 797 int hda_dsp_runtime_idle(struct snd_sof_dev *sdev) in hda_dsp_runtime_idle() 810 int hda_dsp_runtime_suspend(struct snd_sof_dev *sdev) in hda_dsp_runtime_suspend() 892 int hda_dsp_shutdown(struct snd_sof_dev *sdev) in hda_dsp_shutdown() [all …]
|
| A D | hda.c | 196 struct snd_sof_dev *sdev = dev_get_drvdata(dev); in sdw_params_stream() 213 struct snd_sof_dev *sdev = dev_get_drvdata(dev); in sdw_free_stream() 296 int hda_sdw_startup(struct snd_sof_dev *sdev) in hda_sdw_startup() 568 void hda_ipc_irq_dump(struct snd_sof_dev *sdev) in hda_ipc_irq_dump() 589 void hda_ipc_dump(struct snd_sof_dev *sdev) in hda_ipc_dump() 608 static int hda_init(struct snd_sof_dev *sdev) in hda_init() 836 struct snd_sof_dev *sdev = context; in hda_dsp_interrupt_handler() 859 struct snd_sof_dev *sdev = context; in hda_dsp_interrupt_thread() 886 int hda_dsp_probe(struct snd_sof_dev *sdev) in hda_dsp_probe() 1050 int hda_dsp_remove(struct snd_sof_dev *sdev) in hda_dsp_remove() [all …]
|
| A D | hda-ipc.c | 21 static void hda_dsp_ipc_host_done(struct snd_sof_dev *sdev) in hda_dsp_ipc_host_done() 39 static void hda_dsp_ipc_dsp_done(struct snd_sof_dev *sdev) in hda_dsp_ipc_dsp_done() 57 int hda_dsp_ipc_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg) in hda_dsp_ipc_send_msg() 68 void hda_dsp_ipc_get_reply(struct snd_sof_dev *sdev) in hda_dsp_ipc_get_reply() 131 struct snd_sof_dev *sdev = context; in hda_dsp_ipc_irq_thread() 225 bool hda_dsp_check_ipc_irq(struct snd_sof_dev *sdev) in hda_dsp_check_ipc_irq() 246 int hda_dsp_ipc_get_mailbox_offset(struct snd_sof_dev *sdev) in hda_dsp_ipc_get_mailbox_offset() 251 int hda_dsp_ipc_get_window_offset(struct snd_sof_dev *sdev, u32 id) in hda_dsp_ipc_get_window_offset() 256 int hda_ipc_msg_data(struct snd_sof_dev *sdev, in hda_ipc_msg_data() 280 int hda_ipc_pcm_params(struct snd_sof_dev *sdev, in hda_ipc_pcm_params()
|
| A D | bdw.c | 76 static void bdw_host_done(struct snd_sof_dev *sdev); 77 static void bdw_dsp_done(struct snd_sof_dev *sdev); 78 static void bdw_get_reply(struct snd_sof_dev *sdev); 84 static int bdw_run(struct snd_sof_dev *sdev) in bdw_run() 99 static int bdw_reset(struct snd_sof_dev *sdev) in bdw_reset() 117 static int bdw_set_dsp_D0(struct snd_sof_dev *sdev) in bdw_set_dsp_D0() 292 struct snd_sof_dev *sdev = context; in bdw_irq_handler() 306 struct snd_sof_dev *sdev = context; in bdw_irq_thread() 436 static void bdw_dsp_done(struct snd_sof_dev *sdev) in bdw_dsp_done() 450 static int bdw_probe(struct snd_sof_dev *sdev) in bdw_probe() [all …]
|
| A D | hda-codec.c | 67 void hda_codec_jack_wake_enable(struct snd_sof_dev *sdev, bool enable) in hda_codec_jack_wake_enable() 84 void hda_codec_jack_check(struct snd_sof_dev *sdev) in hda_codec_jack_check() 98 void hda_codec_jack_wake_enable(struct snd_sof_dev *sdev, bool enable) {} in hda_codec_jack_wake_enable() 99 void hda_codec_jack_check(struct snd_sof_dev *sdev) {} in hda_codec_jack_check() 112 static int hda_codec_probe(struct snd_sof_dev *sdev, int address, in hda_codec_probe() 198 void hda_codec_probe_bus(struct snd_sof_dev *sdev, in hda_codec_probe_bus() 223 void hda_codec_i915_display_power(struct snd_sof_dev *sdev, bool enable) in hda_codec_i915_display_power() 234 int hda_codec_i915_init(struct snd_sof_dev *sdev) in hda_codec_i915_init() 251 int hda_codec_i915_exit(struct snd_sof_dev *sdev) in hda_codec_i915_exit()
|
| A D | hda-loader.c | 86 static int cl_dsp_init(struct snd_sof_dev *sdev, int stream_tag) in cl_dsp_init() 192 static int cl_trigger(struct snd_sof_dev *sdev, in cl_trigger() 219 static int cl_cleanup(struct snd_sof_dev *sdev, struct snd_dma_buffer *dmab, in cl_cleanup() 251 static int cl_copy_fw(struct snd_sof_dev *sdev, struct hdac_ext_stream *stream) in cl_copy_fw() 290 int hda_dsp_cl_boot_firmware_iccmax(struct snd_sof_dev *sdev) in hda_dsp_cl_boot_firmware_iccmax() 338 int hda_dsp_cl_boot_firmware(struct snd_sof_dev *sdev) in hda_dsp_cl_boot_firmware() 451 int hda_dsp_pre_fw_run(struct snd_sof_dev *sdev) in hda_dsp_pre_fw_run() 458 int hda_dsp_post_fw_run(struct snd_sof_dev *sdev) in hda_dsp_post_fw_run() 481 int hda_dsp_post_fw_run_icl(struct snd_sof_dev *sdev) in hda_dsp_post_fw_run_icl() 517 int hda_dsp_ext_man_get_cavs_config_data(struct snd_sof_dev *sdev, in hda_dsp_ext_man_get_cavs_config_data() [all …]
|
| A D | hda-probes.c | 22 int hda_probe_compr_assign(struct snd_sof_dev *sdev, in hda_probe_compr_assign() 39 int hda_probe_compr_free(struct snd_sof_dev *sdev, in hda_probe_compr_free() 59 int hda_probe_compr_set_params(struct snd_sof_dev *sdev, in hda_probe_compr_set_params() 92 int hda_probe_compr_trigger(struct snd_sof_dev *sdev, in hda_probe_compr_trigger() 101 int hda_probe_compr_pointer(struct snd_sof_dev *sdev, in hda_probe_compr_pointer()
|
| A D | hda-pcm.c | 35 u32 hda_dsp_get_mult_div(struct snd_sof_dev *sdev, int rate) in hda_dsp_get_mult_div() 69 u32 hda_dsp_get_bits(struct snd_sof_dev *sdev, int sample_bits) in hda_dsp_get_bits() 89 int hda_dsp_pcm_hw_params(struct snd_sof_dev *sdev, in hda_dsp_pcm_hw_params() 143 int hda_dsp_pcm_trigger(struct snd_sof_dev *sdev, in hda_dsp_pcm_trigger() 152 snd_pcm_uframes_t hda_dsp_pcm_pointer(struct snd_sof_dev *sdev, in hda_dsp_pcm_pointer() 220 int hda_dsp_pcm_open(struct snd_sof_dev *sdev, in hda_dsp_pcm_open() 266 int hda_dsp_pcm_close(struct snd_sof_dev *sdev, in hda_dsp_pcm_close()
|
| /linux/sound/soc/sof/imx/ |
| A D | imx8m.c | 28 struct snd_sof_dev *sdev; 35 static void imx8m_get_reply(struct snd_sof_dev *sdev) in imx8m_get_reply() 69 static int imx8m_get_mailbox_offset(struct snd_sof_dev *sdev) in imx8m_get_mailbox_offset() 74 static int imx8m_get_window_offset(struct snd_sof_dev *sdev, u32 id) in imx8m_get_window_offset() 110 static int imx8m_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg) in imx8m_send_msg() 124 static int imx8m_run(struct snd_sof_dev *sdev) in imx8m_run() 130 static int imx8m_probe(struct snd_sof_dev *sdev) in imx8m_probe() 220 static int imx8m_remove(struct snd_sof_dev *sdev) in imx8m_remove() 230 static int imx8m_get_bar_index(struct snd_sof_dev *sdev, u32 type) in imx8m_get_bar_index()
|