diff options
Diffstat (limited to 'sound/pci/trident/trident_main.c')
| -rw-r--r-- | sound/pci/trident/trident_main.c | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/sound/pci/trident/trident_main.c b/sound/pci/trident/trident_main.c index 59a319568ae..c8d5665b578 100644 --- a/sound/pci/trident/trident_main.c +++ b/sound/pci/trident/trident_main.c | |||
| @@ -436,7 +436,7 @@ static void snd_trident_free_synth_channel(struct snd_trident *trident, int chan | |||
| 436 | Description: This routine will complete and write the 5 hardware channel | 436 | Description: This routine will complete and write the 5 hardware channel |
| 437 | registers to hardware. | 437 | registers to hardware. |
| 438 | 438 | ||
| 439 | Paramters: trident - pointer to target device class for 4DWave. | 439 | Parameters: trident - pointer to target device class for 4DWave. |
| 440 | voice - synthesizer voice structure | 440 | voice - synthesizer voice structure |
| 441 | Each register field. | 441 | Each register field. |
| 442 | 442 | ||
| @@ -514,7 +514,7 @@ EXPORT_SYMBOL(snd_trident_write_voice_regs); | |||
| 514 | Description: This routine will write the new CSO offset | 514 | Description: This routine will write the new CSO offset |
| 515 | register to hardware. | 515 | register to hardware. |
| 516 | 516 | ||
| 517 | Paramters: trident - pointer to target device class for 4DWave. | 517 | Parameters: trident - pointer to target device class for 4DWave. |
| 518 | voice - synthesizer voice structure | 518 | voice - synthesizer voice structure |
| 519 | CSO - new CSO value | 519 | CSO - new CSO value |
| 520 | 520 | ||
| @@ -540,7 +540,7 @@ static void snd_trident_write_cso_reg(struct snd_trident * trident, | |||
| 540 | Description: This routine will write the new ESO offset | 540 | Description: This routine will write the new ESO offset |
| 541 | register to hardware. | 541 | register to hardware. |
| 542 | 542 | ||
| 543 | Paramters: trident - pointer to target device class for 4DWave. | 543 | Parameters: trident - pointer to target device class for 4DWave. |
| 544 | voice - synthesizer voice structure | 544 | voice - synthesizer voice structure |
| 545 | ESO - new ESO value | 545 | ESO - new ESO value |
| 546 | 546 | ||
| @@ -566,7 +566,7 @@ static void snd_trident_write_eso_reg(struct snd_trident * trident, | |||
| 566 | Description: This routine will write the new voice volume | 566 | Description: This routine will write the new voice volume |
| 567 | register to hardware. | 567 | register to hardware. |
| 568 | 568 | ||
| 569 | Paramters: trident - pointer to target device class for 4DWave. | 569 | Parameters: trident - pointer to target device class for 4DWave. |
| 570 | voice - synthesizer voice structure | 570 | voice - synthesizer voice structure |
| 571 | Vol - new voice volume | 571 | Vol - new voice volume |
| 572 | 572 | ||
| @@ -597,7 +597,7 @@ static void snd_trident_write_vol_reg(struct snd_trident * trident, | |||
| 597 | Description: This routine will write the new voice pan | 597 | Description: This routine will write the new voice pan |
| 598 | register to hardware. | 598 | register to hardware. |
| 599 | 599 | ||
| 600 | Paramters: trident - pointer to target device class for 4DWave. | 600 | Parameters: trident - pointer to target device class for 4DWave. |
| 601 | voice - synthesizer voice structure | 601 | voice - synthesizer voice structure |
| 602 | Pan - new pan value | 602 | Pan - new pan value |
| 603 | 603 | ||
| @@ -619,7 +619,7 @@ static void snd_trident_write_pan_reg(struct snd_trident * trident, | |||
| 619 | Description: This routine will write the new reverb volume | 619 | Description: This routine will write the new reverb volume |
| 620 | register to hardware. | 620 | register to hardware. |
| 621 | 621 | ||
| 622 | Paramters: trident - pointer to target device class for 4DWave. | 622 | Parameters: trident - pointer to target device class for 4DWave. |
| 623 | voice - synthesizer voice structure | 623 | voice - synthesizer voice structure |
| 624 | RVol - new reverb volume | 624 | RVol - new reverb volume |
| 625 | 625 | ||
| @@ -643,7 +643,7 @@ static void snd_trident_write_rvol_reg(struct snd_trident * trident, | |||
| 643 | Description: This routine will write the new chorus volume | 643 | Description: This routine will write the new chorus volume |
| 644 | register to hardware. | 644 | register to hardware. |
| 645 | 645 | ||
| 646 | Paramters: trident - pointer to target device class for 4DWave. | 646 | Parameters: trident - pointer to target device class for 4DWave. |
| 647 | voice - synthesizer voice structure | 647 | voice - synthesizer voice structure |
| 648 | CVol - new chorus volume | 648 | CVol - new chorus volume |
| 649 | 649 | ||
| @@ -666,7 +666,7 @@ static void snd_trident_write_cvol_reg(struct snd_trident * trident, | |||
| 666 | 666 | ||
| 667 | Description: This routine converts rate in HZ to hardware delta value. | 667 | Description: This routine converts rate in HZ to hardware delta value. |
| 668 | 668 | ||
| 669 | Paramters: trident - pointer to target device class for 4DWave. | 669 | Parameters: trident - pointer to target device class for 4DWave. |
| 670 | rate - Real or Virtual channel number. | 670 | rate - Real or Virtual channel number. |
| 671 | 671 | ||
| 672 | Returns: Delta value. | 672 | Returns: Delta value. |
| @@ -696,7 +696,7 @@ static unsigned int snd_trident_convert_rate(unsigned int rate) | |||
| 696 | 696 | ||
| 697 | Description: This routine converts rate in HZ to hardware delta value. | 697 | Description: This routine converts rate in HZ to hardware delta value. |
| 698 | 698 | ||
| 699 | Paramters: trident - pointer to target device class for 4DWave. | 699 | Parameters: trident - pointer to target device class for 4DWave. |
| 700 | rate - Real or Virtual channel number. | 700 | rate - Real or Virtual channel number. |
| 701 | 701 | ||
| 702 | Returns: Delta value. | 702 | Returns: Delta value. |
| @@ -726,7 +726,7 @@ static unsigned int snd_trident_convert_adc_rate(unsigned int rate) | |||
| 726 | 726 | ||
| 727 | Description: This routine converts rate in HZ to spurious threshold. | 727 | Description: This routine converts rate in HZ to spurious threshold. |
| 728 | 728 | ||
| 729 | Paramters: trident - pointer to target device class for 4DWave. | 729 | Parameters: trident - pointer to target device class for 4DWave. |
| 730 | rate - Real or Virtual channel number. | 730 | rate - Real or Virtual channel number. |
| 731 | 731 | ||
| 732 | Returns: Delta value. | 732 | Returns: Delta value. |
| @@ -748,7 +748,7 @@ static unsigned int snd_trident_spurious_threshold(unsigned int rate, | |||
| 748 | 748 | ||
| 749 | Description: This routine returns a control mode for a PCM channel. | 749 | Description: This routine returns a control mode for a PCM channel. |
| 750 | 750 | ||
| 751 | Paramters: trident - pointer to target device class for 4DWave. | 751 | Parameters: trident - pointer to target device class for 4DWave. |
| 752 | substream - PCM substream | 752 | substream - PCM substream |
| 753 | 753 | ||
| 754 | Returns: Control value. | 754 | Returns: Control value. |
| @@ -781,7 +781,7 @@ static unsigned int snd_trident_control_mode(struct snd_pcm_substream *substream | |||
| 781 | 781 | ||
| 782 | Description: Device I/O control handler for playback/capture parameters. | 782 | Description: Device I/O control handler for playback/capture parameters. |
| 783 | 783 | ||
| 784 | Paramters: substream - PCM substream class | 784 | Parameters: substream - PCM substream class |
| 785 | cmd - what ioctl message to process | 785 | cmd - what ioctl message to process |
| 786 | arg - additional message infoarg | 786 | arg - additional message infoarg |
| 787 | 787 | ||
| @@ -1664,7 +1664,7 @@ static snd_pcm_uframes_t snd_trident_playback_pointer(struct snd_pcm_substream * | |||
| 1664 | 1664 | ||
| 1665 | Description: This routine return the capture position | 1665 | Description: This routine return the capture position |
| 1666 | 1666 | ||
| 1667 | Paramters: pcm1 - PCM device class | 1667 | Parameters: pcm1 - PCM device class |
| 1668 | 1668 | ||
| 1669 | Returns: position of buffer | 1669 | Returns: position of buffer |
| 1670 | 1670 | ||
| @@ -2157,7 +2157,7 @@ static struct snd_pcm_ops snd_trident_spdif_7018_ops = { | |||
| 2157 | 2157 | ||
| 2158 | Description: This routine registers the 4DWave device for PCM support. | 2158 | Description: This routine registers the 4DWave device for PCM support. |
| 2159 | 2159 | ||
| 2160 | Paramters: trident - pointer to target device class for 4DWave. | 2160 | Parameters: trident - pointer to target device class for 4DWave. |
| 2161 | 2161 | ||
| 2162 | Returns: None | 2162 | Returns: None |
| 2163 | 2163 | ||
| @@ -2215,7 +2215,7 @@ int __devinit snd_trident_pcm(struct snd_trident * trident, | |||
| 2215 | 2215 | ||
| 2216 | Description: This routine registers the 4DWave device for foldback PCM support. | 2216 | Description: This routine registers the 4DWave device for foldback PCM support. |
| 2217 | 2217 | ||
| 2218 | Paramters: trident - pointer to target device class for 4DWave. | 2218 | Parameters: trident - pointer to target device class for 4DWave. |
| 2219 | 2219 | ||
| 2220 | Returns: None | 2220 | Returns: None |
| 2221 | 2221 | ||
| @@ -2272,7 +2272,7 @@ int __devinit snd_trident_foldback_pcm(struct snd_trident * trident, | |||
| 2272 | 2272 | ||
| 2273 | Description: This routine registers the 4DWave-NX device for SPDIF support. | 2273 | Description: This routine registers the 4DWave-NX device for SPDIF support. |
| 2274 | 2274 | ||
| 2275 | Paramters: trident - pointer to target device class for 4DWave-NX. | 2275 | Parameters: trident - pointer to target device class for 4DWave-NX. |
| 2276 | 2276 | ||
| 2277 | Returns: None | 2277 | Returns: None |
| 2278 | 2278 | ||
| @@ -2956,7 +2956,7 @@ static int snd_trident_pcm_mixer_free(struct snd_trident *trident, struct snd_tr | |||
| 2956 | 2956 | ||
| 2957 | Description: This routine registers the 4DWave device for mixer support. | 2957 | Description: This routine registers the 4DWave device for mixer support. |
| 2958 | 2958 | ||
| 2959 | Paramters: trident - pointer to target device class for 4DWave. | 2959 | Parameters: trident - pointer to target device class for 4DWave. |
| 2960 | 2960 | ||
| 2961 | Returns: None | 2961 | Returns: None |
| 2962 | 2962 | ||
| @@ -3338,7 +3338,7 @@ static int snd_trident_dev_free(struct snd_device *device) | |||
| 3338 | Description: Allocate and set up the TLB page table on 4D NX. | 3338 | Description: Allocate and set up the TLB page table on 4D NX. |
| 3339 | Each entry has 4 bytes (physical PCI address). | 3339 | Each entry has 4 bytes (physical PCI address). |
| 3340 | 3340 | ||
| 3341 | Paramters: trident - pointer to target device class for 4DWave. | 3341 | Parameters: trident - pointer to target device class for 4DWave. |
| 3342 | 3342 | ||
| 3343 | Returns: 0 or negative error code | 3343 | Returns: 0 or negative error code |
| 3344 | 3344 | ||
| @@ -3515,7 +3515,7 @@ static int snd_trident_sis_init(struct snd_trident *trident) | |||
| 3515 | Description: This routine will create the device specific class for | 3515 | Description: This routine will create the device specific class for |
| 3516 | the 4DWave card. It will also perform basic initialization. | 3516 | the 4DWave card. It will also perform basic initialization. |
| 3517 | 3517 | ||
| 3518 | Paramters: card - which card to create | 3518 | Parameters: card - which card to create |
| 3519 | pci - interface to PCI bus resource info | 3519 | pci - interface to PCI bus resource info |
| 3520 | dma1ptr - playback dma buffer | 3520 | dma1ptr - playback dma buffer |
| 3521 | dma2ptr - capture dma buffer | 3521 | dma2ptr - capture dma buffer |
| @@ -3661,7 +3661,7 @@ int __devinit snd_trident_create(struct snd_card *card, | |||
| 3661 | Description: This routine will free the device specific class for | 3661 | Description: This routine will free the device specific class for |
| 3662 | the 4DWave card. | 3662 | the 4DWave card. |
| 3663 | 3663 | ||
| 3664 | Paramters: trident - device specific private data for 4DWave card | 3664 | Parameters: trident - device specific private data for 4DWave card |
| 3665 | 3665 | ||
| 3666 | Returns: None. | 3666 | Returns: None. |
| 3667 | 3667 | ||
| @@ -3699,7 +3699,7 @@ static int snd_trident_free(struct snd_trident *trident) | |||
| 3699 | 3699 | ||
| 3700 | Description: ISR for Trident 4DWave device | 3700 | Description: ISR for Trident 4DWave device |
| 3701 | 3701 | ||
| 3702 | Paramters: trident - device specific private data for 4DWave card | 3702 | Parameters: trident - device specific private data for 4DWave card |
| 3703 | 3703 | ||
| 3704 | Problems: It seems that Trident chips generates interrupts more than | 3704 | Problems: It seems that Trident chips generates interrupts more than |
| 3705 | one time in special cases. The spurious interrupts are | 3705 | one time in special cases. The spurious interrupts are |
