Skip to content

Commit 456644c

Browse files
plbossartbroonie
authored andcommitted
ASoC: SOF: Intel: start splitting top-level from common parts
The existing code relies on the 'HDA_COMMON' module and namespace. We need to start splitting top-level parts from the low-level ones, otherwise we will not be able to reuse the low-level parts DMA support for SoundWire/BPT. In the end the dependencies will be: +----------------------------------------------+ | | | v sof-pci-intel-xxx --> sof-intel-hda ------------> sof-hda-common | ^ | | +-> soundwire_intel --> sof_hda_sdw_bpt This patch adds the initial split between the sof-pci-intel-xxx modules and the common parts, in a follow-up patch we will further split the HDA_COMMON parts Since the PCI modules are not all independent, i.e. the CNL parts are also used in JSL and TGL, additional Kconfig and namespace modules were added. Signed-off-by: Pierre-Louis Bossart <[email protected]> Reviewed-by: Bard Liao <[email protected]> Reviewed-by: Ranjani Sridharan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent e4c6eba commit 456644c

File tree

19 files changed

+92
-32
lines changed

19 files changed

+92
-32
lines changed

sound/soc/sof/intel/Kconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ config SND_SOC_SOF_INTEL_ICL
188188
select SND_SOC_SOF_INTEL_SOUNDWIRE_LINK_BASELINE
189189
select SND_SOC_SOF_IPC3
190190
select SND_SOC_SOF_IPC4
191+
select SND_SOC_SOF_INTEL_CNL
191192

192193
config SND_SOC_SOF_ICELAKE
193194
tristate "SOF support for Icelake"
@@ -215,6 +216,7 @@ config SND_SOC_SOF_INTEL_TGL
215216
select SND_SOC_SOF_INTEL_SOUNDWIRE_LINK_BASELINE
216217
select SND_SOC_SOF_IPC3
217218
select SND_SOC_SOF_IPC4
219+
select SND_SOC_SOF_INTEL_CNL
218220

219221
config SND_SOC_SOF_TIGERLAKE
220222
tristate "SOF support for Tigerlake"
@@ -267,6 +269,7 @@ config SND_SOC_SOF_INTEL_LNL
267269
select SND_SOC_SOF_HDA_COMMON
268270
select SND_SOC_SOF_INTEL_SOUNDWIRE_LINK_BASELINE
269271
select SND_SOC_SOF_IPC4
272+
select SND_SOC_SOF_INTEL_MTL
270273

271274
config SND_SOC_SOF_LUNARLAKE
272275
tristate "SOF support for Lunarlake"

sound/soc/sof/intel/Makefile

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ snd-sof-acpi-intel-bdw-objs := bdw.o
66
snd-sof-intel-hda-common-objs := hda.o hda-loader.o hda-stream.o hda-trace.o \
77
hda-dsp.o hda-ipc.o hda-ctrl.o hda-pcm.o \
88
hda-dai.o hda-dai-ops.o hda-bus.o \
9-
skl.o hda-loader-skl.o \
10-
apl.o cnl.o tgl.o icl.o mtl.o lnl.o hda-common-ops.o \
9+
hda-common-ops.o \
1110
telemetry.o
1211

1312
snd-sof-intel-hda-mlink-objs := hda-mlink.o
@@ -26,13 +25,13 @@ obj-$(CONFIG_SND_SOC_SOF_HDA_MLINK) += snd-sof-intel-hda-mlink.o
2625
obj-$(CONFIG_SND_SOC_SOF_HDA) += snd-sof-intel-hda.o
2726

2827
snd-sof-pci-intel-tng-objs := pci-tng.o
29-
snd-sof-pci-intel-skl-objs := pci-skl.o
30-
snd-sof-pci-intel-apl-objs := pci-apl.o
31-
snd-sof-pci-intel-cnl-objs := pci-cnl.o
32-
snd-sof-pci-intel-icl-objs := pci-icl.o
33-
snd-sof-pci-intel-tgl-objs := pci-tgl.o
34-
snd-sof-pci-intel-mtl-objs := pci-mtl.o
35-
snd-sof-pci-intel-lnl-objs := pci-lnl.o
28+
snd-sof-pci-intel-skl-objs := pci-skl.o skl.o hda-loader-skl.o
29+
snd-sof-pci-intel-apl-objs := pci-apl.o apl.o
30+
snd-sof-pci-intel-cnl-objs := pci-cnl.o cnl.o
31+
snd-sof-pci-intel-icl-objs := pci-icl.o icl.o
32+
snd-sof-pci-intel-tgl-objs := pci-tgl.o tgl.o
33+
snd-sof-pci-intel-mtl-objs := pci-mtl.o mtl.o
34+
snd-sof-pci-intel-lnl-objs := pci-lnl.o lnl.o
3635

