25 |
#include "pcm.h" |
#include "pcm.h" |
26 |
#include "rawmidi.h" |
#include "rawmidi.h" |
27 |
#include "ac97_codec.h" |
#include "ac97_codec.h" |
28 |
|
#include <linux/gameport.h> |
29 |
|
|
30 |
#ifndef PCI_VENDOR_ID_YAMAHA |
#ifndef PCI_VENDOR_ID_YAMAHA |
31 |
#define PCI_VENDOR_ID_YAMAHA 0x1073 |
#define PCI_VENDOR_ID_YAMAHA 0x1073 |
310 |
struct resource *mpu_res; |
struct resource *mpu_res; |
311 |
|
|
312 |
unsigned short old_legacy_ctrl; |
unsigned short old_legacy_ctrl; |
313 |
|
#if defined(CONFIG_GAMEPORT) || defined(CONFIG_GAMEPORT_MODULE) |
314 |
unsigned int joystick_port; |
unsigned int joystick_port; |
315 |
|
struct semaphore joystick_mutex; |
316 |
|
struct resource *joystick_res; |
317 |
|
struct gameport gameport; |
318 |
|
#endif |
319 |
|
|
320 |
void *work_ptr; |
void *work_ptr; |
321 |
dma_addr_t work_ptr_addr; |
dma_addr_t work_ptr_addr; |
389 |
int snd_ymfpci_pcm_spdif(ymfpci_t *chip, int device, snd_pcm_t **rpcm); |
int snd_ymfpci_pcm_spdif(ymfpci_t *chip, int device, snd_pcm_t **rpcm); |
390 |
int snd_ymfpci_pcm_4ch(ymfpci_t *chip, int device, snd_pcm_t **rpcm); |
int snd_ymfpci_pcm_4ch(ymfpci_t *chip, int device, snd_pcm_t **rpcm); |
391 |
int snd_ymfpci_mixer(ymfpci_t *chip, int rear_switch); |
int snd_ymfpci_mixer(ymfpci_t *chip, int rear_switch); |
392 |
|
#if defined(CONFIG_GAMEPORT) || defined(CONFIG_GAMEPORT_MODULE) |
393 |
int snd_ymfpci_joystick(ymfpci_t *chip); |
int snd_ymfpci_joystick(ymfpci_t *chip); |
394 |
|
#endif |
395 |
|
|
396 |
int snd_ymfpci_voice_alloc(ymfpci_t *chip, ymfpci_voice_type_t type, int pair, ymfpci_voice_t **rvoice); |
int snd_ymfpci_voice_alloc(ymfpci_t *chip, ymfpci_voice_type_t type, int pair, ymfpci_voice_t **rvoice); |
397 |
int snd_ymfpci_voice_free(ymfpci_t *chip, ymfpci_voice_t *pvoice); |
int snd_ymfpci_voice_free(ymfpci_t *chip, ymfpci_voice_t *pvoice); |