Lines Matching refs:coprocessor
473 struct coproc_operations *coprocessor; in mpu401_open() local
499 if ( (coprocessor = midi_devs[dev]->coproc) != NULL ) in mpu401_open()
501 if (coprocessor->owner) in mpu401_open()
502 __MOD_INC_USE_COUNT(coprocessor->owner); in mpu401_open()
504 if ((err = coprocessor->open(coprocessor->devc, COPR_MIDI)) < 0) in mpu401_open()
527 struct coproc_operations *coprocessor; in mpu401_close() local
537 coprocessor = midi_devs[dev]->coproc; in mpu401_close()
538 if (coprocessor) { in mpu401_close()
539 coprocessor->close(coprocessor->devc, COPR_MIDI); in mpu401_close()
541 if (coprocessor->owner) in mpu401_close()
542 __MOD_DEC_USE_COUNT(coprocessor->owner); in mpu401_close()
810 struct coproc_operations *coprocessor; in mpu_synth_open() local
842 coprocessor = midi_devs[midi_dev]->coproc; in mpu_synth_open()
843 if (coprocessor) { in mpu_synth_open()
844 if (coprocessor->owner) in mpu_synth_open()
845 __MOD_INC_USE_COUNT(coprocessor->owner); in mpu_synth_open()
847 if ((err = coprocessor->open(coprocessor->devc, COPR_MIDI)) < 0) in mpu_synth_open()
869 struct coproc_operations *coprocessor; in mpu_synth_close() local
879 coprocessor = midi_devs[midi_dev]->coproc; in mpu_synth_close()
880 if (coprocessor) { in mpu_synth_close()
881 coprocessor->close(coprocessor->devc, COPR_MIDI); in mpu_synth_close()
883 if (coprocessor->owner) in mpu_synth_close()
884 __MOD_DEC_USE_COUNT(coprocessor->owner); in mpu_synth_close()