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 | 150 | drivers/sound/midi_synth.c | struct midi_input_info *inc; |
inc | 172 | drivers/sound/midi_synth.c | inc = &midi_devs[orig_dev]->in_info; |
inc | 174 | drivers/sound/midi_synth.c | switch (inc->m_state) |
inc | 184 | drivers/sound/midi_synth.c | inc->m_state = MST_SYSEX; |
inc | 189 | drivers/sound/midi_synth.c | inc->m_state = MST_DATA; |
inc | 190 | drivers/sound/midi_synth.c | inc->m_ptr = 1; |
inc | 191 | drivers/sound/midi_synth.c | inc->m_left = 1; |
inc | 192 | drivers/sound/midi_synth.c | inc->m_buf[0] = data; |
inc | 196 | drivers/sound/midi_synth.c | inc->m_state = MST_DATA; |
inc | 197 | drivers/sound/midi_synth.c | inc->m_ptr = 1; |
inc | 198 | drivers/sound/midi_synth.c | inc->m_left = 2; |
inc | 199 | drivers/sound/midi_synth.c | inc->m_buf[0] = data; |
inc | 203 | drivers/sound/midi_synth.c | inc->m_buf[0] = data; |
inc | 204 | drivers/sound/midi_synth.c | inc->m_ptr = 1; |
inc | 205 | drivers/sound/midi_synth.c | do_midi_msg (dev, inc->m_buf, inc->m_ptr); |
inc | 206 | drivers/sound/midi_synth.c | inc->m_ptr = 0; |
inc | 207 | drivers/sound/midi_synth.c | inc->m_left = 0; |
inc | 212 | drivers/sound/midi_synth.c | inc->m_state = MST_DATA; |
inc | 213 | drivers/sound/midi_synth.c | inc->m_ptr = 1; |
inc | 214 | drivers/sound/midi_synth.c | inc->m_left = len_tab[(data >> 4) - 8]; |
inc | 215 | drivers/sound/midi_synth.c | inc->m_buf[0] = inc->m_prev_status = data; |
inc | 218 | drivers/sound/midi_synth.c | else if (inc->m_prev_status & 0x80) /* Ignore if no previous status (yet) */ |
inc | 220 | drivers/sound/midi_synth.c | inc->m_state = MST_DATA; |
inc | 221 | drivers/sound/midi_synth.c | inc->m_ptr = 2; |
inc | 222 | drivers/sound/midi_synth.c | inc->m_left = len_tab[(data >> 4) - 8] - 1; |
inc | 223 | drivers/sound/midi_synth.c | inc->m_buf[0] = inc->m_prev_status; |
inc | 224 | drivers/sound/midi_synth.c | inc->m_buf[1] = data; |
inc | 229 | drivers/sound/midi_synth.c | inc->m_buf[inc->m_ptr++] = data; |
inc | 230 | drivers/sound/midi_synth.c | if (--inc->m_left <= 0) |
inc | 232 | drivers/sound/midi_synth.c | inc->m_state = MST_INIT; |
inc | 233 | drivers/sound/midi_synth.c | do_midi_msg (dev, inc->m_buf, inc->m_ptr); |
inc | 234 | drivers/sound/midi_synth.c | inc->m_ptr = 0; |
inc | 241 | drivers/sound/midi_synth.c | inc->m_state = MST_INIT; |
inc | 242 | drivers/sound/midi_synth.c | inc->m_left = 0; |
inc | 243 | drivers/sound/midi_synth.c | inc->m_ptr = 0; |
inc | 248 | drivers/sound/midi_synth.c | printk ("MIDI%d: Unexpected state %d (%02x)\n", orig_dev, inc->m_state, |
inc | 250 | drivers/sound/midi_synth.c | inc->m_state = MST_INIT; |
inc | 451 | drivers/sound/midi_synth.c | struct midi_input_info *inc; |
inc | 464 | drivers/sound/midi_synth.c | inc = &midi_devs[orig_dev]->in_info; |
inc | 468 | drivers/sound/midi_synth.c | inc->m_busy = 0; |
inc | 469 | drivers/sound/midi_synth.c | inc->m_state = MST_INIT; |
inc | 470 | drivers/sound/midi_synth.c | inc->m_ptr = 0; |
inc | 471 | drivers/sound/midi_synth.c | inc->m_left = 0; |
inc | 472 | drivers/sound/midi_synth.c | inc->m_prev_status = 0x00; |