Lines Matching refs:mpu
318 static inline int verify_mpu401(const struct snd_mpu401 *mpu) in verify_mpu401() argument
320 return ((inb(MPU401C(mpu)) & 0xc0) == 0x80); in verify_mpu401()
326 static inline void initialise_mpu401(const struct snd_mpu401 *mpu) in initialise_mpu401() argument
328 outb(0, MPU401D(mpu)); in initialise_mpu401()
807 static int mpu401_open(struct snd_mpu401 *mpu) in mpu401_open() argument
809 if (!verify_mpu401(mpu)) { in mpu401_open()
831 struct snd_mpu401 *mpu = rawmidi->private_data; in create_mpu401() local
832 mpu->open_input = mpu401_open; in create_mpu401()
833 mpu->open_output = mpu401_open; in create_mpu401()
834 mpu->private_data = sscape; in create_mpu401()
836 initialise_mpu401(mpu); in create_mpu401()