/* * Linux driver for TerraTec DMX 6Fire USB * * Author: Torsten Schenk <torsten.schenk@zoho.com> * Created: Jan 01, 2011 * Copyright: (C) Torsten Schenk * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. */ #ifndef USB6FIRE_MIDI_H #define USB6FIRE_MIDI_H #include "common.h" struct midi_runtime { struct sfire_chip *chip; struct snd_rawmidi *instance; struct snd_rawmidi_substream *in; char in_active; spinlock_t in_lock; spinlock_t out_lock; struct snd_rawmidi_substream *out; struct urb out_urb; u8 out_serial; /* serial number of out packet */ u8 *out_buffer; int buffer_offset; void (*in_received)(struct midi_runtime *rt, u8 *data, int length); }; int usb6fire_midi_init(struct sfire_chip *chip); void usb6fire_midi_abort(struct sfire_chip *chip); void usb6fire_midi_destroy(struct sfire_chip *chip); #endif /* USB6FIRE_MIDI_H */ ect name='h' onchange='this.form.submit();'> <option value='emaclite-cleanup'>emaclite-cleanup</option> <option value='master' selected='selected'>master</option> <option value='nds-private-remove'>nds-private-remove</option> <option value='packet-loop-back'>packet-loop-back</option> <option value='packet-rx-pump-back'>packet-rx-pump-back</option> </select> <input type='submit' value='switch'/></form></td></tr> <tr><td class='sub'>net-next plumbings</td><td class='sub right'>Tobias Klauser</td></tr></table> <table class='tabs'><tr><td> <a href='/cgit.cgi/linux/net-next.git/'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?id=24bc5fe716855e5e608c515340b3ceacfb143bcc'>refs</a><a href='/cgit.cgi/linux/net-next.git/log/drivers/usb/mon/mon_main.c'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/drivers/usb/mon/mon_main.c?id=24bc5fe716855e5e608c515340b3ceacfb143bcc'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/drivers/usb/mon/mon_main.c?id=24bc5fe716855e5e608c515340b3ceacfb143bcc'>commit</a><a class='active' href='/cgit.cgi/linux/net-next.git/diff/drivers/usb/mon/mon_main.c?id=24bc5fe716855e5e608c515340b3ceacfb143bcc&id2=00c87e9a70a17b355b81c36adedf05e84f54e10d'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/drivers/usb/mon/mon_main.c'> <input type='hidden' name='id' value='24bc5fe716855e5e608c515340b3ceacfb143bcc'/><input type='hidden' name='id2' value='00c87e9a70a17b355b81c36adedf05e84f54e10d'/><select name='qt'> <option value='grep'>log msg</option> <option value='author'>author</option> <option value='committer'>committer</option> <option value='range'>range</option> </select> <input class='txt' type='search' size='10' name='q' value=''/> <input type='submit' value='search'/> </form> </td></tr></table> <div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/diff/?id=24bc5fe716855e5e608c515340b3ceacfb143bcc&id2=00c87e9a70a17b355b81c36adedf05e84f54e10d'>root</a>/<a href='/cgit.cgi/linux/net-next.git/diff/drivers?id=24bc5fe716855e5e608c515340b3ceacfb143bcc&id2=00c87e9a70a17b355b81c36adedf05e84f54e10d'>drivers</a>/<a href='/cgit.cgi/linux/net-next.git/diff/drivers/usb?id=24bc5fe716855e5e608c515340b3ceacfb143bcc&id2=00c87e9a70a17b355b81c36adedf05e84f54e10d'>usb</a>/<a href='/cgit.cgi/linux/net-next.git/diff/drivers/usb/mon?id=24bc5fe716855e5e608c515340b3ceacfb143bcc&id2=00c87e9a70a17b355b81c36adedf05e84f54e10d'>mon</a>/<a href='/cgit.cgi/linux/net-next.git/diff/drivers/usb/mon/mon_main.c?id=24bc5fe716855e5e608c515340b3ceacfb143bcc&id2=00c87e9a70a17b355b81c36adedf05e84f54e10d'>mon_main.c</a></div><div class='content'><div class='cgit-panel'><b>diff options</b><form method='get'><input type='hidden' name='id' value='24bc5fe716855e5e608c515340b3ceacfb143bcc'/><input type='hidden' name='id2' value='00c87e9a70a17b355b81c36adedf05e84f54e10d'/><table><tr><td colspan='2'/></tr><tr><td class='label'>context:</td><td class='ctrl'><select name='context' onchange='this.form.submit();'><option value='1'>1</option><option value='2'>2</option><option value='3' selected='selected'>3</option><option value='4'>4</option><option value='5'>5</option><option value='6'>6</option><option value='7'>7</option><option value='8'>8</option><option value='9'>9</option><option value='10'>10</option><option value='15'>15</option><option value='20'>20</option><option value='25'>25</option><option value='30'>30</option><option value='35'>35</option><option value='40'>40</option></select></td></tr><tr><td class='label'>space:</td><td class='ctrl'><select name='ignorews' onchange='this.form.submit();'><option value='0' selected='selected'>include</option><option value='1'>ignore</option></select></td></tr><tr><td class='label'>mode:</td><td class='ctrl'><select name='dt' onchange='this.form.submit();'><option value='0' selected='selected'>unified</option><option value='1'>ssdiff</option><option value='2'>stat only</option></select></td></tr><tr><td/><td class='ctrl'><noscript><input type='submit' value='reload'/></noscript></td></tr></table></form></div><div class='diffstat-header'><a href='/cgit.cgi/linux/net-next.git/diff/?id=24bc5fe716855e5e608c515340b3ceacfb143bcc&id2=00c87e9a70a17b355b81c36adedf05e84f54e10d'>Diffstat</a> (limited to 'drivers/usb/mon/mon_main.c')</div><table summary='diffstat' class='diffstat'>