Lines Matching refs:p1
531 unsigned char p1 = event_rec[4];
548 synth_devs[dev]->chn_info[chn].pgm_num = p1;
550 synth_devs[dev]->set_instr(dev, chn, p1);
553 synth_devs[dev]->set_instr(dev, chn, p1);
560 if (chn > 15 || p1 > 127)
563 synth_devs[dev]->chn_info[chn].controllers[p1] = w14 & 0x7f;
565 if (p1 < 32) /* Setting MSB should clear LSB to 0 */
566 synth_devs[dev]->chn_info[chn].controllers[p1 + 32] = 0;
573 if (p1 < 64) /* Combine MSB and LSB */
576 chn_info[chn].controllers[p1 & ~32] & 0x7f) << 7)
578 chn_info[chn].controllers[p1 | 32] & 0x7f);
579 p1 &= ~32;
587 synth_devs[dev]->controller(dev, i, p1, val);
590 synth_devs[dev]->controller(dev, chn, p1, w14);
593 synth_devs[dev]->controller(dev, chn, p1, w14);