Searched refs:mpu_cmd (Results 1 – 1 of 1) sorted by relevance
/sound/oss/ |
D | mpu401.c | 671 static int mpu_cmd(int dev, int cmd, int data) in mpu_cmd() function 696 if (mpu_cmd(dev, 0xD0, 0) < 0) in mpu401_prefix_cmd() 703 if (mpu_cmd(dev, 0xDF, 0) < 0) in mpu401_prefix_cmd() 847 mpu_cmd(midi_dev, 0x8B, 0); /* Enable data in stop mode */ in mpu_synth_open() 848 mpu_cmd(midi_dev, 0x34, 0); /* Return timing bytes in stop mode */ in mpu_synth_open() 849 mpu_cmd(midi_dev, 0x87, 0); /* Enable pitch & controller */ in mpu_synth_open() 863 mpu_cmd(midi_dev, 0x15, 0); /* Stop recording, playback and MIDI */ in mpu_synth_close() 864 mpu_cmd(midi_dev, 0x8a, 0); /* Disable data in stopped mode */ in mpu_synth_close() 932 tmp = mpu_cmd(n, 0xAC, 0); in mpu401_chk_version() 939 if ((tmp = mpu_cmd(n, 0xAD, 0)) < 0) { in mpu401_chk_version() [all …]
|