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 | 140 | drivers/sound/midi_synth.c | struct midi_input_info *inc; |
inc | 162 | drivers/sound/midi_synth.c | inc = &midi_devs[orig_dev]->in_info; |
inc | 164 | drivers/sound/midi_synth.c | switch (inc->m_state) |
inc | 174 | drivers/sound/midi_synth.c | inc->m_state = MST_SYSEX; |
inc | 179 | drivers/sound/midi_synth.c | inc->m_state = MST_DATA; |
inc | 180 | drivers/sound/midi_synth.c | inc->m_ptr = 1; |
inc | 181 | drivers/sound/midi_synth.c | inc->m_left = 1; |
inc | 182 | drivers/sound/midi_synth.c | inc->m_buf[0] = data; |
inc | 186 | drivers/sound/midi_synth.c | inc->m_state = MST_DATA; |
inc | 187 | drivers/sound/midi_synth.c | inc->m_ptr = 1; |
inc | 188 | drivers/sound/midi_synth.c | inc->m_left = 2; |
inc | 189 | drivers/sound/midi_synth.c | inc->m_buf[0] = data; |
inc | 193 | drivers/sound/midi_synth.c | inc->m_buf[0] = data; |
inc | 194 | drivers/sound/midi_synth.c | inc->m_ptr = 1; |
inc | 195 | drivers/sound/midi_synth.c | do_midi_msg (dev, inc->m_buf, inc->m_ptr); |
inc | 196 | drivers/sound/midi_synth.c | inc->m_ptr = 0; |
inc | 197 | drivers/sound/midi_synth.c | inc->m_left = 0; |
inc | 202 | drivers/sound/midi_synth.c | inc->m_state = MST_DATA; |
inc | 203 | drivers/sound/midi_synth.c | inc->m_ptr = 1; |
inc | 204 | drivers/sound/midi_synth.c | inc->m_left = len_tab[(data >> 4) - 8]; |
inc | 205 | drivers/sound/midi_synth.c | inc->m_buf[0] = inc->m_prev_status = data; |
inc | 208 | drivers/sound/midi_synth.c | else if (inc->m_prev_status & 0x80) /* Ignore if no previous status (yet) */ |
inc | 210 | drivers/sound/midi_synth.c | inc->m_state = MST_DATA; |
inc | 211 | drivers/sound/midi_synth.c | inc->m_ptr = 2; |
inc | 212 | drivers/sound/midi_synth.c | inc->m_left = len_tab[(data >> 4) - 8] - 1; |
inc | 213 | drivers/sound/midi_synth.c | inc->m_buf[0] = inc->m_prev_status; |
inc | 214 | drivers/sound/midi_synth.c | inc->m_buf[1] = data; |
inc | 219 | drivers/sound/midi_synth.c | inc->m_buf[inc->m_ptr++] = data; |
inc | 220 | drivers/sound/midi_synth.c | if (--inc->m_left <= 0) |
inc | 222 | drivers/sound/midi_synth.c | inc->m_state = MST_INIT; |
inc | 223 | drivers/sound/midi_synth.c | do_midi_msg (dev, inc->m_buf, inc->m_ptr); |
inc | 224 | drivers/sound/midi_synth.c | inc->m_ptr = 0; |
inc | 231 | drivers/sound/midi_synth.c | inc->m_state = MST_INIT; |
inc | 232 | drivers/sound/midi_synth.c | inc->m_left = 0; |
inc | 233 | drivers/sound/midi_synth.c | inc->m_ptr = 0; |
inc | 238 | drivers/sound/midi_synth.c | printk ("MIDI%d: Unexpected state %d (%02x)\n", orig_dev, inc->m_state, |
inc | 240 | drivers/sound/midi_synth.c | inc->m_state = MST_INIT; |
inc | 416 | drivers/sound/midi_synth.c | struct midi_input_info *inc; |
inc | 428 | drivers/sound/midi_synth.c | inc = &midi_devs[orig_dev]->in_info; |
inc | 431 | drivers/sound/midi_synth.c | inc->m_busy = 0; |
inc | 432 | drivers/sound/midi_synth.c | inc->m_state = MST_INIT; |
inc | 433 | drivers/sound/midi_synth.c | inc->m_ptr = 0; |
inc | 434 | drivers/sound/midi_synth.c | inc->m_left = 0; |
inc | 435 | drivers/sound/midi_synth.c | inc->m_prev_status = 0x00; |