aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci')
-rw-r--r--sound/pci/trident/trident_main.c20
-rw-r--r--sound/pci/trident/trident_memory.c3
2 files changed, 13 insertions, 10 deletions
diff --git a/sound/pci/trident/trident_main.c b/sound/pci/trident/trident_main.c
index 52178b8ad49d..850579208e49 100644
--- a/sound/pci/trident/trident_main.c
+++ b/sound/pci/trident/trident_main.c
@@ -306,6 +306,8 @@ void snd_trident_start_voice(struct snd_trident * trident, unsigned int voice)
306 outl(mask, TRID_REG(trident, reg)); 306 outl(mask, TRID_REG(trident, reg));
307} 307}
308 308
309EXPORT_SYMBOL(snd_trident_start_voice);
310
309/*--------------------------------------------------------------------------- 311/*---------------------------------------------------------------------------
310 void snd_trident_stop_voice(struct snd_trident * trident, unsigned int voice) 312 void snd_trident_stop_voice(struct snd_trident * trident, unsigned int voice)
311 313
@@ -328,6 +330,8 @@ void snd_trident_stop_voice(struct snd_trident * trident, unsigned int voice)
328 outl(mask, TRID_REG(trident, reg)); 330 outl(mask, TRID_REG(trident, reg));
329} 331}
330 332
333EXPORT_SYMBOL(snd_trident_stop_voice);
334
331/*--------------------------------------------------------------------------- 335/*---------------------------------------------------------------------------
332 int snd_trident_allocate_pcm_channel(struct snd_trident *trident) 336 int snd_trident_allocate_pcm_channel(struct snd_trident *trident)
333 337
@@ -502,6 +506,8 @@ void snd_trident_write_voice_regs(struct snd_trident * trident,
502#endif 506#endif
503} 507}
504 508
509EXPORT_SYMBOL(snd_trident_write_voice_regs);
510
505/*--------------------------------------------------------------------------- 511/*---------------------------------------------------------------------------
506 snd_trident_write_cso_reg 512 snd_trident_write_cso_reg
507 513
@@ -3884,6 +3890,8 @@ struct snd_trident_voice *snd_trident_alloc_voice(struct snd_trident * trident,
3884 return NULL; 3890 return NULL;
3885} 3891}
3886 3892
3893EXPORT_SYMBOL(snd_trident_alloc_voice);
3894
3887void snd_trident_free_voice(struct snd_trident * trident, struct snd_trident_voice *voice) 3895void snd_trident_free_voice(struct snd_trident * trident, struct snd_trident_voice *voice)
3888{ 3896{
3889 unsigned long flags; 3897 unsigned long flags;
@@ -3912,6 +3920,8 @@ void snd_trident_free_voice(struct snd_trident * trident, struct snd_trident_voi
3912 private_free(voice); 3920 private_free(voice);
3913} 3921}
3914 3922
3923EXPORT_SYMBOL(snd_trident_free_voice);
3924
3915static void snd_trident_clear_voices(struct snd_trident * trident, unsigned short v_min, unsigned short v_max) 3925static void snd_trident_clear_voices(struct snd_trident * trident, unsigned short v_min, unsigned short v_max)
3916{ 3926{
3917 unsigned int i, val, mask[2] = { 0, 0 }; 3927 unsigned int i, val, mask[2] = { 0, 0 };
@@ -3993,13 +4003,3 @@ int snd_trident_resume(struct pci_dev *pci)
3993 return 0; 4003 return 0;
3994} 4004}
3995#endif /* CONFIG_PM */ 4005#endif /* CONFIG_PM */
3996
3997EXPORT_SYMBOL(snd_trident_alloc_voice);
3998EXPORT_SYMBOL(snd_trident_free_voice);
3999EXPORT_SYMBOL(snd_trident_start_voice);
4000EXPORT_SYMBOL(snd_trident_stop_voice);
4001EXPORT_SYMBOL(snd_trident_write_voice_regs);
4002/* trident_memory.c symbols */
4003EXPORT_SYMBOL(snd_trident_synth_alloc);
4004EXPORT_SYMBOL(snd_trident_synth_free);
4005EXPORT_SYMBOL(snd_trident_synth_copy_from_user);
diff --git a/sound/pci/trident/trident_memory.c b/sound/pci/trident/trident_memory.c
index 46c6982c9e88..aff3f874131c 100644
--- a/sound/pci/trident/trident_memory.c
+++ b/sound/pci/trident/trident_memory.c
@@ -349,6 +349,7 @@ snd_trident_synth_alloc(struct snd_trident *hw, unsigned int size)
349 return blk; 349 return blk;
350} 350}
351 351
352EXPORT_SYMBOL(snd_trident_synth_alloc);
352 353
353/* 354/*
354 * free a synth sample area 355 * free a synth sample area
@@ -365,6 +366,7 @@ snd_trident_synth_free(struct snd_trident *hw, struct snd_util_memblk *blk)
365 return 0; 366 return 0;
366} 367}
367 368
369EXPORT_SYMBOL(snd_trident_synth_free);
368 370
369/* 371/*
370 * reset TLB entry and free kernel page 372 * reset TLB entry and free kernel page
@@ -486,3 +488,4 @@ int snd_trident_synth_copy_from_user(struct snd_trident *trident,
486 return 0; 488 return 0;
487} 489}
488 490
491EXPORT_SYMBOL(snd_trident_synth_copy_from_user);