Lines Matching refs:fm
300 struct fm_instrument *fm; in snd_opl3_note_on() local
346 fm = &patch->inst; in snd_opl3_note_on()
434 vol_op[i] = fm->op[i].ksl_level; in snd_opl3_note_on()
436 connection = fm->feedback_connection[0] & 0x01; in snd_opl3_note_on()
439 connection |= fm->feedback_connection[1] & 0x01; in snd_opl3_note_on()
466 reg_val = fm->op[i].am_vib; in snd_opl3_note_on()
476 reg_val = fm->op[i].attack_decay; in snd_opl3_note_on()
481 reg_val = fm->op[i].sustain_release; in snd_opl3_note_on()
486 reg_val = fm->op[i].wave_select; in snd_opl3_note_on()
492 reg_val = fm->feedback_connection[0]; in snd_opl3_note_on()
504 reg_val = fm->feedback_connection[1] & OPL3_CONNECTION_BIT; in snd_opl3_note_on()
521 if (fm->fix_key) in snd_opl3_note_on()
522 note = fm->fix_key; in snd_opl3_note_on()
526 if (fm->trnsps) in snd_opl3_note_on()
527 note += (fm->trnsps - 64); in snd_opl3_note_on()
548 if (fm->fix_dur) { in snd_opl3_note_on()
550 (fm->fix_dur * HZ) / 100; in snd_opl3_note_on()
557 extra_prg = (extra_prg) ? 0 : fm->modes; in snd_opl3_note_on()