Home
last modified time | relevance | path

Searched refs:snd_sof_dev (Results 1 – 25 of 108) sorted by relevance

12345

/sound/soc/sof/intel/
A Dhda.h577 struct snd_sof_dev *sdev;
606 int hda_dsp_probe(struct snd_sof_dev *sdev);
607 void hda_dsp_remove(struct snd_sof_dev *sdev);
626 int hda_dsp_resume(struct snd_sof_dev *sdev);
635 void hda_ipc_dump(struct snd_sof_dev *sdev);
647 int hda_dsp_pcm_open(struct snd_sof_dev *sdev,
702 int hda_ipc_msg_data(struct snd_sof_dev *sdev,
834 int hda_sdw_startup(struct snd_sof_dev *sdev);
962 struct snd_sof_dev *sdev);
977 void hda_ops_free(struct snd_sof_dev *sdev);
[all …]
A Datom.h60 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 Datom.c28 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 Dshim.h190 int (*read_sdw_lcount)(struct snd_sof_dev *sdev);
191 void (*enable_sdw_irq)(struct snd_sof_dev *sdev, bool enable);
192 bool (*check_sdw_irq)(struct snd_sof_dev *sdev);
193 bool (*check_sdw_wakeen_irq)(struct snd_sof_dev *sdev);
194 void (*sdw_process_wakeen)(struct snd_sof_dev *sdev);
195 bool (*check_ipc_irq)(struct snd_sof_dev *sdev);
196 bool (*check_mic_privacy_irq)(struct snd_sof_dev *sdev, bool alt, int elid);
197 void (*process_mic_privacy)(struct snd_sof_dev *sdev, bool alt, int elid);
198 int (*power_down_dsp)(struct snd_sof_dev *sdev);
199 int (*disable_interrupts)(struct snd_sof_dev *sdev);
[all …]
A Dhda-dsp.c85 u32 hda_get_interface_mask(struct snd_sof_dev *sdev) in hda_get_interface_mask()
416 void hda_dsp_ipc_int_enable(struct snd_sof_dev *sdev) in hda_dsp_ipc_int_enable()
435 void hda_dsp_ipc_int_disable(struct snd_sof_dev *sdev) in hda_dsp_ipc_int_disable()
900 int hda_dsp_resume(struct snd_sof_dev *sdev) in hda_dsp_resume()
953 int hda_dsp_runtime_resume(struct snd_sof_dev *sdev) in hda_dsp_runtime_resume()
969 int hda_dsp_runtime_idle(struct snd_sof_dev *sdev) in hda_dsp_runtime_idle()
983 int hda_dsp_runtime_suspend(struct snd_sof_dev *sdev) in hda_dsp_runtime_suspend()
1093 static int hda_dsp_s5_quirk(struct snd_sof_dev *sdev) in hda_dsp_s5_quirk()
1147 int hda_dsp_shutdown(struct snd_sof_dev *sdev) in hda_dsp_shutdown()
1315 int hda_sdw_check_lcount(struct snd_sof_dev *sdev) in hda_sdw_check_lcount()
[all …]
A Dhda-codec.c107 void hda_codec_jack_check(struct snd_sof_dev *sdev) in hda_codec_jack_check()
217 void hda_codec_probe_bus(struct snd_sof_dev *sdev) in hda_codec_probe_bus()
255 void hda_codec_detect_mask(struct snd_sof_dev *sdev) in hda_codec_detect_mask()
280 void hda_codec_init_cmd_io(struct snd_sof_dev *sdev) in hda_codec_init_cmd_io()
293 void hda_codec_resume_cmd_io(struct snd_sof_dev *sdev) in hda_codec_resume_cmd_io()
307 void hda_codec_stop_cmd_io(struct snd_sof_dev *sdev) in hda_codec_stop_cmd_io()
320 void hda_codec_suspend_cmd_io(struct snd_sof_dev *sdev) in hda_codec_suspend_cmd_io()
335 void hda_codec_rirb_status_clear(struct snd_sof_dev *sdev) in hda_codec_rirb_status_clear()
386 void hda_codec_device_remove(struct snd_sof_dev *sdev) in hda_codec_device_remove()
418 int hda_codec_i915_init(struct snd_sof_dev *sdev) in hda_codec_i915_init()
[all …]
A Dlnl.c41 static int lnl_hda_dsp_probe(struct snd_sof_dev *sdev) in lnl_hda_dsp_probe()
52 static void lnl_hda_dsp_remove(struct snd_sof_dev *sdev) in lnl_hda_dsp_remove()
64 static int lnl_hda_dsp_resume(struct snd_sof_dev *sdev) in lnl_hda_dsp_resume()
75 static int lnl_hda_dsp_runtime_resume(struct snd_sof_dev *sdev) in lnl_hda_dsp_runtime_resume()
86 static int lnl_dsp_post_fw_run(struct snd_sof_dev *sdev) in lnl_dsp_post_fw_run()
103 int sof_lnl_set_ops(struct snd_sof_dev *sdev, struct snd_sof_dsp_ops *dsp_ops) in sof_lnl_set_ops()
131 bool lnl_dsp_check_sdw_irq(struct snd_sof_dev *sdev) in lnl_dsp_check_sdw_irq()
139 int lnl_dsp_disable_interrupts(struct snd_sof_dev *sdev) in lnl_dsp_disable_interrupts()
146 bool lnl_sdw_check_wakeen_irq(struct snd_sof_dev *sdev) in lnl_sdw_check_wakeen_irq()
A Dhda-dai-ops.c50 struct snd_sof_dev *sdev; in hda_link_stream_assign()
118 static struct hdac_ext_stream *hda_get_hext_stream(struct snd_sof_dev *sdev, in hda_get_hext_stream()
180 static void hda_codec_dai_set_stream(struct snd_sof_dev *sdev, in hda_codec_dai_set_stream()
191 static unsigned int hda_calc_stream_format(struct snd_sof_dev *sdev, in hda_calc_stream_format()
216 static struct hdac_ext_link *hda_get_hlink(struct snd_sof_dev *sdev, in hda_get_hlink()
226 static unsigned int generic_calc_stream_format(struct snd_sof_dev *sdev, in generic_calc_stream_format()
243 static unsigned int dmic_calc_stream_format(struct snd_sof_dev *sdev, in dmic_calc_stream_format()
272 static struct hdac_ext_link *ssp_get_hlink(struct snd_sof_dev *sdev, in ssp_get_hlink()
280 static struct hdac_ext_link *dmic_get_hlink(struct snd_sof_dev *sdev, in dmic_get_hlink()
288 static struct hdac_ext_link *sdw_get_hlink(struct snd_sof_dev *sdev, in sdw_get_hlink()
[all …]
A Dhda.c82 struct snd_sof_dev *sdev = widget_to_sdev(w); in sdw_params_free()
157 static int hda_sdw_probe(struct snd_sof_dev *sdev) in hda_sdw_probe()
229 int hda_sdw_startup(struct snd_sof_dev *sdev) in hda_sdw_startup()
251 static int hda_sdw_exit(struct snd_sof_dev *sdev) in hda_sdw_exit()
420 int hda_dsp_pre_fw_run(struct snd_sof_dev *sdev) in hda_dsp_pre_fw_run()
487 static int hda_init(struct snd_sof_dev *sdev) in hda_init()
678 struct snd_sof_dev *sdev = context; in hda_dsp_interrupt_handler()
701 struct snd_sof_dev *sdev = context; in hda_dsp_interrupt_thread()
791 int hda_dsp_probe(struct snd_sof_dev *sdev) in hda_dsp_probe()
946 void hda_dsp_remove(struct snd_sof_dev *sdev) in hda_dsp_remove()
[all …]
A Dmtl.c32 static void mtl_ipc_host_done(struct snd_sof_dev *sdev) in mtl_ipc_host_done()
47 static void mtl_ipc_dsp_done(struct snd_sof_dev *sdev) in mtl_ipc_dsp_done()
62 bool mtl_dsp_check_ipc_irq(struct snd_sof_dev *sdev) in mtl_dsp_check_ipc_irq()
84 static bool mtl_dsp_check_sdw_irq(struct snd_sof_dev *sdev) in mtl_dsp_check_sdw_irq()
126 void mtl_enable_ipc_interrupts(struct snd_sof_dev *sdev) in mtl_enable_ipc_interrupts()
140 void mtl_disable_ipc_interrupts(struct snd_sof_dev *sdev) in mtl_disable_ipc_interrupts()
240 static int mtl_dsp_pre_fw_run(struct snd_sof_dev *sdev) in mtl_dsp_pre_fw_run()
301 static int mtl_dsp_post_fw_run(struct snd_sof_dev *sdev) in mtl_dsp_post_fw_run()
427 int mtl_power_down_dsp(struct snd_sof_dev *sdev) in mtl_power_down_dsp()
561 struct snd_sof_dev *sdev = context; in mtl_ipc_irq_thread()
[all …]
A Dmtl.h124 bool mtl_dsp_check_ipc_irq(struct snd_sof_dev *sdev);
126 void mtl_enable_ipc_interrupts(struct snd_sof_dev *sdev);
127 void mtl_disable_ipc_interrupts(struct snd_sof_dev *sdev);
129 int mtl_enable_interrupts(struct snd_sof_dev *sdev, bool enable);
131 int mtl_power_down_dsp(struct snd_sof_dev *sdev);
132 int mtl_dsp_cl_init(struct snd_sof_dev *sdev, int stream_tag, bool imr_boot);
134 int sof_mtl_set_ops(struct snd_sof_dev *sdev, struct snd_sof_dsp_ops *dsp_ops);
A Dhda-ipc.c29 static void hda_dsp_ipc_host_done(struct snd_sof_dev *sdev) in hda_dsp_ipc_host_done()
131 void hda_dsp_ipc_get_reply(struct snd_sof_dev *sdev) in hda_dsp_ipc_get_reply()
170 struct snd_sof_dev *sdev = context; in hda_dsp_ipc4_irq_thread()
253 struct snd_sof_dev *sdev = context; in hda_dsp_ipc_irq_thread()
364 bool hda_dsp_check_ipc_irq(struct snd_sof_dev *sdev) in hda_dsp_check_ipc_irq()
409 int hda_ipc_msg_data(struct snd_sof_dev *sdev, in hda_ipc_msg_data()
474 bool hda_check_ipc_irq(struct snd_sof_dev *sdev) in hda_check_ipc_irq()
486 void hda_ipc_irq_dump(struct snd_sof_dev *sdev) in hda_ipc_irq_dump()
507 void hda_ipc_dump(struct snd_sof_dev *sdev) in hda_ipc_dump()
527 void hda_ipc4_dump(struct snd_sof_dev *sdev) in hda_ipc4_dump()
[all …]
/sound/soc/sof/
A Dsof-priv.h117 struct snd_sof_dev;
188 u8 (*read8)(struct snd_sof_dev *sof_dev,
192 u32 (*read)(struct snd_sof_dev *sof_dev,
229 int (*pcm_open)(struct snd_sof_dev *sdev,
384 struct snd_sof_dev *sdev;
437 int (*init)(struct snd_sof_dev *sdev);
438 void (*free)(struct snd_sof_dev *sdev);
510 int (*init)(struct snd_sof_dev *sdev);
511 void (*exit)(struct snd_sof_dev *sdev);
524 struct snd_sof_dev *sdev;
[all …]
A Dops.h24 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()
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()
287 snd_sof_dsp_set_power_state(struct snd_sof_dev *sdev, in snd_sof_dsp_set_power_state()
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()
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()
568 snd_sof_machine_select(struct snd_sof_dev *sdev) in snd_sof_machine_select()
[all …]
A Dipc4-priv.h94 int (*load_library)(struct snd_sof_dev *sdev,
96 void (*intel_configure_mic_privacy)(struct snd_sof_dev *sdev,
108 int sof_ipc4_mtrace_update_pos(struct snd_sof_dev *sdev, int core);
110 int sof_ipc4_complete_split_release(struct snd_sof_dev *sdev);
111 int sof_ipc4_query_fw_configuration(struct snd_sof_dev *sdev);
112 int sof_ipc4_reload_fw_libraries(struct snd_sof_dev *sdev);
113 struct sof_ipc4_fw_module *sof_ipc4_find_module_by_uuid(struct snd_sof_dev *sdev,
116 struct snd_sof_widget *sof_ipc4_find_swidget_by_ids(struct snd_sof_dev *sdev,
120 void sof_ipc4_update_cpc_from_manifest(struct snd_sof_dev *sdev,
124 size_t sof_ipc4_find_debug_slot_offset_by_type(struct snd_sof_dev *sdev,
[all …]
A Dsof-client.c73 static int sof_register_ipc_flood_test(struct snd_sof_dev *sdev) in sof_register_ipc_flood_test()
153 int sof_register_clients(struct snd_sof_dev *sdev) in sof_register_clients()
198 void sof_unregister_clients(struct snd_sof_dev *sdev) in sof_unregister_clients()
347 struct snd_sof_dev *sdev = c->sdev; in sof_client_ipc4_find_module()
381 int sof_resume_clients(struct snd_sof_dev *sdev) in sof_resume_clients()
419 struct snd_sof_dev *sdev = sof_client_dev_to_sof_dev(cdev); in sof_client_get_fw_version()
427 struct snd_sof_dev *sdev = sof_client_dev_to_sof_dev(cdev); in sof_client_get_ipc_max_payload_size()
435 struct snd_sof_dev *sdev = sof_client_dev_to_sof_dev(cdev); in sof_client_get_ipc_type()
444 struct snd_sof_dev *sdev = sof_client_dev_to_sof_dev(cdev); in sof_client_core_module_get()
455 struct snd_sof_dev *sdev = sof_client_dev_to_sof_dev(cdev); in sof_client_core_module_put()
[all …]
A Dsof-audio.h131 int (*pcm_setup)(struct snd_sof_dev *sdev, struct snd_sof_pcm *spcm);
132 void (*pcm_free)(struct snd_sof_dev *sdev, struct snd_sof_pcm *spcm);
163 void (*update)(struct snd_sof_dev *sdev, void *ipc_control_message);
234 int (*set_up_all_pipelines)(struct snd_sof_dev *sdev, bool verify);
235 int (*tear_down_all_pipelines)(struct snd_sof_dev *sdev, bool verify);
572 void snd_sof_control_notify(struct snd_sof_dev *sdev,
601 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in snd_sof_find_spcm_dai()
646 bool snd_sof_stream_suspend_ignored(struct snd_sof_dev *sdev);
650 int sof_machine_register(struct snd_sof_dev *sdev, void *pdata);
651 void sof_machine_unregister(struct snd_sof_dev *sdev, void *pdata);
[all …]
A Dipc3-priv.h22 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,
32 void sof_ipc3_do_rx_work(struct snd_sof_dev *sdev, struct sof_ipc_cmd_hdr *hdr, void *msg_buf);
35 static inline int sof_dtrace_host_init(struct snd_sof_dev *sdev, in sof_dtrace_host_init()
47 static inline int sof_dtrace_host_release(struct snd_sof_dev *sdev) in sof_dtrace_host_release()
57 static inline int sof_dtrace_host_trigger(struct snd_sof_dev *sdev, int cmd) in sof_dtrace_host_trigger()
A Diomem-utils.c26 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 Dops.c15 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()
/sound/soc/sof/amd/
A Dacp.h190 struct snd_sof_dev *sdev;
231 struct snd_sof_dev *dev;
285 int amd_sof_acp_probe(struct snd_sof_dev *sdev);
286 void amd_sof_acp_remove(struct snd_sof_dev *sdev);
289 int acp_sof_dsp_run(struct snd_sof_dev *sdev);
290 int acp_dsp_pre_fw_run(struct snd_sof_dev *sdev);
307 int acp_sof_ipc_send_msg(struct snd_sof_dev *sdev,
340 int sof_acp63_ops_init(struct snd_sof_dev *sdev);
343 int sof_acp70_ops_init(struct snd_sof_dev *sdev);
356 int amd_sof_acp_resume(struct snd_sof_dev *sdev);
[all …]
A Dacp-ipc.c18 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()
157 struct snd_sof_dev *sdev = context; in acp_sof_ipc_irq_thread()
275 int acp_set_stream_data_offset(struct snd_sof_dev *sdev, in acp_set_stream_data_offset()
296 int acp_sof_ipc_get_mailbox_offset(struct snd_sof_dev *sdev) in acp_sof_ipc_get_mailbox_offset()
[all …]
/sound/soc/sof/imx/
A Dimx-common.h84 int (*probe)(struct snd_sof_dev *sdev);
86 int (*core_kick)(struct snd_sof_dev *sdev);
88 int (*core_shutdown)(struct snd_sof_dev *sdev);
90 int (*core_reset)(struct snd_sof_dev *sdev);
120 static inline int imx_chip_core_kick(struct snd_sof_dev *sdev) in imx_chip_core_kick()
130 static inline int imx_chip_core_shutdown(struct snd_sof_dev *sdev) in imx_chip_core_shutdown()
140 static inline int imx_chip_core_reset(struct snd_sof_dev *sdev) in imx_chip_core_reset()
150 static inline int imx_chip_probe(struct snd_sof_dev *sdev) in imx_chip_probe()
160 void imx8_get_registers(struct snd_sof_dev *sdev,
165 void imx8_dump(struct snd_sof_dev *sdev, u32 flags);
A Dimx-common.c28 void imx8_get_registers(struct snd_sof_dev *sdev, in imx8_get_registers()
58 void imx8_dump(struct snd_sof_dev *sdev, u32 flags) in imx8_dump()
84 struct snd_sof_dev *sdev; in imx_handle_reply()
96 struct snd_sof_dev *sdev; in imx_handle_request()
159 static int imx_common_resume(struct snd_sof_dev *sdev) in imx_common_resume()
177 static int imx_common_suspend(struct snd_sof_dev *sdev) in imx_common_suspend()
198 static int imx_runtime_resume(struct snd_sof_dev *sdev) in imx_runtime_resume()
214 static int imx_resume(struct snd_sof_dev *sdev) in imx_resume()
332 struct snd_sof_dev *sdev; in imx_unregister_action()
343 static int imx_probe(struct snd_sof_dev *sdev) in imx_probe()
[all …]
/sound/soc/sof/mediatek/
A Dmtk-adsp-common.h9 void mtk_adsp_dump(struct snd_sof_dev *sdev, u32 flags);
10 int mtk_adsp_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg);
13 int mtk_adsp_get_bar_index(struct snd_sof_dev *sdev, u32 type);
14 int mtk_adsp_stream_pcm_hw_params(struct snd_sof_dev *sdev,
18 snd_pcm_uframes_t mtk_adsp_stream_pcm_pointer(struct snd_sof_dev *sdev,

Completed in 53 milliseconds

12345