3736
obj-$(CONFIG_SND_SOC_SOF_MERRIFIELD) += snd-sof-pci-intel-tng.o
3837
obj-$(CONFIG_SND_SOC_SOF_INTEL_SKL) += snd-sof-pci-intel-skl.o

sound/soc/sof/intel/apl.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ static const struct snd_sof_debugfs_map apl_dsp_debugfs[] = {
2929

3030
/* apollolake ops */
3131
struct snd_sof_dsp_ops sof_apl_ops;
32-
EXPORT_SYMBOL_NS(sof_apl_ops, SND_SOC_SOF_INTEL_HDA_COMMON);
3332

3433
int sof_apl_ops_init(struct snd_sof_dev *sdev)
3534
{
@@ -97,7 +96,6 @@ int sof_apl_ops_init(struct snd_sof_dev *sdev)
9796

9897
return 0;
9998
};
100-
EXPORT_SYMBOL_NS(sof_apl_ops_init, SND_SOC_SOF_INTEL_HDA_COMMON);
10199

102100
const struct sof_intel_dsp_desc apl_chip_info = {
103101
/* Apollolake */
@@ -121,4 +119,3 @@ const struct sof_intel_dsp_desc apl_chip_info = {
121119
.disable_interrupts = hda_dsp_disable_interrupts,
122120
.hw_ip_version = SOF_INTEL_CAVS_1_5_PLUS,
123121
};
124-
EXPORT_SYMBOL_NS(apl_chip_info, SND_SOC_SOF_INTEL_HDA_COMMON);

sound/soc/sof/intel/cnl.c

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ irqreturn_t cnl_ipc4_irq_thread(int irq, void *context)
110110

111111
return IRQ_HANDLED;
112112
}
113+
EXPORT_SYMBOL_NS(cnl_ipc4_irq_thread, SND_SOC_SOF_INTEL_CNL);
113114

114115
irqreturn_t cnl_ipc_irq_thread(int irq, void *context)
115116
{
@@ -202,6 +203,7 @@ irqreturn_t cnl_ipc_irq_thread(int irq, void *context)
202203

203204
return IRQ_HANDLED;
204205
}
206+
EXPORT_SYMBOL_NS(cnl_ipc_irq_thread, SND_SOC_SOF_INTEL_CNL);
205207

206208
static void cnl_ipc_host_done(struct snd_sof_dev *sdev)
207209
{
@@ -284,6 +286,7 @@ int cnl_ipc4_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg)
284286

285287
return 0;
286288
}
289+
EXPORT_SYMBOL_NS(cnl_ipc4_send_msg, SND_SOC_SOF_INTEL_CNL);
287290

288291
int cnl_ipc_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg)
289292
{
@@ -331,6 +334,7 @@ int cnl_ipc_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg)
331334

332335
return 0;
333336
}
337+
EXPORT_SYMBOL_NS(cnl_ipc_send_msg, SND_SOC_SOF_INTEL_CNL);
334338

335339
void cnl_ipc_dump(struct snd_sof_dev *sdev)
336340
{
@@ -351,6 +355,7 @@ void cnl_ipc_dump(struct snd_sof_dev *sdev)
351355
"error: host status 0x%8.8x dsp status 0x%8.8x mask 0x%8.8x\n",
352356
hipcida, hipctdr, hipcctl);
353357
}
358+
EXPORT_SYMBOL_NS(cnl_ipc_dump, SND_SOC_SOF_INTEL_CNL);
354359

355360
void cnl_ipc4_dump(struct snd_sof_dev *sdev)
356361
{
@@ -372,10 +377,11 @@ void cnl_ipc4_dump(struct snd_sof_dev *sdev)
372377
"Host IPC initiator: %#x|%#x|%#x, target: %#x|%#x|%#x, ctl: %#x\n",
373378
hipcidr, hipcidd, hipcida, hipctdr, hipctdd, hipctda, hipcctl);
374379
}
380+
EXPORT_SYMBOL_NS(cnl_ipc4_dump, SND_SOC_SOF_INTEL_CNL);
375381

