apl.c (542898c5aa5c6a3179dffb1d1606884a63f75fed) apl.c (3dc0d709177828a22dfc9d0072e3ac937ef90d06)
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) 2018 Intel Corporation. All rights reserved.
7//
8// Authors: Liam Girdwood <liam.r.girdwood@linux.intel.com>

--- 66 unchanged lines hidden (view full) ---

75 .pcm_open = hda_dsp_pcm_open,
76 .pcm_close = hda_dsp_pcm_close,
77 .pcm_hw_params = hda_dsp_pcm_hw_params,
78 .pcm_hw_free = hda_dsp_stream_hw_free,
79 .pcm_trigger = hda_dsp_pcm_trigger,
80 .pcm_pointer = hda_dsp_pcm_pointer,
81 .pcm_ack = hda_dsp_pcm_ack,
82
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) 2018 Intel Corporation. All rights reserved.
7//
8// Authors: Liam Girdwood <liam.r.girdwood@linux.intel.com>

--- 66 unchanged lines hidden (view full) ---

75 .pcm_open = hda_dsp_pcm_open,
76 .pcm_close = hda_dsp_pcm_close,
77 .pcm_hw_params = hda_dsp_pcm_hw_params,
78 .pcm_hw_free = hda_dsp_stream_hw_free,
79 .pcm_trigger = hda_dsp_pcm_trigger,
80 .pcm_pointer = hda_dsp_pcm_pointer,
81 .pcm_ack = hda_dsp_pcm_ack,
82
83#if IS_ENABLED(CONFIG_SND_SOC_SOF_HDA_PROBES)
84 /* probe callbacks */
85 .probe_assign = hda_probe_compr_assign,
86 .probe_free = hda_probe_compr_free,
87 .probe_set_params = hda_probe_compr_set_params,
88 .probe_trigger = hda_probe_compr_trigger,
89 .probe_pointer = hda_probe_compr_pointer,
90#endif
91
92 /* firmware loading */
93 .load_firmware = snd_sof_load_firmware_raw,
94
95 /* firmware run */
96 .run = hda_dsp_cl_boot_firmware,
97
98 /* pre/post fw run */
99 .pre_fw_run = hda_dsp_pre_fw_run,

--- 5 unchanged lines hidden (view full) ---

105 /* dsp core get/put */
106 .core_get = hda_dsp_core_get,
107
108 /* trace callback */
109 .trace_init = hda_dsp_trace_init,
110 .trace_release = hda_dsp_trace_release,
111 .trace_trigger = hda_dsp_trace_trigger,
112
83 /* firmware loading */
84 .load_firmware = snd_sof_load_firmware_raw,
85
86 /* firmware run */
87 .run = hda_dsp_cl_boot_firmware,
88
89 /* pre/post fw run */
90 .pre_fw_run = hda_dsp_pre_fw_run,

--- 5 unchanged lines hidden (view full) ---

96 /* dsp core get/put */
97 .core_get = hda_dsp_core_get,
98
99 /* trace callback */
100 .trace_init = hda_dsp_trace_init,
101 .trace_release = hda_dsp_trace_release,
102 .trace_trigger = hda_dsp_trace_trigger,
103
104 /* client ops */
105 .register_ipc_clients = hda_register_clients,
106 .unregister_ipc_clients = hda_unregister_clients,
107
113 /* DAI drivers */
114 .drv = skl_dai,
115 .num_drv = SOF_SKL_NUM_DAIS,
116
117 /* PM */
118 .suspend = hda_dsp_suspend,
119 .resume = hda_dsp_resume,
120 .runtime_suspend = hda_dsp_runtime_suspend,

--- 32 unchanged lines hidden ---
108 /* DAI drivers */
109 .drv = skl_dai,
110 .num_drv = SOF_SKL_NUM_DAIS,
111
112 /* PM */
113 .suspend = hda_dsp_suspend,
114 .resume = hda_dsp_resume,
115 .runtime_suspend = hda_dsp_runtime_suspend,

--- 32 unchanged lines hidden ---