/linux-6.3-rc2/sound/soc/sof/ |
A D | sof-priv.h | 121 struct snd_sof_dev; 182 u8 (*read8)(struct snd_sof_dev *sof_dev, 186 u32 (*read)(struct snd_sof_dev *sof_dev, 223 int (*pcm_open)(struct snd_sof_dev *sdev, 364 struct snd_sof_dev *sdev; 416 int (*init)(struct snd_sof_dev *sdev); 417 void (*free)(struct snd_sof_dev *sdev); 489 int (*init)(struct snd_sof_dev *sdev); 490 void (*exit)(struct snd_sof_dev *sdev); 503 struct snd_sof_dev *sdev; [all …]
|
A D | ops.h | 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(struct snd_sof_dev *sdev) in snd_sof_probe() 46 static inline int snd_sof_remove(struct snd_sof_dev *sdev) in snd_sof_remove() 275 snd_sof_dsp_set_power_state(struct snd_sof_dev *sdev, in snd_sof_dsp_set_power_state() 409 snd_sof_pcm_platform_open(struct snd_sof_dev *sdev, in snd_sof_pcm_platform_open() 420 snd_sof_pcm_platform_close(struct snd_sof_dev *sdev, in snd_sof_pcm_platform_close() 445 snd_sof_pcm_platform_hw_free(struct snd_sof_dev *sdev, in snd_sof_pcm_platform_hw_free() 456 snd_sof_pcm_platform_trigger(struct snd_sof_dev *sdev, in snd_sof_pcm_platform_trigger() 542 snd_sof_machine_select(struct snd_sof_dev *sdev) in snd_sof_machine_select() [all …]
|
A D | sof-audio.h | 116 int (*pcm_setup)(struct snd_sof_dev *sdev, struct snd_sof_pcm *spcm); 117 void (*pcm_free)(struct snd_sof_dev *sdev, struct snd_sof_pcm *spcm); 141 void (*update)(struct snd_sof_dev *sdev, void *ipc_control_message); 202 int (*route_free)(struct snd_sof_dev *sdev, struct snd_sof_route *sroute); 212 int (*set_up_all_pipelines)(struct snd_sof_dev *sdev, bool verify); 213 int (*tear_down_all_pipelines)(struct snd_sof_dev *sdev, bool verify); 538 void snd_sof_control_notify(struct snd_sof_dev *sdev, 567 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in snd_sof_find_spcm_dai() 598 bool snd_sof_stream_suspend_ignored(struct snd_sof_dev *sdev); 602 int sof_machine_register(struct snd_sof_dev *sdev, void *pdata); [all …]
|
A D | sof-client.c | 72 static int sof_register_ipc_flood_test(struct snd_sof_dev *sdev) in sof_register_ipc_flood_test() 129 int sof_register_clients(struct snd_sof_dev *sdev) in sof_register_clients() 162 void sof_unregister_clients(struct snd_sof_dev *sdev) in sof_unregister_clients() 291 struct snd_sof_dev *sdev = c->sdev; in sof_client_ipc4_find_module() 325 int sof_resume_clients(struct snd_sof_dev *sdev) in sof_resume_clients() 363 struct snd_sof_dev *sdev = sof_client_dev_to_sof_dev(cdev); in sof_client_get_fw_version() 371 struct snd_sof_dev *sdev = sof_client_dev_to_sof_dev(cdev); in sof_client_get_ipc_max_payload_size() 379 struct snd_sof_dev *sdev = sof_client_dev_to_sof_dev(cdev); in sof_client_get_ipc_type() 388 struct snd_sof_dev *sdev = sof_client_dev_to_sof_dev(cdev); in sof_client_core_module_get() 399 struct snd_sof_dev *sdev = sof_client_dev_to_sof_dev(cdev); in sof_client_core_module_put() [all …]
|
A D | ipc3-priv.h | 22 int sof_ipc3_get_ext_windows(struct snd_sof_dev *sdev, 24 int sof_ipc3_get_cc_info(struct snd_sof_dev *sdev, 26 int sof_ipc3_validate_fw_version(struct snd_sof_dev *sdev); 29 int ipc3_dtrace_posn_update(struct snd_sof_dev *sdev, 33 static inline int sof_dtrace_host_init(struct snd_sof_dev *sdev, in sof_dtrace_host_init() 45 static inline int sof_dtrace_host_release(struct snd_sof_dev *sdev) in sof_dtrace_host_release() 55 static inline int sof_dtrace_host_trigger(struct snd_sof_dev *sdev, int cmd) in sof_dtrace_host_trigger()
|
A D | iomem-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 | ipc4-priv.h | 85 int (*load_library)(struct snd_sof_dev *sdev, 110 int sof_ipc4_set_pipeline_state(struct snd_sof_dev *sdev, u32 id, u32 state); 111 int sof_ipc4_mtrace_update_pos(struct snd_sof_dev *sdev, int core); 113 int sof_ipc4_query_fw_configuration(struct snd_sof_dev *sdev); 114 int sof_ipc4_reload_fw_libraries(struct snd_sof_dev *sdev); 115 struct sof_ipc4_fw_module *sof_ipc4_find_module_by_uuid(struct snd_sof_dev *sdev,
|
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() 151 void snd_sof_dsp_panic(struct snd_sof_dev *sdev, u32 offset, bool non_recoverable) in snd_sof_dsp_panic()
|
A D | trace.c | 7 int sof_fw_trace_init(struct snd_sof_dev *sdev) in sof_fw_trace_init() 21 void sof_fw_trace_free(struct snd_sof_dev *sdev) in sof_fw_trace_free() 30 void sof_fw_trace_fw_crashed(struct snd_sof_dev *sdev) in sof_fw_trace_fw_crashed() 39 void sof_fw_trace_suspend(struct snd_sof_dev *sdev, pm_message_t pm_state) in sof_fw_trace_suspend() 47 int sof_fw_trace_resume(struct snd_sof_dev *sdev) in sof_fw_trace_resume()
|
A D | sof-audio.c | 31 static int sof_widget_free_unlocked(struct snd_sof_dev *sdev, in sof_widget_free_unlocked() 101 static int sof_widget_setup_unlocked(struct snd_sof_dev *sdev, in sof_widget_setup_unlocked() 258 static int sof_setup_pipeline_connections(struct snd_sof_dev *sdev, in sof_setup_pipeline_connections() 708 bool snd_sof_stream_suspend_ignored(struct snd_sof_dev *sdev) in snd_sof_stream_suspend_ignored() 758 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in snd_sof_find_spcm_name() 784 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in snd_sof_find_spcm_comp() 803 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in snd_sof_find_swidget() 819 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in snd_sof_find_swidget_sname() 840 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in snd_sof_find_dai() 915 int sof_machine_check(struct snd_sof_dev *sdev) in sof_machine_check() [all …]
|
/linux-6.3-rc2/sound/soc/sof/intel/ |
A D | hda.h | 552 struct snd_sof_dev *sdev; 574 int hda_dsp_probe(struct snd_sof_dev *sdev); 575 int hda_dsp_remove(struct snd_sof_dev *sdev); 591 int hda_dsp_resume(struct snd_sof_dev *sdev); 599 void hda_ipc_dump(struct snd_sof_dev *sdev); 609 int hda_dsp_pcm_open(struct snd_sof_dev *sdev, 658 int hda_ipc_msg_data(struct snd_sof_dev *sdev, 800 int hda_sdw_startup(struct snd_sof_dev *sdev); 892 struct snd_sof_dev *sdev); 911 void hda_ops_free(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 struct snd_soc_acpi_mach *atom_machine_select(struct snd_sof_dev *sdev); 70 struct snd_sof_dev *sdev);
|
A D | hda-dsp.c | 319 void hda_dsp_ipc_int_enable(struct snd_sof_dev *sdev) in hda_dsp_ipc_int_enable() 334 void hda_dsp_ipc_int_disable(struct snd_sof_dev *sdev) in hda_dsp_ipc_int_disable() 518 static void hda_dsp_state_log(struct snd_sof_dev *sdev) in hda_dsp_state_log() 558 int hda_dsp_set_power_state(struct snd_sof_dev *sdev, in hda_dsp_set_power_state() 746 int hda_dsp_resume(struct snd_sof_dev *sdev) in hda_dsp_resume() 798 int hda_dsp_runtime_resume(struct snd_sof_dev *sdev) in hda_dsp_runtime_resume() 813 int hda_dsp_runtime_idle(struct snd_sof_dev *sdev) in hda_dsp_runtime_idle() 826 int hda_dsp_runtime_suspend(struct snd_sof_dev *sdev) in hda_dsp_runtime_suspend() 924 static int hda_dsp_s5_quirk(struct snd_sof_dev *sdev) in hda_dsp_s5_quirk() 977 int hda_dsp_shutdown(struct snd_sof_dev *sdev) in hda_dsp_shutdown() [all …]
|
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); 35 static void atom_get_registers(struct snd_sof_dev *sdev, in atom_get_registers() 61 void atom_dump(struct snd_sof_dev *sdev, u32 flags) in atom_dump() 105 struct snd_sof_dev *sdev = context; in atom_irq_handler() 138 struct snd_sof_dev *sdev = context; in atom_irq_thread() 208 static void atom_host_done(struct snd_sof_dev *sdev) in atom_host_done() 221 static void atom_dsp_done(struct snd_sof_dev *sdev) in atom_dsp_done() 232 int atom_run(struct snd_sof_dev *sdev) in atom_run() 253 int atom_reset(struct snd_sof_dev *sdev) in atom_reset() [all …]
|
A D | hda-codec.c | 90 void hda_codec_jack_check(struct snd_sof_dev *sdev) in hda_codec_jack_check() 207 void hda_codec_probe_bus(struct snd_sof_dev *sdev) in hda_codec_probe_bus() 245 void hda_codec_detect_mask(struct snd_sof_dev *sdev) in hda_codec_detect_mask() 270 void hda_codec_init_cmd_io(struct snd_sof_dev *sdev) in hda_codec_init_cmd_io() 283 void hda_codec_resume_cmd_io(struct snd_sof_dev *sdev) in hda_codec_resume_cmd_io() 297 void hda_codec_stop_cmd_io(struct snd_sof_dev *sdev) in hda_codec_stop_cmd_io() 310 void hda_codec_suspend_cmd_io(struct snd_sof_dev *sdev) in hda_codec_suspend_cmd_io() 325 void hda_codec_rirb_status_clear(struct snd_sof_dev *sdev) in hda_codec_rirb_status_clear() 376 void hda_codec_device_remove(struct snd_sof_dev *sdev) in hda_codec_device_remove() 408 int hda_codec_i915_init(struct snd_sof_dev *sdev) in hda_codec_i915_init() [all …]
|
A D | mtl.c | 28 static void mtl_ipc_host_done(struct snd_sof_dev *sdev) in mtl_ipc_host_done() 43 static void mtl_ipc_dsp_done(struct snd_sof_dev *sdev) in mtl_ipc_dsp_done() 58 static bool mtl_dsp_check_ipc_irq(struct snd_sof_dev *sdev) in mtl_dsp_check_ipc_irq() 76 static bool mtl_dsp_check_sdw_irq(struct snd_sof_dev *sdev) in mtl_dsp_check_sdw_irq() 218 static int mtl_dsp_pre_fw_run(struct snd_sof_dev *sdev) in mtl_dsp_pre_fw_run() 264 static int mtl_dsp_post_fw_run(struct snd_sof_dev *sdev) in mtl_dsp_post_fw_run() 286 static void mtl_dsp_dump(struct snd_sof_dev *sdev, u32 flags) in mtl_dsp_dump() 379 static int mtl_power_down_dsp(struct snd_sof_dev *sdev) in mtl_power_down_dsp() 472 struct snd_sof_dev *sdev = context; in mtl_ipc_irq_thread() 562 static void mtl_ipc_dump(struct snd_sof_dev *sdev) in mtl_ipc_dump() [all …]
|
A D | hda.c | 276 int hda_sdw_startup(struct snd_sof_dev *sdev) in hda_sdw_startup() 297 static int hda_sdw_exit(struct snd_sof_dev *sdev) in hda_sdw_exit() 678 void hda_ipc_irq_dump(struct snd_sof_dev *sdev) in hda_ipc_irq_dump() 698 void hda_ipc_dump(struct snd_sof_dev *sdev) in hda_ipc_dump() 717 void hda_ipc4_dump(struct snd_sof_dev *sdev) in hda_ipc4_dump() 746 static int hda_init(struct snd_sof_dev *sdev) in hda_init() 991 struct snd_sof_dev *sdev = context; in hda_dsp_interrupt_handler() 1014 struct snd_sof_dev *sdev = context; in hda_dsp_interrupt_thread() 1049 int hda_dsp_probe(struct snd_sof_dev *sdev) in hda_dsp_probe() 1220 int hda_dsp_remove(struct snd_sof_dev *sdev) in hda_dsp_remove() [all …]
|
/linux-6.3-rc2/sound/soc/sof/amd/ |
A D | acp.h | 148 struct snd_sof_dev *sdev; 174 struct snd_sof_dev *dev; 199 int amd_sof_acp_probe(struct snd_sof_dev *sdev); 200 int amd_sof_acp_remove(struct snd_sof_dev *sdev); 203 int acp_sof_dsp_run(struct snd_sof_dev *sdev); 204 int acp_dsp_pre_fw_run(struct snd_sof_dev *sdev); 220 int acp_sof_ipc_send_msg(struct snd_sof_dev *sdev, 229 int acp_dsp_stream_init(struct snd_sof_dev *sdev); 245 int sof_renoir_ops_init(struct snd_sof_dev *sdev); 261 int amd_sof_acp_resume(struct snd_sof_dev *sdev); [all …]
|
A D | acp-ipc.c | 18 void acp_mailbox_write(struct snd_sof_dev *sdev, u32 offset, void *message, size_t bytes) in acp_mailbox_write() 32 struct snd_sof_dev *sdev = adata->dev; in acpbus_trigger_host_to_dsp_swintr() 43 static void acp_ipc_host_msg_set(struct snd_sof_dev *sdev) in acp_ipc_host_msg_set() 51 static void acp_dsp_ipc_host_done(struct snd_sof_dev *sdev) in acp_dsp_ipc_host_done() 59 static void acp_dsp_ipc_dsp_done(struct snd_sof_dev *sdev) in acp_dsp_ipc_dsp_done() 67 int acp_sof_ipc_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg) in acp_sof_ipc_send_msg() 96 static void acp_dsp_ipc_get_reply(struct snd_sof_dev *sdev) in acp_dsp_ipc_get_reply() 150 struct snd_sof_dev *sdev = context; in acp_sof_ipc_irq_thread() 224 int acp_set_stream_data_offset(struct snd_sof_dev *sdev, in acp_set_stream_data_offset() 245 int acp_sof_ipc_get_mailbox_offset(struct snd_sof_dev *sdev) in acp_sof_ipc_get_mailbox_offset() [all …]
|
A D | acp.c | 41 struct snd_sof_dev *sdev = adata->dev; in init_dma_descriptor() 55 struct snd_sof_dev *sdev = adata->dev; in configure_dma_descriptor() 70 struct snd_sof_dev *sdev = adata->dev; in config_dma_channel() 100 struct snd_sof_dev *sdev = adata->dev; in acpbus_dma_start() 120 struct snd_sof_dev *sdev = adata->dev; in configure_and_run_dma() 152 struct snd_sof_dev *sdev = adata->dev; in psp_mbox_ready() 179 struct snd_sof_dev *sdev = adata->dev; in psp_send_cmd() 219 struct snd_sof_dev *sdev = adata->dev; in configure_and_run_sha_dma() 271 struct snd_sof_dev *sdev = adata->dev; in acp_dma_status() 319 struct snd_sof_dev *sdev = context; in acp_irq_thread() [all …]
|
/linux-6.3-rc2/sound/soc/sof/imx/ |
A D | imx-common.h | 11 void imx8_get_registers(struct snd_sof_dev *sdev, 16 void imx8_dump(struct snd_sof_dev *sdev, u32 flags); 23 int imx8_parse_clocks(struct snd_sof_dev *sdev, struct imx_clocks *clks); 24 int imx8_enable_clocks(struct snd_sof_dev *sdev, struct imx_clocks *clks); 25 void imx8_disable_clocks(struct snd_sof_dev *sdev, struct imx_clocks *clks);
|
A D | imx8m.c | 51 struct snd_sof_dev *sdev; 63 static int imx8m_get_mailbox_offset(struct snd_sof_dev *sdev) in imx8m_get_mailbox_offset() 117 static int imx8m_run(struct snd_sof_dev *sdev) in imx8m_run() 126 static int imx8m_reset(struct snd_sof_dev *sdev) in imx8m_reset() 150 static int imx8m_probe(struct snd_sof_dev *sdev) in imx8m_probe() 272 static int imx8m_remove(struct snd_sof_dev *sdev) in imx8m_remove() 320 static int imx8m_dsp_set_power_state(struct snd_sof_dev *sdev, in imx8m_dsp_set_power_state() 328 static int imx8m_resume(struct snd_sof_dev *sdev) in imx8m_resume() 344 static void imx8m_suspend(struct snd_sof_dev *sdev) in imx8m_suspend() 355 static int imx8m_dsp_runtime_resume(struct snd_sof_dev *sdev) in imx8m_dsp_runtime_resume() [all …]
|
A D | imx8ulp.c | 52 struct snd_sof_dev *sdev; 74 static int imx8ulp_get_mailbox_offset(struct snd_sof_dev *sdev) in imx8ulp_get_mailbox_offset() 127 static int imx8ulp_run(struct snd_sof_dev *sdev) in imx8ulp_run() 136 static int imx8ulp_reset(struct snd_sof_dev *sdev) in imx8ulp_reset() 162 static int imx8ulp_probe(struct snd_sof_dev *sdev) in imx8ulp_probe() 281 static int imx8ulp_remove(struct snd_sof_dev *sdev) in imx8ulp_remove() 297 static int imx8ulp_suspend(struct snd_sof_dev *sdev) in imx8ulp_suspend() 313 static int imx8ulp_resume(struct snd_sof_dev *sdev) in imx8ulp_resume() 326 static int imx8ulp_dsp_runtime_resume(struct snd_sof_dev *sdev) in imx8ulp_dsp_runtime_resume() 338 static int imx8ulp_dsp_runtime_suspend(struct snd_sof_dev *sdev) in imx8ulp_dsp_runtime_suspend() [all …]
|
/linux-6.3-rc2/sound/soc/sof/mediatek/mt8186/ |
A D | mt8186-clk.h | 12 struct snd_sof_dev; 21 int mt8186_adsp_init_clock(struct snd_sof_dev *sdev); 22 int mt8186_adsp_clock_on(struct snd_sof_dev *sdev); 23 void mt8186_adsp_clock_off(struct snd_sof_dev *sdev);
|
/linux-6.3-rc2/sound/soc/sof/mediatek/mt8195/ |
A D | mt8195-clk.h | 12 struct snd_sof_dev; 25 int mt8195_adsp_init_clock(struct snd_sof_dev *sdev); 26 int adsp_clock_on(struct snd_sof_dev *sdev); 27 int adsp_clock_off(struct snd_sof_dev *sdev);
|