Lines Matching refs:device

67 	if (trident->device != TRIDENT_DEVICE_ID_NX) {
114 if (trident->device == TRIDENT_DEVICE_ID_DX) {
122 } else if (trident->device == TRIDENT_DEVICE_ID_NX) {
131 } else if (trident->device == TRIDENT_DEVICE_ID_SI7018) {
179 if (trident->device == TRIDENT_DEVICE_ID_DX) {
189 } else if (trident->device == TRIDENT_DEVICE_ID_NX) {
199 } else if (trident->device == TRIDENT_DEVICE_ID_SI7018) {
232 Parameters: trident - pointer to target device class for 4DWave.
243 if (trident->device == TRIDENT_DEVICE_ID_SI7018)
257 trident - pointer to target device class for 4DWave.
281 trident - pointer to target device class for 4DWave.
305 trident - pointer to target device class for 4DWave.
326 Parameters : trident - pointer to target device class for 4DWave.
353 Parameters : trident - pointer to target device class for 4DWave.
376 Parameters : trident - pointer to target device class for 4DWave.
401 Parameters : trident - pointer to target device class for 4DWave.
425 Parameters: trident - pointer to target device class for 4DWave.
445 switch (trident->device) {
508 Parameters: trident - pointer to target device class for 4DWave.
520 if (trident->device != TRIDENT_DEVICE_ID_NX) {
534 Parameters: trident - pointer to target device class for 4DWave.
546 if (trident->device != TRIDENT_DEVICE_ID_NX) {
560 Parameters: trident - pointer to target device class for 4DWave.
572 switch (trident->device) {
591 Parameters: trident - pointer to target device class for 4DWave.
613 Parameters: trident - pointer to target device class for 4DWave.
627 TRID_REG(trident, trident->device == TRIDENT_DEVICE_ID_NX ?
637 Parameters: trident - pointer to target device class for 4DWave.
651 TRID_REG(trident, trident->device == TRIDENT_DEVICE_ID_NX ?
660 Parameters: trident - pointer to target device class for 4DWave.
690 Parameters: trident - pointer to target device class for 4DWave.
720 Parameters: trident - pointer to target device class for 4DWave.
742 Parameters: trident - pointer to target device class for 4DWave.
844 Description: Set the hardware parameters for the playback device.
867 Description: Release the hardware resources for the playback device.
898 Description: Prepare playback device for playback.
956 evoice->GVSel = trident->device == TRIDENT_DEVICE_ID_SI7018 ? 0 : 1;
983 Description: Set the hardware parameters for the capture device.
1001 Description: Prepare capture device for playback.
1092 Description: Set the hardware parameters for the capture device.
1110 Description: Release the hardware resources for the capture device.
1135 Description: Prepare capture device for playback.
1206 Description: Prepare foldback capture device for playback.
1262 evoice->GVSel = trident->device == TRIDENT_DEVICE_ID_SI7018 ? 0 : 1;
1283 Description: Set the hardware parameters for the spdif device.
1303 if (trident->device == TRIDENT_DEVICE_ID_SI7018) {
1349 Description: Prepare SPDIF device for playback.
1369 if (trident->device != TRIDENT_DEVICE_ID_SI7018) {
1456 evoice->GVSel = trident->device == TRIDENT_DEVICE_ID_SI7018 ? 0 : 1;
1550 if (trident->device != TRIDENT_DEVICE_ID_SI7018) {
1574 if (capture_flag && trident->device != TRIDENT_DEVICE_ID_SI7018)
1577 if (capture_flag && trident->device != TRIDENT_DEVICE_ID_SI7018)
1609 if (trident->device != TRIDENT_DEVICE_ID_NX) {
1628 Parameters: pcm1 - PCM device class
1680 * Playback support device description
1705 * Capture support device description
1730 * Foldback capture support device description
1754 * SPDIF playback support device description
1831 Description: This routine will close the 4DWave playback device. For now
1850 Description: This routine will open the 4DWave SPDIF device.
1875 if (trident->device == TRIDENT_DEVICE_ID_SI7018) {
1893 Description: This routine will close the 4DWave SPDIF device.
1906 if (trident->device != TRIDENT_DEVICE_ID_SI7018) {
1929 Description: This routine will open the 4DWave capture device.
1959 Description: This routine will close the 4DWave capture device. For now
1973 Description: This routine will open the 4DWave foldback capture device.
2002 Description: This routine will close the 4DWave foldback capture device.
2109 Description: This routine registers the 4DWave device for PCM support.
2111 Parameters: trident - pointer to target device class for 4DWave.
2117 int snd_trident_pcm(struct snd_trident *trident, int device)
2122 if ((err = snd_pcm_new(trident->card, "trident_dx_nx", device, trident->ChanPCM, 1, &pcm)) < 0)
2133 trident->device != TRIDENT_DEVICE_ID_SI7018 ?
2164 Description: This routine registers the 4DWave device for foldback PCM support.
2166 Parameters: trident - pointer to target device class for 4DWave.
2172 int snd_trident_foldback_pcm(struct snd_trident *trident, int device)
2179 if (trident->device == TRIDENT_DEVICE_ID_NX)
2181 if ((err = snd_pcm_new(trident->card, "trident_dx_nx", device, 0, num_chan, &foldback)) < 0)
2218 Description: This routine registers the 4DWave-NX device for SPDIF support.
2220 Parameters: trident - pointer to target device class for 4DWave-NX.
2226 int snd_trident_spdif_pcm(struct snd_trident *trident, int device)
2231 if ((err = snd_pcm_new(trident->card, "trident_dx_nx IEC958", device, 1, 0, &spdif)) < 0)
2235 if (trident->device != TRIDENT_DEVICE_ID_SI7018) {
2288 if (trident->device != TRIDENT_DEVICE_ID_SI7018) {
2359 if (trident->device != TRIDENT_DEVICE_ID_SI7018) {
2455 if (trident->device != TRIDENT_DEVICE_ID_SI7018) {
2610 if (trident->device == TRIDENT_DEVICE_ID_SI7018)
2621 if (trident->device == TRIDENT_DEVICE_ID_SI7018) {
2637 if (trident->device == TRIDENT_DEVICE_ID_SI7018) {
2900 Description: This routine registers the 4DWave device for mixer support.
2902 Parameters: trident - pointer to target device class for 4DWave.
2933 if (trident->device == TRIDENT_DEVICE_ID_SI7018) {
2944 if (trident->device == TRIDENT_DEVICE_ID_SI7018 &&
2964 if (trident->device != TRIDENT_DEVICE_ID_SI7018) {
3002 if (trident->device == TRIDENT_DEVICE_ID_NX) {
3007 if (trident->device == TRIDENT_DEVICE_ID_NX || trident->device == TRIDENT_DEVICE_ID_SI7018) {
3029 kctl->id.device = pcm_spdif_device;
3039 kctl->id.device = pcm_spdif_device;
3049 kctl->id.device = pcm_spdif_device;
3240 switch (trident->device) {
3256 if (trident->device == TRIDENT_DEVICE_ID_NX || trident->device == TRIDENT_DEVICE_ID_SI7018)
3258 if (trident->device == TRIDENT_DEVICE_ID_NX) {
3273 if (trident->device == TRIDENT_DEVICE_ID_SI7018)
3278 static int snd_trident_dev_free(struct snd_device *device)
3280 struct snd_trident *trident = device->device_data;
3290 Parameters: trident - pointer to target device class for 4DWave.
3466 Description: This routine will create the device specific class for
3475 Returns: 4DWave device class private data
3496 /* enable PCI device */
3513 trident->device = (pci->vendor << 16) | pci->device;
3551 if (trident->device == TRIDENT_DEVICE_ID_NX) {
3561 switch (trident->device) {
3613 Description: This routine will free the device specific class for
3616 Parameters: trident - device specific private data for 4DWave card
3627 if (trident->device == TRIDENT_DEVICE_ID_NX)
3629 else if (trident->device == TRIDENT_DEVICE_ID_SI7018) {
3651 Description: ISR for Trident 4DWave device
3653 Parameters: trident - device specific private data for 4DWave card
3858 static int snd_trident_suspend(struct device *dev)
3870 static int snd_trident_resume(struct device *dev)
3875 switch (trident->device) {