hda.h (3c193b5f530e32dfb4aeb845678ed30aa60b67c1) | hda.h (556eb41622b01c50dbc330e03bad2b0a5a082428) |
---|---|
1/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ 2/* 3 * This file is provided under a dual BSD/GPLv2 license. When using or 4 * redistributing this file, you may do so under either license. 5 * 6 * Copyright(c) 2017 Intel Corporation. All rights reserved. 7 * 8 * Author: Liam Girdwood <liam.r.girdwood@linux.intel.com> --- 551 unchanged lines hidden (view full) --- 560int hda_dsp_core_power_up(struct snd_sof_dev *sdev, unsigned int core_mask); 561int hda_dsp_core_run(struct snd_sof_dev *sdev, unsigned int core_mask); 562int hda_dsp_enable_core(struct snd_sof_dev *sdev, unsigned int core_mask); 563int hda_dsp_core_reset_power_down(struct snd_sof_dev *sdev, 564 unsigned int core_mask); 565int hda_dsp_core_get(struct snd_sof_dev *sdev, int core); 566void hda_dsp_ipc_int_enable(struct snd_sof_dev *sdev); 567void hda_dsp_ipc_int_disable(struct snd_sof_dev *sdev); | 1/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ 2/* 3 * This file is provided under a dual BSD/GPLv2 license. When using or 4 * redistributing this file, you may do so under either license. 5 * 6 * Copyright(c) 2017 Intel Corporation. All rights reserved. 7 * 8 * Author: Liam Girdwood <liam.r.girdwood@linux.intel.com> --- 551 unchanged lines hidden (view full) --- 560int hda_dsp_core_power_up(struct snd_sof_dev *sdev, unsigned int core_mask); 561int hda_dsp_core_run(struct snd_sof_dev *sdev, unsigned int core_mask); 562int hda_dsp_enable_core(struct snd_sof_dev *sdev, unsigned int core_mask); 563int hda_dsp_core_reset_power_down(struct snd_sof_dev *sdev, 564 unsigned int core_mask); 565int hda_dsp_core_get(struct snd_sof_dev *sdev, int core); 566void hda_dsp_ipc_int_enable(struct snd_sof_dev *sdev); 567void hda_dsp_ipc_int_disable(struct snd_sof_dev *sdev); |
568bool hda_dsp_core_is_enabled(struct snd_sof_dev *sdev, unsigned int core_mask); |
|
568 569int hda_dsp_set_power_state(struct snd_sof_dev *sdev, 570 const struct sof_dsp_power_state *target_state); 571 572int hda_dsp_suspend(struct snd_sof_dev *sdev, u32 target_state); 573int hda_dsp_resume(struct snd_sof_dev *sdev); 574int hda_dsp_runtime_suspend(struct snd_sof_dev *sdev); 575int hda_dsp_runtime_resume(struct snd_sof_dev *sdev); --- 252 unchanged lines hidden (view full) --- 828#define SOF_HDA_POSITION_QUIRK_USE_DPIB_REGISTERS (1) /* recommended if VC0 only */ 829#define SOF_HDA_POSITION_QUIRK_USE_DPIB_DDR_UPDATE (2) /* recommended with VC0 or VC1 */ 830 831extern int sof_hda_position_quirk; 832 833void hda_set_dai_drv_ops(struct snd_sof_dev *sdev, struct snd_sof_dsp_ops *ops); 834void hda_ops_free(struct snd_sof_dev *sdev); 835 | 569 570int hda_dsp_set_power_state(struct snd_sof_dev *sdev, 571 const struct sof_dsp_power_state *target_state); 572 573int hda_dsp_suspend(struct snd_sof_dev *sdev, u32 target_state); 574int hda_dsp_resume(struct snd_sof_dev *sdev); 575int hda_dsp_runtime_suspend(struct snd_sof_dev *sdev); 576int hda_dsp_runtime_resume(struct snd_sof_dev *sdev); --- 252 unchanged lines hidden (view full) --- 829#define SOF_HDA_POSITION_QUIRK_USE_DPIB_REGISTERS (1) /* recommended if VC0 only */ 830#define SOF_HDA_POSITION_QUIRK_USE_DPIB_DDR_UPDATE (2) /* recommended with VC0 or VC1 */ 831 832extern int sof_hda_position_quirk; 833 834void hda_set_dai_drv_ops(struct snd_sof_dev *sdev, struct snd_sof_dsp_ops *ops); 835void hda_ops_free(struct snd_sof_dev *sdev); 836 |
837int hda_dsp_core_stall_reset(struct snd_sof_dev *sdev, unsigned int core_mask); 838 |
|
836/* IPC4 */ 837irqreturn_t cnl_ipc4_irq_thread(int irq, void *context); 838int cnl_ipc4_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg); 839irqreturn_t hda_dsp_ipc4_irq_thread(int irq, void *context); 840int hda_dsp_ipc4_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg); 841extern struct sdw_intel_ops sdw_callback; 842 843#endif | 839/* IPC4 */ 840irqreturn_t cnl_ipc4_irq_thread(int irq, void *context); 841int cnl_ipc4_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg); 842irqreturn_t hda_dsp_ipc4_irq_thread(int irq, void *context); 843int hda_dsp_ipc4_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg); 844extern struct sdw_intel_ops sdw_callback; 845 846#endif |