376382
/* cannonlake ops */
377383
struct snd_sof_dsp_ops sof_cnl_ops;
378-
EXPORT_SYMBOL_NS(sof_cnl_ops, SND_SOC_SOF_INTEL_HDA_COMMON);
384+
EXPORT_SYMBOL_NS(sof_cnl_ops, SND_SOC_SOF_INTEL_CNL);
379385

380386
int sof_cnl_ops_init(struct snd_sof_dev *sdev)
381387
{
@@ -444,7 +450,7 @@ int sof_cnl_ops_init(struct snd_sof_dev *sdev)
444450

445451
return 0;
446452
};
447-
EXPORT_SYMBOL_NS(sof_cnl_ops_init, SND_SOC_SOF_INTEL_HDA_COMMON);
453+
EXPORT_SYMBOL_NS(sof_cnl_ops_init, SND_SOC_SOF_INTEL_CNL);
448454

449455
const struct sof_intel_dsp_desc cnl_chip_info = {
450456
/* Cannonlake */
@@ -473,7 +479,6 @@ const struct sof_intel_dsp_desc cnl_chip_info = {
473479
.disable_interrupts = hda_dsp_disable_interrupts,
474480
.hw_ip_version = SOF_INTEL_CAVS_1_8,
475481
};
476-
EXPORT_SYMBOL_NS(cnl_chip_info, SND_SOC_SOF_INTEL_HDA_COMMON);
477482

478483
/*
479484
* JasperLake is technically derived from IceLake, and should be in
@@ -509,4 +514,4 @@ const struct sof_intel_dsp_desc jsl_chip_info = {
509514
.disable_interrupts = hda_dsp_disable_interrupts,
510515
.hw_ip_version = SOF_INTEL_CAVS_2_0,
511516
};
512-
EXPORT_SYMBOL_NS(jsl_chip_info, SND_SOC_SOF_INTEL_HDA_COMMON);
517+
EXPORT_SYMBOL_NS(jsl_chip_info, SND_SOC_SOF_INTEL_CNL);

sound/soc/sof/intel/hda-common-ops.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,3 +105,4 @@ const struct snd_sof_dsp_ops sof_hda_common_ops = {
105105

106106
.dsp_arch_ops = &sof_xtensa_arch_ops,
107107
};
108+
EXPORT_SYMBOL_NS(sof_hda_common_ops, SND_SOC_SOF_INTEL_HDA_COMMON);

sound/soc/sof/intel/hda-ctrl.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ int hda_dsp_ctrl_clock_power_gating(struct snd_sof_dev *sdev, bool enable)
178178

179179
return 0;
180180
}
181+
EXPORT_SYMBOL_NS(hda_dsp_ctrl_clock_power_gating, SND_SOC_SOF_INTEL_HDA_COMMON);
181182

182183
int hda_dsp_ctrl_init_chip(struct snd_sof_dev *sdev)
183184
{

sound/soc/sof/intel/hda-dai.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -690,6 +690,7 @@ void hda_set_dai_drv_ops(struct snd_sof_dev *sdev, struct snd_sof_dsp_ops *ops)
690690
ipc4_data->nhlt = intel_nhlt_init(sdev->dev);
691691
}
692692
}
693+
EXPORT_SYMBOL_NS(hda_set_dai_drv_ops, SND_SOC_SOF_INTEL_HDA_COMMON);
693694

694695
void hda_ops_free(struct snd_sof_dev *sdev)
695696
{

sound/soc/sof/intel/hda-dsp.c

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ int hda_dsp_core_stall_reset(struct snd_sof_dev *sdev, unsigned int core_mask)
126126
/* set reset state */
127127
return hda_dsp_core_reset_enter(sdev, core_mask);
128128
}
129+
EXPORT_SYMBOL_NS(hda_dsp_core_stall_reset, SND_SOC_SOF_INTEL_HDA_COMMON);
129130

