Lines Matching refs:sdev
552 struct snd_sof_dev *sdev; member
574 int hda_dsp_probe(struct snd_sof_dev *sdev);
575 int hda_dsp_remove(struct snd_sof_dev *sdev);
576 int hda_dsp_core_power_up(struct snd_sof_dev *sdev, unsigned int core_mask);
577 int hda_dsp_core_run(struct snd_sof_dev *sdev, unsigned int core_mask);
578 int hda_dsp_enable_core(struct snd_sof_dev *sdev, unsigned int core_mask);
579 int hda_dsp_core_reset_power_down(struct snd_sof_dev *sdev,
581 int hda_power_down_dsp(struct snd_sof_dev *sdev);
582 int hda_dsp_core_get(struct snd_sof_dev *sdev, int core);
583 void hda_dsp_ipc_int_enable(struct snd_sof_dev *sdev);
584 void hda_dsp_ipc_int_disable(struct snd_sof_dev *sdev);
585 bool hda_dsp_core_is_enabled(struct snd_sof_dev *sdev, unsigned int core_mask);
587 int hda_dsp_set_power_state(struct snd_sof_dev *sdev,
590 int hda_dsp_suspend(struct snd_sof_dev *sdev, u32 target_state);
591 int hda_dsp_resume(struct snd_sof_dev *sdev);
592 int hda_dsp_runtime_suspend(struct snd_sof_dev *sdev);
593 int hda_dsp_runtime_resume(struct snd_sof_dev *sdev);
594 int hda_dsp_runtime_idle(struct snd_sof_dev *sdev);
595 int hda_dsp_shutdown_dma_flush(struct snd_sof_dev *sdev);
596 int hda_dsp_shutdown(struct snd_sof_dev *sdev);
597 int hda_dsp_set_hw_params_upon_resume(struct snd_sof_dev *sdev);
598 void hda_dsp_dump(struct snd_sof_dev *sdev, u32 flags);
599 void hda_ipc_dump(struct snd_sof_dev *sdev);
600 void hda_ipc_irq_dump(struct snd_sof_dev *sdev);
602 int hda_dsp_disable_interrupts(struct snd_sof_dev *sdev);
607 u32 hda_dsp_get_mult_div(struct snd_sof_dev *sdev, int rate);
608 u32 hda_dsp_get_bits(struct snd_sof_dev *sdev, int sample_bits);
609 int hda_dsp_pcm_open(struct snd_sof_dev *sdev,
611 int hda_dsp_pcm_close(struct snd_sof_dev *sdev,
613 int hda_dsp_pcm_hw_params(struct snd_sof_dev *sdev,
617 int hda_dsp_stream_hw_free(struct snd_sof_dev *sdev,
619 int hda_dsp_pcm_trigger(struct snd_sof_dev *sdev,
621 snd_pcm_uframes_t hda_dsp_pcm_pointer(struct snd_sof_dev *sdev,
623 int hda_dsp_pcm_ack(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream);
629 int hda_dsp_stream_init(struct snd_sof_dev *sdev);
630 void hda_dsp_stream_free(struct snd_sof_dev *sdev);
631 int hda_dsp_stream_hw_params(struct snd_sof_dev *sdev,
635 int hda_dsp_iccmax_stream_hw_params(struct snd_sof_dev *sdev,
639 int hda_dsp_stream_trigger(struct snd_sof_dev *sdev,
642 int hda_dsp_stream_setup_bdl(struct snd_sof_dev *sdev,
645 bool hda_dsp_check_ipc_irq(struct snd_sof_dev *sdev);
646 bool hda_dsp_check_stream_irq(struct snd_sof_dev *sdev);
652 hda_dsp_stream_get(struct snd_sof_dev *sdev, int direction, u32 flags);
653 int hda_dsp_stream_put(struct snd_sof_dev *sdev, int direction, int stream_tag);
654 int hda_dsp_stream_spib_config(struct snd_sof_dev *sdev,
658 int hda_ipc_msg_data(struct snd_sof_dev *sdev,
661 int hda_set_stream_data_offset(struct snd_sof_dev *sdev,
668 int hda_dsp_ipc_send_msg(struct snd_sof_dev *sdev,
670 void hda_dsp_ipc_get_reply(struct snd_sof_dev *sdev);
671 int hda_dsp_ipc_get_mailbox_offset(struct snd_sof_dev *sdev);
672 int hda_dsp_ipc_get_window_offset(struct snd_sof_dev *sdev, u32 id);
675 int hda_dsp_ipc_cmd_done(struct snd_sof_dev *sdev, int dir);
680 int hda_dsp_cl_boot_firmware(struct snd_sof_dev *sdev);
681 int hda_dsp_cl_boot_firmware_iccmax(struct snd_sof_dev *sdev);
682 int hda_cl_copy_fw(struct snd_sof_dev *sdev, struct hdac_ext_stream *hext_stream);
683 struct hdac_ext_stream *hda_cl_stream_prepare(struct snd_sof_dev *sdev, unsigned int format,
686 int hda_cl_cleanup(struct snd_sof_dev *sdev, struct snd_dma_buffer *dmab,
688 int cl_dsp_init(struct snd_sof_dev *sdev, int stream_tag, bool imr_boot);
692 int hda_dsp_pre_fw_run(struct snd_sof_dev *sdev);
693 int hda_dsp_post_fw_run(struct snd_sof_dev *sdev);
696 int hda_dsp_ext_man_get_cavs_config_data(struct snd_sof_dev *sdev,
702 int hda_dsp_ctrl_get_caps(struct snd_sof_dev *sdev);
703 void hda_dsp_ctrl_ppcap_enable(struct snd_sof_dev *sdev, bool enable);
704 void hda_dsp_ctrl_ppcap_int_enable(struct snd_sof_dev *sdev, bool enable);
705 int hda_dsp_ctrl_link_reset(struct snd_sof_dev *sdev, bool reset);
706 void hda_dsp_ctrl_misc_clock_gating(struct snd_sof_dev *sdev, bool enable);
707 int hda_dsp_ctrl_clock_power_gating(struct snd_sof_dev *sdev, bool enable);
708 int hda_dsp_ctrl_init_chip(struct snd_sof_dev *sdev);
709 void hda_dsp_ctrl_stop_chip(struct snd_sof_dev *sdev);
713 void sof_hda_bus_init(struct snd_sof_dev *sdev, struct device *dev);
714 void sof_hda_bus_exit(struct snd_sof_dev *sdev);
720 void hda_codec_probe_bus(struct snd_sof_dev *sdev);
721 void hda_codec_jack_wake_enable(struct snd_sof_dev *sdev, bool enable);
722 void hda_codec_jack_check(struct snd_sof_dev *sdev);
723 void hda_codec_check_for_state_change(struct snd_sof_dev *sdev);
724 void hda_codec_init_cmd_io(struct snd_sof_dev *sdev);
725 void hda_codec_resume_cmd_io(struct snd_sof_dev *sdev);
726 void hda_codec_stop_cmd_io(struct snd_sof_dev *sdev);
727 void hda_codec_suspend_cmd_io(struct snd_sof_dev *sdev);
728 void hda_codec_detect_mask(struct snd_sof_dev *sdev);
729 void hda_codec_rirb_status_clear(struct snd_sof_dev *sdev);
730 bool hda_codec_check_rirb_status(struct snd_sof_dev *sdev);
731 void hda_codec_set_codec_wakeup(struct snd_sof_dev *sdev, bool status);
732 void hda_codec_device_remove(struct snd_sof_dev *sdev);
736 static inline void hda_codec_probe_bus(struct snd_sof_dev *sdev) { } in hda_codec_probe_bus() argument
737 static inline void hda_codec_jack_wake_enable(struct snd_sof_dev *sdev, bool enable) { } in hda_codec_jack_wake_enable() argument
738 static inline void hda_codec_jack_check(struct snd_sof_dev *sdev) { } in hda_codec_jack_check() argument
739 static inline void hda_codec_check_for_state_change(struct snd_sof_dev *sdev) { } in hda_codec_check_for_state_change() argument
740 static inline void hda_codec_init_cmd_io(struct snd_sof_dev *sdev) { } in hda_codec_init_cmd_io() argument
741 static inline void hda_codec_resume_cmd_io(struct snd_sof_dev *sdev) { } in hda_codec_resume_cmd_io() argument
742 static inline void hda_codec_stop_cmd_io(struct snd_sof_dev *sdev) { } in hda_codec_stop_cmd_io() argument
743 static inline void hda_codec_suspend_cmd_io(struct snd_sof_dev *sdev) { } in hda_codec_suspend_cmd_io() argument
744 static inline void hda_codec_detect_mask(struct snd_sof_dev *sdev) { } in hda_codec_detect_mask() argument
745 static inline void hda_codec_rirb_status_clear(struct snd_sof_dev *sdev) { } in hda_codec_rirb_status_clear() argument
746 static inline bool hda_codec_check_rirb_status(struct snd_sof_dev *sdev) { return false; } in hda_codec_check_rirb_status() argument
747 static inline void hda_codec_set_codec_wakeup(struct snd_sof_dev *sdev, bool status) { } in hda_codec_set_codec_wakeup() argument
748 static inline void hda_codec_device_remove(struct snd_sof_dev *sdev) { } in hda_codec_device_remove() argument
754 void hda_codec_i915_display_power(struct snd_sof_dev *sdev, bool enable);
755 int hda_codec_i915_init(struct snd_sof_dev *sdev);
756 int hda_codec_i915_exit(struct snd_sof_dev *sdev);
760 static inline void hda_codec_i915_display_power(struct snd_sof_dev *sdev, bool enable) { } in hda_codec_i915_display_power() argument
761 static inline int hda_codec_i915_init(struct snd_sof_dev *sdev) { return 0; } in hda_codec_i915_init() argument
762 static inline int hda_codec_i915_exit(struct snd_sof_dev *sdev) { return 0; } in hda_codec_i915_exit() argument
789 int hda_dsp_trace_init(struct snd_sof_dev *sdev, struct snd_dma_buffer *dmab,
791 int hda_dsp_trace_release(struct snd_sof_dev *sdev);
792 int hda_dsp_trace_trigger(struct snd_sof_dev *sdev, int cmd);
799 int hda_sdw_check_lcount_common(struct snd_sof_dev *sdev);
800 int hda_sdw_startup(struct snd_sof_dev *sdev);
801 void hda_common_enable_sdw_irq(struct snd_sof_dev *sdev, bool enable);
802 void hda_sdw_int_enable(struct snd_sof_dev *sdev, bool enable);
803 void hda_sdw_process_wakeen(struct snd_sof_dev *sdev);
804 bool hda_common_check_sdw_irq(struct snd_sof_dev *sdev);
808 static inline int hda_sdw_check_lcount_common(struct snd_sof_dev *sdev) in hda_sdw_check_lcount_common() argument
813 static inline int hda_sdw_startup(struct snd_sof_dev *sdev) in hda_sdw_startup() argument
818 static inline void hda_common_enable_sdw_irq(struct snd_sof_dev *sdev, bool enable) in hda_common_enable_sdw_irq() argument
822 static inline void hda_sdw_int_enable(struct snd_sof_dev *sdev, bool enable) in hda_sdw_int_enable() argument
826 static inline void hda_sdw_process_wakeen(struct snd_sof_dev *sdev) in hda_sdw_process_wakeen() argument
830 static inline bool hda_common_check_sdw_irq(struct snd_sof_dev *sdev) in hda_common_check_sdw_irq() argument
839 int hda_dsp_dais_suspend(struct snd_sof_dev *sdev);
847 int sof_skl_ops_init(struct snd_sof_dev *sdev);
849 int sof_apl_ops_init(struct snd_sof_dev *sdev);
851 int sof_cnl_ops_init(struct snd_sof_dev *sdev);
853 int sof_tgl_ops_init(struct snd_sof_dev *sdev);
855 int sof_icl_ops_init(struct snd_sof_dev *sdev);
857 int sof_mtl_ops_init(struct snd_sof_dev *sdev);
872 int hda_probes_register(struct snd_sof_dev *sdev);
873 void hda_probes_unregister(struct snd_sof_dev *sdev);
875 static inline int hda_probes_register(struct snd_sof_dev *sdev) in hda_probes_register() argument
880 static inline void hda_probes_unregister(struct snd_sof_dev *sdev) in hda_probes_unregister() argument
886 int hda_register_clients(struct snd_sof_dev *sdev);
887 void hda_unregister_clients(struct snd_sof_dev *sdev);
890 struct snd_soc_acpi_mach *hda_machine_select(struct snd_sof_dev *sdev);
892 struct snd_sof_dev *sdev);
910 void hda_set_dai_drv_ops(struct snd_sof_dev *sdev, struct snd_sof_dsp_ops *ops);
911 void hda_ops_free(struct snd_sof_dev *sdev);
914 int hda_dsp_cl_boot_firmware_skl(struct snd_sof_dev *sdev);
915 int hda_dsp_core_stall_reset(struct snd_sof_dev *sdev, unsigned int core_mask);
919 int cnl_ipc4_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg);
921 bool hda_ipc4_tx_is_busy(struct snd_sof_dev *sdev);
924 int hda_dsp_ipc4_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg);
925 void hda_ipc4_dump(struct snd_sof_dev *sdev);
929 int hda_dsp_ipc4_load_library(struct snd_sof_dev *sdev,