tag | line | file | source code |
inc | 18 | arch/sparc/prom/console.c | static char inc; |
inc | 27 | arch/sparc/prom/console.c | if( (*(romvec->pv_v2devops).v2_dev_read)(*romvec->pv_v2bootargs.fd_stdin , &inc, 0x1) == 1) |
inc | 28 | arch/sparc/prom/console.c | return inc; |
inc | 152 | drivers/sound/midi_synth.c | struct midi_input_info *inc; |
inc | 174 | drivers/sound/midi_synth.c | inc = &midi_devs[orig_dev]->in_info; |
inc | 176 | drivers/sound/midi_synth.c | switch (inc->m_state) |
inc | 186 | drivers/sound/midi_synth.c | inc->m_state = MST_SYSEX; |
inc | 191 | drivers/sound/midi_synth.c | inc->m_state = MST_DATA; |
inc | 192 | drivers/sound/midi_synth.c | inc->m_ptr = 1; |
inc | 193 | drivers/sound/midi_synth.c | inc->m_left = 1; |
inc | 194 | drivers/sound/midi_synth.c | inc->m_buf[0] = data; |
inc | 198 | drivers/sound/midi_synth.c | inc->m_state = MST_DATA; |
inc | 199 | drivers/sound/midi_synth.c | inc->m_ptr = 1; |
inc | 200 | drivers/sound/midi_synth.c | inc->m_left = 2; |
inc | 201 | drivers/sound/midi_synth.c | inc->m_buf[0] = data; |
inc | 205 | drivers/sound/midi_synth.c | inc->m_buf[0] = data; |
inc | 206 | drivers/sound/midi_synth.c | inc->m_ptr = 1; |
inc | 207 | drivers/sound/midi_synth.c | do_midi_msg (dev, inc->m_buf, inc->m_ptr); |
inc | 208 | drivers/sound/midi_synth.c | inc->m_ptr = 0; |
inc | 209 | drivers/sound/midi_synth.c | inc->m_left = 0; |
inc | 214 | drivers/sound/midi_synth.c | inc->m_state = MST_DATA; |
inc | 215 | drivers/sound/midi_synth.c | inc->m_ptr = 1; |
inc | 216 | drivers/sound/midi_synth.c | inc->m_left = len_tab[(data >> 4) - 8]; |
inc | 217 | drivers/sound/midi_synth.c | inc->m_buf[0] = inc->m_prev_status = data; |
inc | 220 | drivers/sound/midi_synth.c | else if (inc->m_prev_status & 0x80) /* Ignore if no previous status (yet) */ |
inc | 222 | drivers/sound/midi_synth.c | inc->m_state = MST_DATA; |
inc | 223 | drivers/sound/midi_synth.c | inc->m_ptr = 2; |
inc | 224 | drivers/sound/midi_synth.c | inc->m_left = len_tab[(data >> 4) - 8] - 1; |
inc | 225 | drivers/sound/midi_synth.c | inc->m_buf[0] = inc->m_prev_status; |
inc | 226 | drivers/sound/midi_synth.c | inc->m_buf[1] = data; |
inc | 231 | drivers/sound/midi_synth.c | inc->m_buf[inc->m_ptr++] = data; |
inc | 232 | drivers/sound/midi_synth.c | if (--inc->m_left <= 0) |
inc | 234 | drivers/sound/midi_synth.c | inc->m_state = MST_INIT; |
inc | 235 | drivers/sound/midi_synth.c | do_midi_msg (dev, inc->m_buf, inc->m_ptr); |
inc | 236 | drivers/sound/midi_synth.c | inc->m_ptr = 0; |
inc | 243 | drivers/sound/midi_synth.c | inc->m_state = MST_INIT; |
inc | 244 | drivers/sound/midi_synth.c | inc->m_left = 0; |
inc | 245 | drivers/sound/midi_synth.c | inc->m_ptr = 0; |
inc | 250 | drivers/sound/midi_synth.c | printk ("MIDI%d: Unexpected state %d (%02x)\n", orig_dev, inc->m_state, |
inc | 252 | drivers/sound/midi_synth.c | inc->m_state = MST_INIT; |
inc | 453 | drivers/sound/midi_synth.c | struct midi_input_info *inc; |
inc | 466 | drivers/sound/midi_synth.c | inc = &midi_devs[orig_dev]->in_info; |
inc | 470 | drivers/sound/midi_synth.c | inc->m_busy = 0; |
inc | 471 | drivers/sound/midi_synth.c | inc->m_state = MST_INIT; |
inc | 472 | drivers/sound/midi_synth.c | inc->m_ptr = 0; |
inc | 473 | drivers/sound/midi_synth.c | inc->m_left = 0; |
inc | 474 | drivers/sound/midi_synth.c | inc->m_prev_status = 0x00; |