130131
bool hda_dsp_core_is_enabled(struct snd_sof_dev *sdev, unsigned int core_mask)
131132
{
@@ -151,6 +152,7 @@ bool hda_dsp_core_is_enabled(struct snd_sof_dev *sdev, unsigned int core_mask)
151152

152153
return is_enable;
153154
}
155+
EXPORT_SYMBOL_NS(hda_dsp_core_is_enabled, SND_SOC_SOF_INTEL_HDA_COMMON);
154156

155157
int hda_dsp_core_run(struct snd_sof_dev *sdev, unsigned int core_mask)
156158
{
@@ -178,6 +180,7 @@ int hda_dsp_core_run(struct snd_sof_dev *sdev, unsigned int core_mask)
178180

179181
return ret;
180182
}
183+
EXPORT_SYMBOL_NS(hda_dsp_core_run, SND_SOC_SOF_INTEL_HDA_COMMON);
181184

182185
/*
183186
* Power Management.
@@ -229,6 +232,7 @@ int hda_dsp_core_power_up(struct snd_sof_dev *sdev, unsigned int core_mask)
229232

230233
return ret;
231234
}
235+
EXPORT_SYMBOL_NS(hda_dsp_core_power_up, SND_SOC_SOF_INTEL_HDA_COMMON);
232236

233237
static int hda_dsp_core_power_down(struct snd_sof_dev *sdev, unsigned int core_mask)
234238
{
@@ -276,6 +280,7 @@ int hda_dsp_enable_core(struct snd_sof_dev *sdev, unsigned int core_mask)
276280

277281
return hda_dsp_core_run(sdev, core_mask);
278282
}
283+
EXPORT_SYMBOL_NS(hda_dsp_enable_core, SND_SOC_SOF_INTEL_HDA_COMMON);
279284

280285
int hda_dsp_core_reset_power_down(struct snd_sof_dev *sdev,
281286
unsigned int core_mask)
@@ -316,6 +321,7 @@ int hda_dsp_core_reset_power_down(struct snd_sof_dev *sdev,
316321

317322
return ret;
318323
}
324+
EXPORT_SYMBOL_NS(hda_dsp_core_reset_power_down, SND_SOC_SOF_INTEL_HDA_COMMON);
319325

320326
void hda_dsp_ipc_int_enable(struct snd_sof_dev *sdev)
321327
{
@@ -334,6 +340,7 @@ void hda_dsp_ipc_int_enable(struct snd_sof_dev *sdev)
334340
snd_sof_dsp_update_bits(sdev, HDA_DSP_BAR, HDA_DSP_REG_ADSPIC,
335341
HDA_DSP_ADSPIC_IPC, HDA_DSP_ADSPIC_IPC);
336342
}
343+
EXPORT_SYMBOL_NS(hda_dsp_ipc_int_enable, SND_SOC_SOF_INTEL_HDA_COMMON);
337344

338345
void hda_dsp_ipc_int_disable(struct snd_sof_dev *sdev)
339346
{
@@ -351,6 +358,7 @@ void hda_dsp_ipc_int_disable(struct snd_sof_dev *sdev)
351358
snd_sof_dsp_update_bits(sdev, HDA_DSP_BAR, chip->ipc_ctl,
352359
HDA_DSP_REG_HIPCCTL_BUSY | HDA_DSP_REG_HIPCCTL_DONE, 0);
353360
}
361+
EXPORT_SYMBOL_NS(hda_dsp_ipc_int_disable, SND_SOC_SOF_INTEL_HDA_COMMON);
354362

355363
static int hda_dsp_wait_d0i3c_done(struct snd_sof_dev *sdev)
356364
{
@@ -634,6 +642,7 @@ int hda_dsp_set_power_state_ipc3(struct snd_sof_dev *sdev,
634642

635643
return hda_dsp_set_power_state(sdev, target_state);
636644
}
645+
EXPORT_SYMBOL_NS(hda_dsp_set_power_state_ipc3, SND_SOC_SOF_INTEL_HDA_COMMON);
637646

638647
int hda_dsp_set_power_state_ipc4(struct snd_sof_dev *sdev,
639648
const struct sof_dsp_power_state *target_state)
@@ -645,6 +654,7 @@ int hda_dsp_set_power_state_ipc4(struct snd_sof_dev *sdev,
645654

646655
return hda_dsp_set_power_state(sdev, target_state);
647656
}
657+
EXPORT_SYMBOL_NS(hda_dsp_set_power_state_ipc4, SND_SOC_SOF_INTEL_HDA_COMMON);
648658

649659
/*
650660
* Audio DSP states may transform as below:-
@@ -853,6 +863,7 @@ int hda_dsp_resume(struct snd_sof_dev *sdev)
853863

854864
return snd_sof_dsp_set_power_state(sdev, &target_state);
855865
}
866+
EXPORT_SYMBOL_NS(hda_dsp_resume, SND_SOC_SOF_INTEL_HDA_COMMON);
856867

857868
int hda_dsp_runtime_resume(struct snd_sof_dev *sdev)
858869
{
@@ -868,6 +879,7 @@ int hda_dsp_runtime_resume(struct snd_sof_dev *sdev)
868879

869880
return snd_sof_dsp_set_power_state(sdev, &target_state);
870881
}
882+
EXPORT_SYMBOL_NS(hda_dsp_runtime_resume, SND_SOC_SOF_INTEL_HDA_COMMON);
871883

872884
int hda_dsp_runtime_idle(struct snd_sof_dev *sdev)
873885
{
@@ -1034,12 +1046,14 @@ int hda_dsp_shutdown_dma_flush(struct snd_sof_dev *sdev)
10341046

10351047
return ret;
10361048
}
1049+
EXPORT_SYMBOL_NS(hda_dsp_shutdown_dma_flush, SND_SOC_SOF_INTEL_HDA_COMMON);
10371050

10381051
int hda_dsp_shutdown(struct snd_sof_dev *sdev)
10391052
{
10401053
sdev->system_suspend_target = SOF_SUSPEND_S3;
10411054
return snd_sof_suspend(sdev->dev);
10421055
}
1056+
EXPORT_SYMBOL_NS(hda_dsp_shutdown, SND_SOC_SOF_INTEL_HDA_COMMON);
10431057

10441058
int hda_dsp_set_hw_params_upon_resume(struct snd_sof_dev *sdev)
10451059
{
@@ -1118,6 +1132,7 @@ int hda_dsp_core_get(struct snd_sof_dev *sdev, int core)
11181132

11191133
return ret;
11201134
}
1135+
EXPORT_SYMBOL_NS(hda_dsp_core_get, SND_SOC_SOF_INTEL_HDA_COMMON);
11211136

11221137
int hda_dsp_disable_interrupts(struct snd_sof_dev *sdev)
11231138
{
@@ -1126,3 +1141,4 @@ int hda_dsp_disable_interrupts(struct snd_sof_dev *sdev)
11261141

11271142
return 0;
11281143
}
1144+
EXPORT_SYMBOL_NS(hda_dsp_disable_interrupts, SND_SOC_SOF_INTEL_HDA_COMMON);

sound/soc/sof/intel/hda-ipc.c

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020
#include "../ops.h"
2121
#include "hda.h"
2222

23+
EXPORT_TRACEPOINT_SYMBOL(sof_intel_ipc_firmware_initiated);
24+
EXPORT_TRACEPOINT_SYMBOL(sof_intel_ipc_firmware_response);
25+
EXPORT_TRACEPOINT_SYMBOL(sof_intel_hda_irq_ipc_check);
26+
2327
static void hda_dsp_ipc_host_done(struct snd_sof_dev *sdev)
2428
{
2529
/*
@@ -66,6 +70,7 @@ int hda_dsp_ipc_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg)
6670

6771
return 0;
6872
}
73+
EXPORT_SYMBOL_NS(hda_dsp_ipc_send_msg, SND_SOC_SOF_INTEL_HDA_COMMON);
6974

7075
static inline bool hda_dsp_ipc4_pm_msg(u32 primary)
7176
{
@@ -92,6 +97,7 @@ void hda_dsp_ipc4_schedule_d0i3_work(struct sof_intel_hda_dev *hdev,
9297
mod_delayed_work(system_wq, &hdev->d0i3_work,
9398
msecs_to_jiffies(SOF_HDA_D0I3_WORK_DELAY_MS));
9499
}
100+
EXPORT_SYMBOL_NS(hda_dsp_ipc4_schedule_d0i3_work, SND_SOC_SOF_INTEL_HDA_COMMON);
95101

96102
int hda_dsp_ipc4_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg)
97103
{
@@ -118,6 +124,7 @@ int hda_dsp_ipc4_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg)
118124

119125
return 0;
120126
}
127+
EXPORT_SYMBOL_NS(hda_dsp_ipc4_send_msg, SND_SOC_SOF_INTEL_HDA_COMMON);
121128

122129
void hda_dsp_ipc_get_reply(struct snd_sof_dev *sdev)
123130
{
@@ -153,6 +160,7 @@ void hda_dsp_ipc_get_reply(struct snd_sof_dev *sdev)
153160
snd_sof_ipc_get_reply(sdev);
154161
}
155162
}
163+
EXPORT_SYMBOL_NS(hda_dsp_ipc_get_reply, SND_SOC_SOF_INTEL_HDA_COMMON);
156164

157165
irqreturn_t hda_dsp_ipc4_irq_thread(int irq, void *context)
158166
{
@@ -235,6 +243,7 @@ irqreturn_t hda_dsp_ipc4_irq_thread(int irq, void *context)
235243

236244
return IRQ_HANDLED;
237245
}
246+
EXPORT_SYMBOL_NS(hda_dsp_ipc4_irq_thread, SND_SOC_SOF_INTEL_HDA_COMMON);
238247

239248
/* IPC handler thread */
240249
irqreturn_t hda_dsp_ipc_irq_thread(int irq, void *context)
@@ -347,6 +356,7 @@ irqreturn_t hda_dsp_ipc_irq_thread(int irq, void *context)
347356

