Lines Matching refs:snd_sof_dev

45 static void hda_get_interfaces(struct snd_sof_dev *sdev, u32 *interface_mask)  in hda_get_interfaces()
85 u32 hda_get_interface_mask(struct snd_sof_dev *sdev) in hda_get_interface_mask()
95 bool hda_is_chain_dma_supported(struct snd_sof_dev *sdev, u32 dai_type) in hda_is_chain_dma_supported()
129 static int hda_dsp_core_reset_enter(struct snd_sof_dev *sdev, unsigned int core_mask) in hda_dsp_core_reset_enter()
168 static int hda_dsp_core_reset_leave(struct snd_sof_dev *sdev, unsigned int core_mask) in hda_dsp_core_reset_leave()
208 int hda_dsp_core_stall_reset(struct snd_sof_dev *sdev, unsigned int core_mask) in hda_dsp_core_stall_reset()
221 bool hda_dsp_core_is_enabled(struct snd_sof_dev *sdev, unsigned int core_mask) in hda_dsp_core_is_enabled()
247 int hda_dsp_core_run(struct snd_sof_dev *sdev, unsigned int core_mask) in hda_dsp_core_run()
279 int hda_dsp_core_power_up(struct snd_sof_dev *sdev, unsigned int core_mask) in hda_dsp_core_power_up()
327 static int hda_dsp_core_power_down(struct snd_sof_dev *sdev, unsigned int core_mask) in hda_dsp_core_power_down()
350 int hda_dsp_enable_core(struct snd_sof_dev *sdev, unsigned int core_mask) in hda_dsp_enable_core()
375 int hda_dsp_core_reset_power_down(struct snd_sof_dev *sdev, in hda_dsp_core_reset_power_down()
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()
453 static int hda_dsp_wait_d0i3c_done(struct snd_sof_dev *sdev) in hda_dsp_wait_d0i3c_done()
470 static int hda_dsp_send_pm_gate_ipc(struct snd_sof_dev *sdev, u32 flags) in hda_dsp_send_pm_gate_ipc()
480 static int hda_dsp_update_d0i3c_register(struct snd_sof_dev *sdev, u8 value) in hda_dsp_update_d0i3c_register()
529 static bool hda_dsp_d0i3_streaming_applicable(struct snd_sof_dev *sdev) in hda_dsp_d0i3_streaming_applicable()
553 static int hda_dsp_set_D0_state(struct snd_sof_dev *sdev, in hda_dsp_set_D0_state()
635 static void hda_dsp_state_log(struct snd_sof_dev *sdev) in hda_dsp_state_log()
675 static int hda_dsp_set_power_state(struct snd_sof_dev *sdev, in hda_dsp_set_power_state()
711 int hda_dsp_set_power_state_ipc3(struct snd_sof_dev *sdev, in hda_dsp_set_power_state_ipc3()
737 int hda_dsp_set_power_state_ipc4(struct snd_sof_dev *sdev, in hda_dsp_set_power_state_ipc4()
779 static int hda_suspend(struct snd_sof_dev *sdev, bool runtime_suspend) in hda_suspend()
859 static int hda_resume(struct snd_sof_dev *sdev, bool runtime_resume) in hda_resume()
905 int hda_dsp_resume(struct snd_sof_dev *sdev) in hda_dsp_resume()
958 int hda_dsp_runtime_resume(struct snd_sof_dev *sdev) in hda_dsp_runtime_resume()
974 int hda_dsp_runtime_idle(struct snd_sof_dev *sdev) in hda_dsp_runtime_idle()
988 int hda_dsp_runtime_suspend(struct snd_sof_dev *sdev) in hda_dsp_runtime_suspend()
1010 int hda_dsp_suspend(struct snd_sof_dev *sdev, u32 target_state) in hda_dsp_suspend()
1071 static unsigned int hda_dsp_check_for_dma_streams(struct snd_sof_dev *sdev) in hda_dsp_check_for_dma_streams()
1090 static int hda_dsp_s5_quirk(struct snd_sof_dev *sdev) in hda_dsp_s5_quirk()
1120 int hda_dsp_shutdown_dma_flush(struct snd_sof_dev *sdev) in hda_dsp_shutdown_dma_flush()
1144 int hda_dsp_shutdown(struct snd_sof_dev *sdev) in hda_dsp_shutdown()
1151 int hda_dsp_set_hw_params_upon_resume(struct snd_sof_dev *sdev) in hda_dsp_set_hw_params_upon_resume()
1170 struct snd_sof_dev *sdev = dev_get_drvdata(bus->dev); in hda_dsp_d0i3_work()
1191 int hda_dsp_core_get(struct snd_sof_dev *sdev, int core) in hda_dsp_core_get()
1233 void hda_common_enable_sdw_irq(struct snd_sof_dev *sdev, bool enable) in hda_common_enable_sdw_irq()
1248 void hda_sdw_int_enable(struct snd_sof_dev *sdev, bool enable) in hda_sdw_int_enable()
1262 int hda_sdw_check_lcount_common(struct snd_sof_dev *sdev) in hda_sdw_check_lcount_common()
1286 int hda_sdw_check_lcount_ext(struct snd_sof_dev *sdev) in hda_sdw_check_lcount_ext()
1312 int hda_sdw_check_lcount(struct snd_sof_dev *sdev) in hda_sdw_check_lcount()
1324 void hda_sdw_process_wakeen(struct snd_sof_dev *sdev) in hda_sdw_process_wakeen()
1340 int hda_dsp_disable_interrupts(struct snd_sof_dev *sdev) in hda_dsp_disable_interrupts()
1488 void hda_dsp_get_state(struct snd_sof_dev *sdev, const char *level) in hda_dsp_get_state()
1560 static void hda_dsp_get_registers(struct snd_sof_dev *sdev, in hda_dsp_get_registers()
1589 void hda_dsp_dump_ext_rom_status(struct snd_sof_dev *sdev, const char *level, in hda_dsp_dump_ext_rom_status()
1608 void hda_dsp_dump(struct snd_sof_dev *sdev, u32 flags) in hda_dsp_dump()