tag | line | file | source code |
inc | 16 | arch/sparc/prom/console.c | static char inc; |
inc | 25 | arch/sparc/prom/console.c | if( (*(romvec->pv_v2devops).v2_dev_read)(*romvec->pv_v2bootargs.fd_stdin , &inc, 0x1) == 1) |
inc | 26 | arch/sparc/prom/console.c | return inc; |
inc | 145 | drivers/sound/midi_synth.c | struct midi_input_info *inc; |
inc | 167 | drivers/sound/midi_synth.c | inc = &midi_devs[orig_dev]->in_info; |
inc | 169 | drivers/sound/midi_synth.c | switch (inc->m_state) |
inc | 179 | drivers/sound/midi_synth.c | inc->m_state = MST_SYSEX; |
inc | 184 | drivers/sound/midi_synth.c | inc->m_state = MST_DATA; |
inc | 185 | drivers/sound/midi_synth.c | inc->m_ptr = 1; |
inc | 186 | drivers/sound/midi_synth.c | inc->m_left = 1; |
inc | 187 | drivers/sound/midi_synth.c | inc->m_buf[0] = data; |
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 = 2; |
inc | 194 | drivers/sound/midi_synth.c | inc->m_buf[0] = data; |
inc | 198 | drivers/sound/midi_synth.c | inc->m_buf[0] = data; |
inc | 199 | drivers/sound/midi_synth.c | inc->m_ptr = 1; |
inc | 200 | drivers/sound/midi_synth.c | do_midi_msg (dev, inc->m_buf, inc->m_ptr); |
inc | 201 | drivers/sound/midi_synth.c | inc->m_ptr = 0; |
inc | 202 | drivers/sound/midi_synth.c | inc->m_left = 0; |
inc | 207 | drivers/sound/midi_synth.c | inc->m_state = MST_DATA; |
inc | 208 | drivers/sound/midi_synth.c | inc->m_ptr = 1; |
inc | 209 | drivers/sound/midi_synth.c | inc->m_left = len_tab[(data >> 4) - 8]; |
inc | 210 | drivers/sound/midi_synth.c | inc->m_buf[0] = inc->m_prev_status = data; |
inc | 213 | drivers/sound/midi_synth.c | else if (inc->m_prev_status & 0x80) /* Ignore if no previous status (yet) */ |
inc | 215 | drivers/sound/midi_synth.c | inc->m_state = MST_DATA; |
inc | 216 | drivers/sound/midi_synth.c | inc->m_ptr = 2; |
inc | 217 | drivers/sound/midi_synth.c | inc->m_left = len_tab[(data >> 4) - 8] - 1; |
inc | 218 | drivers/sound/midi_synth.c | inc->m_buf[0] = inc->m_prev_status; |
inc | 219 | drivers/sound/midi_synth.c | inc->m_buf[1] = data; |
inc | 224 | drivers/sound/midi_synth.c | inc->m_buf[inc->m_ptr++] = data; |
inc | 225 | drivers/sound/midi_synth.c | if (--inc->m_left <= 0) |
inc | 227 | drivers/sound/midi_synth.c | inc->m_state = MST_INIT; |
inc | 228 | drivers/sound/midi_synth.c | do_midi_msg (dev, inc->m_buf, inc->m_ptr); |
inc | 229 | drivers/sound/midi_synth.c | inc->m_ptr = 0; |
inc | 236 | drivers/sound/midi_synth.c | inc->m_state = MST_INIT; |
inc | 237 | drivers/sound/midi_synth.c | inc->m_left = 0; |
inc | 238 | drivers/sound/midi_synth.c | inc->m_ptr = 0; |
inc | 243 | drivers/sound/midi_synth.c | printk ("MIDI%d: Unexpected state %d (%02x)\n", orig_dev, inc->m_state, |
inc | 245 | drivers/sound/midi_synth.c | inc->m_state = MST_INIT; |
inc | 446 | drivers/sound/midi_synth.c | struct midi_input_info *inc; |
inc | 459 | drivers/sound/midi_synth.c | inc = &midi_devs[orig_dev]->in_info; |
inc | 463 | drivers/sound/midi_synth.c | inc->m_busy = 0; |
inc | 464 | drivers/sound/midi_synth.c | inc->m_state = MST_INIT; |
inc | 465 | drivers/sound/midi_synth.c | inc->m_ptr = 0; |
inc | 466 | drivers/sound/midi_synth.c | inc->m_left = 0; |
inc | 467 | drivers/sound/midi_synth.c | inc->m_prev_status = 0x00; |