Lines Matching refs:my_dev
41 int my_dev; member
93 devc->midi_input_intr(devc->my_dev, c); in uart401_input_loop()
317 devc->my_dev = 0; in probe_uart401()
342 devc->my_dev = sound_alloc_mididev(); in probe_uart401()
345 if (devc->my_dev == -1) { in probe_uart401()
350 midi_devs[devc->my_dev] = kmemdup(&uart401_operations, in probe_uart401()
353 if (!midi_devs[devc->my_dev]) { in probe_uart401()
359 midi_devs[devc->my_dev]->owner = owner; in probe_uart401()
361 midi_devs[devc->my_dev]->devc = devc; in probe_uart401()
362 midi_devs[devc->my_dev]->converter = kmemdup(&std_midi_synth, in probe_uart401()
366 if (!midi_devs[devc->my_dev]->converter) { in probe_uart401()
370 strcpy(midi_devs[devc->my_dev]->info.name, name); in probe_uart401()
371 midi_devs[devc->my_dev]->converter->id = "UART401"; in probe_uart401()
372 midi_devs[devc->my_dev]->converter->midi_dev = devc->my_dev; in probe_uart401()
375 midi_devs[devc->my_dev]->converter->owner = owner; in probe_uart401()
377 hw_config->slots[4] = devc->my_dev; in probe_uart401()
382 kfree(midi_devs[devc->my_dev]); in probe_uart401()
384 sound_unload_mididev(devc->my_dev); in probe_uart401()
415 kfree(midi_devs[devc->my_dev]->converter); in unload_uart401()
416 kfree(midi_devs[devc->my_dev]); in unload_uart401()