Lines Matching refs:snd_sof_dev

458 static inline struct hdac_bus *sof_to_bus(struct snd_sof_dev *s)  in sof_to_bus()
465 static inline struct hda_bus *sof_to_hbus(struct snd_sof_dev *s) in sof_to_hbus()
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);
495 int hda_dsp_core_run(struct snd_sof_dev *sdev, unsigned int core_mask);
496 int hda_dsp_enable_core(struct snd_sof_dev *sdev, unsigned int core_mask);
497 int hda_dsp_core_reset_power_down(struct snd_sof_dev *sdev,
499 void hda_dsp_ipc_int_enable(struct snd_sof_dev *sdev);
500 void hda_dsp_ipc_int_disable(struct snd_sof_dev *sdev);
502 int hda_dsp_set_power_state(struct snd_sof_dev *sdev,
505 int hda_dsp_suspend(struct snd_sof_dev *sdev, u32 target_state);
506 int hda_dsp_resume(struct snd_sof_dev *sdev);
507 int hda_dsp_runtime_suspend(struct snd_sof_dev *sdev);
508 int hda_dsp_runtime_resume(struct snd_sof_dev *sdev);
509 int hda_dsp_runtime_idle(struct snd_sof_dev *sdev);
510 int hda_dsp_shutdown(struct snd_sof_dev *sdev);
511 int hda_dsp_set_hw_params_upon_resume(struct snd_sof_dev *sdev);
512 void hda_dsp_dump(struct snd_sof_dev *sdev, u32 flags);
513 void hda_ipc_dump(struct snd_sof_dev *sdev);
514 void hda_ipc_irq_dump(struct snd_sof_dev *sdev);
520 u32 hda_dsp_get_mult_div(struct snd_sof_dev *sdev, int rate);
521 u32 hda_dsp_get_bits(struct snd_sof_dev *sdev, int sample_bits);
522 int hda_dsp_pcm_open(struct snd_sof_dev *sdev,
524 int hda_dsp_pcm_close(struct snd_sof_dev *sdev,
526 int hda_dsp_pcm_hw_params(struct snd_sof_dev *sdev,
530 int hda_dsp_stream_hw_free(struct snd_sof_dev *sdev,
532 int hda_dsp_pcm_trigger(struct snd_sof_dev *sdev,
534 snd_pcm_uframes_t hda_dsp_pcm_pointer(struct snd_sof_dev *sdev,
541 int hda_dsp_stream_init(struct snd_sof_dev *sdev);
542 void hda_dsp_stream_free(struct snd_sof_dev *sdev);
543 int hda_dsp_stream_hw_params(struct snd_sof_dev *sdev,
547 int hda_dsp_iccmax_stream_hw_params(struct snd_sof_dev *sdev, struct hdac_ext_stream *stream,
550 int hda_dsp_stream_trigger(struct snd_sof_dev *sdev,
553 int hda_dsp_stream_setup_bdl(struct snd_sof_dev *sdev,
556 bool hda_dsp_check_ipc_irq(struct snd_sof_dev *sdev);
557 bool hda_dsp_check_stream_irq(struct snd_sof_dev *sdev);
560 hda_dsp_stream_get(struct snd_sof_dev *sdev, int direction, u32 flags);
561 int hda_dsp_stream_put(struct snd_sof_dev *sdev, int direction, int stream_tag);
562 int hda_dsp_stream_spib_config(struct snd_sof_dev *sdev,
566 int hda_ipc_msg_data(struct snd_sof_dev *sdev,
569 int hda_ipc_pcm_params(struct snd_sof_dev *sdev,
577 int hda_probe_compr_assign(struct snd_sof_dev *sdev,
580 int hda_probe_compr_free(struct snd_sof_dev *sdev,
583 int hda_probe_compr_set_params(struct snd_sof_dev *sdev,
587 int hda_probe_compr_trigger(struct snd_sof_dev *sdev,
590 int hda_probe_compr_pointer(struct snd_sof_dev *sdev,
599 int hda_dsp_ipc_send_msg(struct snd_sof_dev *sdev,
601 void hda_dsp_ipc_get_reply(struct snd_sof_dev *sdev);
602 int hda_dsp_ipc_get_mailbox_offset(struct snd_sof_dev *sdev);
603 int hda_dsp_ipc_get_window_offset(struct snd_sof_dev *sdev, u32 id);
606 int hda_dsp_ipc_cmd_done(struct snd_sof_dev *sdev, int dir);
611 int hda_dsp_cl_boot_firmware(struct snd_sof_dev *sdev);
612 int hda_dsp_cl_boot_firmware_iccmax(struct snd_sof_dev *sdev);
615 int hda_dsp_pre_fw_run(struct snd_sof_dev *sdev);
616 int hda_dsp_post_fw_run(struct snd_sof_dev *sdev);
617 int hda_dsp_post_fw_run_icl(struct snd_sof_dev *sdev);
618 int hda_dsp_core_stall_icl(struct snd_sof_dev *sdev, unsigned int core_mask);
621 int hda_dsp_ext_man_get_cavs_config_data(struct snd_sof_dev *sdev,
627 int hda_dsp_ctrl_get_caps(struct snd_sof_dev *sdev);
628 void hda_dsp_ctrl_ppcap_enable(struct snd_sof_dev *sdev, bool enable);
629 void hda_dsp_ctrl_ppcap_int_enable(struct snd_sof_dev *sdev, bool enable);
630 int hda_dsp_ctrl_link_reset(struct snd_sof_dev *sdev, bool reset);
631 void hda_dsp_ctrl_misc_clock_gating(struct snd_sof_dev *sdev, bool enable);
632 int hda_dsp_ctrl_clock_power_gating(struct snd_sof_dev *sdev, bool enable);
633 int hda_dsp_ctrl_init_chip(struct snd_sof_dev *sdev, bool full_reset);
634 void hda_dsp_ctrl_stop_chip(struct snd_sof_dev *sdev);
644 void hda_codec_probe_bus(struct snd_sof_dev *sdev,
646 void hda_codec_jack_wake_enable(struct snd_sof_dev *sdev, bool enable);
647 void hda_codec_jack_check(struct snd_sof_dev *sdev);
655 void hda_codec_i915_display_power(struct snd_sof_dev *sdev, bool enable);
656 int hda_codec_i915_init(struct snd_sof_dev *sdev);
657 int hda_codec_i915_exit(struct snd_sof_dev *sdev);
661 static inline void hda_codec_i915_display_power(struct snd_sof_dev *sdev, in hda_codec_i915_display_power()
663 static inline int hda_codec_i915_init(struct snd_sof_dev *sdev) { return 0; } in hda_codec_i915_init()
664 static inline int hda_codec_i915_exit(struct snd_sof_dev *sdev) { return 0; } in hda_codec_i915_exit()
671 int hda_dsp_trace_init(struct snd_sof_dev *sdev, u32 *stream_tag);
672 int hda_dsp_trace_release(struct snd_sof_dev *sdev);
673 int hda_dsp_trace_trigger(struct snd_sof_dev *sdev, int cmd);
680 int hda_sdw_startup(struct snd_sof_dev *sdev);
681 void hda_sdw_int_enable(struct snd_sof_dev *sdev, bool enable);
682 void hda_sdw_process_wakeen(struct snd_sof_dev *sdev);
683 bool hda_common_check_sdw_irq(struct snd_sof_dev *sdev);
687 static inline int hda_sdw_startup(struct snd_sof_dev *sdev) in hda_sdw_startup()
692 static inline void hda_sdw_int_enable(struct snd_sof_dev *sdev, bool enable) in hda_sdw_int_enable()
696 static inline void hda_sdw_process_wakeen(struct snd_sof_dev *sdev) in hda_sdw_process_wakeen()
700 static inline bool hda_common_check_sdw_irq(struct snd_sof_dev *sdev) in hda_common_check_sdw_irq()
729 void hda_machine_select(struct snd_sof_dev *sdev);
731 struct snd_sof_dev *sdev);