Lines Matching refs:out_buffer
31 ret = snd_rawmidi_transmit(rt->out, rt->out_buffer + 4, in usb6fire_midi_out_handler()
34 rt->out_buffer[1] = ret + 2; in usb6fire_midi_out_handler()
35 rt->out_buffer[3] = rt->out_serial++; in usb6fire_midi_out_handler()
85 ret = snd_rawmidi_transmit(alsa_sub, rt->out_buffer + 4, in usb6fire_midi_out_trigger()
88 rt->out_buffer[1] = ret + 2; in usb6fire_midi_out_trigger()
89 rt->out_buffer[3] = rt->out_serial++; in usb6fire_midi_out_trigger()
161 rt->out_buffer = kzalloc(MIDI_BUFSIZE, GFP_KERNEL); in usb6fire_midi_init()
162 if (!rt->out_buffer) { in usb6fire_midi_init()
169 rt->out_buffer[0] = 0x80; /* 'send midi' command */ in usb6fire_midi_init()
170 rt->out_buffer[1] = 0x00; /* size of data */ in usb6fire_midi_init()
171 rt->out_buffer[2] = 0x00; /* always 0 */ in usb6fire_midi_init()
175 comm_rt->init_urb(comm_rt, &rt->out_urb, rt->out_buffer, rt, in usb6fire_midi_init()
180 kfree(rt->out_buffer); in usb6fire_midi_init()
211 kfree(rt->out_buffer); in usb6fire_midi_destroy()