Lines Matching refs:blocknum
79 static void snd_opl3_calc_pitch(unsigned char *fnum, unsigned char *blocknum, in snd_opl3_calc_pitch() argument
104 *blocknum = ((freq >> 8) & OPL3_FNUM_HIGH_MASK) | in snd_opl3_calc_pitch()
296 unsigned char fnum, blocknum; in snd_opl3_note_on() local
529 snd_opl3_calc_pitch(&fnum, &blocknum, note, chan); in snd_opl3_note_on()
535 opl3->voices[voice].keyon_reg = blocknum; in snd_opl3_note_on()
538 blocknum |= OPL3_KEYON_BIT; in snd_opl3_note_on()
545 opl3->command(opl3, opl3_reg, blocknum); in snd_opl3_note_on()
729 unsigned char fnum, blocknum; in snd_opl3_update_pitch() local
750 snd_opl3_calc_pitch(&fnum, &blocknum, vp->note, vp->chan); in snd_opl3_update_pitch()
756 vp->keyon_reg = blocknum; in snd_opl3_update_pitch()
759 blocknum |= OPL3_KEYON_BIT; in snd_opl3_update_pitch()
763 opl3->command(opl3, opl3_reg, blocknum); in snd_opl3_update_pitch()