Lines Matching refs:p1
529 unsigned char p1 = event_rec[4]; in seq_chn_common_event() local
549 synth_devs[dev]->chn_info[chn].pgm_num = p1; in seq_chn_common_event()
551 synth_devs[dev]->set_instr(dev, chn, p1); in seq_chn_common_event()
554 synth_devs[dev]->set_instr(dev, chn, p1); in seq_chn_common_event()
561 if (chn > 15 || p1 > 127) in seq_chn_common_event()
564 synth_devs[dev]->chn_info[chn].controllers[p1] = w14 & 0x7f; in seq_chn_common_event()
566 if (p1 < 32) /* Setting MSB should clear LSB to 0 */ in seq_chn_common_event()
567 synth_devs[dev]->chn_info[chn].controllers[p1 + 32] = 0; in seq_chn_common_event()
574 if (p1 < 64) /* Combine MSB and LSB */ in seq_chn_common_event()
577 chn_info[chn].controllers[p1 & ~32] & 0x7f) << 7) in seq_chn_common_event()
579 chn_info[chn].controllers[p1 | 32] & 0x7f); in seq_chn_common_event()
580 p1 &= ~32; in seq_chn_common_event()
588 synth_devs[dev]->controller(dev, i, p1, val); in seq_chn_common_event()
591 synth_devs[dev]->controller(dev, chn, p1, w14); in seq_chn_common_event()
594 synth_devs[dev]->controller(dev, chn, p1, w14); in seq_chn_common_event()