• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/oss/

Lines Matching refs:mpu_cmd

672 static int mpu_cmd(int dev, int cmd, int data)
697 if (mpu_cmd(dev, 0xD0, 0) < 0)
704 if (mpu_cmd(dev, 0xDF, 0) < 0)
848 mpu_cmd(midi_dev, 0x8B, 0); /* Enable data in stop mode */
849 mpu_cmd(midi_dev, 0x34, 0); /* Return timing bytes in stop mode */
850 mpu_cmd(midi_dev, 0x87, 0); /* Enable pitch & controller */
864 mpu_cmd(midi_dev, 0x15, 0); /* Stop recording, playback and MIDI */
865 mpu_cmd(midi_dev, 0x8a, 0); /* Disable data in stopped mode */
933 tmp = mpu_cmd(n, 0xAC, 0);
940 if ((tmp = mpu_cmd(n, 0xAD, 0)) < 0) {
1013 if (mpu_cmd(m, 0xC5, 0) >= 0) /* Set timebase OK */
1014 if (mpu_cmd(m, 0xE0, 120) >= 0) /* Set tempo OK */
1175 if (mpu_cmd(dev, UART_MODE_ON, 0) < 0)
1267 if (mpu_cmd(midi_dev, 0xC0 | (hw_val & 0x0f), 0) < 0)
1291 mpu_cmd(midi_dev, 0x3c, 0); /* Use CLS sync */
1293 mpu_cmd(midi_dev, 0x3d, 0); /* Use SMPTE sync */
1297 mpu_cmd(midi_dev, 0x80, 0); /* Use MIDI sync */
1303 mpu_cmd(midi_dev, 0x82, 0); /* Use MIDI sync */
1304 mpu_cmd(midi_dev, 0x91, 0); /* Enable ext MIDI ctrl */
1307 mpu_cmd(midi_dev, 0x81, 0); /* Use FSK sync */
1313 mpu_cmd(midi_dev, 0x84, 0); /* Disable metronome */
1329 mpu_cmd(midi_dev, 0x84, 0); /* Disable metronome */
1332 mpu_cmd(midi_dev, 0xE4, clks_per_click);
1333 mpu_cmd(midi_dev, 0xE6, beats_per_measure);
1334 mpu_cmd(midi_dev, 0x83, 0); /* Enable metronome without accents */
1350 mpu_cmd(midi_dev, 0x02, 0); /* Send MIDI start */
1356 mpu_cmd(midi_dev, 0x35, 0); /* Enable mode messages to PC */
1357 mpu_cmd(midi_dev, 0x38, 0); /* Enable sys common messages to PC */
1358 mpu_cmd(midi_dev, 0x39, 0); /* Enable real time messages to PC */
1359 mpu_cmd(midi_dev, 0x97, 0); /* Enable system exclusive messages to PC */
1374 mpu_cmd(midi_dev, 0xE0, 50);
1381 mpu_cmd(midi_dev, 0xe7, 0x04); /* Send all clocks to host */
1382 mpu_cmd(midi_dev, 0x95, 0); /* Enable clock to host */
1392 mpu_cmd(midi_dev, 0x15, 0); /* Stop all */
1393 mpu_cmd(midi_dev, 0x94, 0); /* Disable clock to host */
1394 mpu_cmd(midi_dev, 0x8c, 0); /* Disable measure end messages to host */
1428 mpu_cmd(midi_dev, 0x01, 0); /* Send MIDI stop */
1436 mpu_cmd(midi_dev, 0x03, 0); /* Send MIDI continue */
1448 if (mpu_cmd(midi_dev, 0xE0, parm) < 0)
1499 mpu_cmd(midi_dev, 0x3c, 0); /* Use CLS sync */
1501 mpu_cmd(midi_dev, 0x3d, 0); /* Use SMPTE sync */
1515 mpu_cmd(midi_dev, 0x01, 0); /* Send MIDI stop */
1523 mpu_cmd(midi_dev, 0x03, 0); /* Send MIDI continue */
1553 if ((ret = mpu_cmd(midi_dev, 0xE0, val)) < 0)