Lines Matching refs:fm
301 struct fm_instrument *fm;
347 fm = &patch->inst;
435 vol_op[i] = fm->op[i].ksl_level;
437 connection = fm->feedback_connection[0] & 0x01;
440 connection |= fm->feedback_connection[1] & 0x01;
467 reg_val = fm->op[i].am_vib;
477 reg_val = fm->op[i].attack_decay;
482 reg_val = fm->op[i].sustain_release;
487 reg_val = fm->op[i].wave_select;
493 reg_val = fm->feedback_connection[0];
505 reg_val = fm->feedback_connection[1] & OPL3_CONNECTION_BIT;
518 * Special treatment of percussion notes for fm:
522 if (fm->fix_key)
523 note = fm->fix_key;
527 if (fm->trnsps)
528 note += (fm->trnsps - 64);
549 if (fm->fix_dur) {
551 (fm->fix_dur * HZ) / 100;
558 extra_prg = (extra_prg) ? 0 : fm->modes;