348357
return IRQ_HANDLED;
349358
}
359+
EXPORT_SYMBOL_NS(hda_dsp_ipc_irq_thread, SND_SOC_SOF_INTEL_HDA_COMMON);
350360

351361
/* Check if an IPC IRQ occurred */
352362
bool hda_dsp_check_ipc_irq(struct snd_sof_dev *sdev)
@@ -380,6 +390,7 @@ bool hda_dsp_check_ipc_irq(struct snd_sof_dev *sdev)
380390
out:
381391
return ret;
382392
}
393+
EXPORT_SYMBOL_NS(hda_dsp_check_ipc_irq, SND_SOC_SOF_INTEL_HDA_COMMON);
383394

384395
int hda_dsp_ipc_get_mailbox_offset(struct snd_sof_dev *sdev)
385396
{

sound/soc/sof/intel/hda-loader.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ int cl_dsp_init(struct snd_sof_dev *sdev, int stream_tag, bool imr_boot)
219219
kfree(dump_msg);
220220
return ret;
221221
}
222+
EXPORT_SYMBOL_NS(cl_dsp_init, SND_SOC_SOF_INTEL_HDA_COMMON);
222223

223224
int hda_cl_trigger(struct device *dev, struct hdac_ext_stream *hext_stream, int cmd)
224225
{
@@ -393,6 +394,7 @@ int hda_dsp_cl_boot_firmware_iccmax(struct snd_sof_dev *sdev)
393394

394395
return ret;
395396
}
397+
EXPORT_SYMBOL_NS(hda_dsp_cl_boot_firmware_iccmax, SND_SOC_SOF_INTEL_CNL);
396398

397399
static int hda_dsp_boot_imr(struct snd_sof_dev *sdev)
398400
{
@@ -546,6 +548,7 @@ int hda_dsp_cl_boot_firmware(struct snd_sof_dev *sdev)
546548

547549
return ret;
548550
}
551+
EXPORT_SYMBOL_NS(hda_dsp_cl_boot_firmware, SND_SOC_SOF_INTEL_HDA_COMMON);
549552

550553
int hda_dsp_ipc4_load_library(struct snd_sof_dev *sdev,
551554
struct sof_ipc4_fw_library *fw_lib, bool reload)
@@ -649,6 +652,7 @@ int hda_dsp_ipc4_load_library(struct snd_sof_dev *sdev,
649652

650653
return ret;
651654
}
655+
EXPORT_SYMBOL_NS(hda_dsp_ipc4_load_library, SND_SOC_SOF_INTEL_HDA_COMMON);
652656

653657
int hda_dsp_ext_man_get_cavs_config_data(struct snd_sof_dev *sdev,
654658
const struct sof_ext_man_elem_header *hdr)

0 commit comments

Comments
 (0)