• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/sound/oss/

Lines Matching refs:map

270 	 struct physical_voice_info *map;
275 devc->v_alloc->map[voice] = 0;
277 map = &pv_map[devc->lv_map[voice]];
280 if (map->voice_mode == 0)
283 opl3_command(map->ioaddr, KEYON_BLOCK + map->voice_num, devc->voc[voice].keyon_byte & ~0x20);
375 struct physical_voice_info *map;
380 map = &pv_map[devc->lv_map[voice]];
405 opl3_command(map->ioaddr, KSL_LEVEL + map->op[0], vol1);
406 opl3_command(map->ioaddr, KSL_LEVEL + map->op[1], vol2);
451 opl3_command(map->ioaddr, KSL_LEVEL + map->op[0], vol1);
452 opl3_command(map->ioaddr, KSL_LEVEL + map->op[1], vol2);
453 opl3_command(map->ioaddr, KSL_LEVEL + map->op[2], vol3);
454 opl3_command(map->ioaddr, KSL_LEVEL + map->op[3], vol4);
463 struct physical_voice_info *map;
468 map = &pv_map[devc->lv_map[voice]];
471 if (map->voice_mode == 0)
486 opl3_command(map->ioaddr, KSL_LEVEL + map->op[1], 0xff); /*
491 opl3_command(map->ioaddr, KSL_LEVEL + map->op[0], 0xff); /*
496 if (map->voice_mode == 4)
498 opl3_command(map->ioaddr, KSL_LEVEL + map->op[2], 0xff);
499 opl3_command(map->ioaddr, KSL_LEVEL + map->op[3], 0xff);
502 opl3_command(map->ioaddr, KEYON_BLOCK + map->voice_num, 0x00); /*
518 if (map->voice_mode == 2 && instr->key == OPL3_PATCH)
523 voice_mode = map->voice_mode;
529 voice_shift = (map->ioaddr == devc->left_io) ? 0 : 3;
530 voice_shift += map->voice_num;
551 opl3_command(map->ioaddr, AM_VIB + map->op[0], instr->operators[0]);
552 opl3_command(map->ioaddr, AM_VIB + map->op[1], instr->operators[1]);
558 opl3_command(map->ioaddr, ATTACK_DECAY + map->op[0], instr->operators[4]);
559 opl3_command(map->ioaddr, ATTACK_DECAY + map->op[1], instr->operators[5]);
565 opl3_command(map->ioaddr, SUSTAIN_RELEASE + map->op[0], instr->operators[6]);
566 opl3_command(map->ioaddr, SUSTAIN_RELEASE + map->op[1], instr->operators[7]);
572 opl3_command(map->ioaddr, WAVE_SELECT + map->op[0], instr->operators[8]);
573 opl3_command(map->ioaddr, WAVE_SELECT + map->op[1], instr->operators[9]);
597 opl3_command(map->ioaddr, FEEDBACK_CONNECTION + map->voice_num, fpc);
609 opl3_command(map->ioaddr, AM_VIB + map->op[2], instr->operators[OFFS_4OP + 0]);
610 opl3_command(map->ioaddr, AM_VIB + map->op[3], instr->operators[OFFS_4OP + 1]);
616 opl3_command(map->ioaddr, ATTACK_DECAY + map->op[2], instr->operators[OFFS_4OP + 4]);
617 opl3_command(map->ioaddr, ATTACK_DECAY + map->op[3], instr->operators[OFFS_4OP + 5]);
623 opl3_command(map->ioaddr, SUSTAIN_RELEASE + map->op[2], instr->operators[OFFS_4OP + 6]);
624 opl3_command(map->ioaddr, SUSTAIN_RELEASE + map->op[3], instr->operators[OFFS_4OP + 7]);
630 opl3_command(map->ioaddr, WAVE_SELECT + map->op[2], instr->operators[OFFS_4OP + 8]);
631 opl3_command(map->ioaddr, WAVE_SELECT + map->op[3], instr->operators[OFFS_4OP + 9]);
642 opl3_command(map->ioaddr, FEEDBACK_CONNECTION + map->voice_num + 3, fpc);
667 opl3_command(map->ioaddr, FNUM_LOW + map->voice_num, data);
671 opl3_command(map->ioaddr, KEYON_BLOCK + map->voice_num, data);
673 opl3_command(map->ioaddr, KEYON_BLOCK + map->voice_num + 3, data);
795 devc->v_alloc->map[i] = 0;
863 opl3_command (map->ioaddr, AM_VIB + map->op[cell-1], tmp);}
869 struct physical_voice_info *map;
874 map = &pv_map[devc->lv_map[voice]];
878 if (map->voice_mode == 0)
938 struct physical_voice_info *map;
940 map = &pv_map[devc->lv_map[voice]];
942 if (map->voice_mode == 0)
961 opl3_command(map->ioaddr, FNUM_LOW + map->voice_num, data);
965 opl3_command(map->ioaddr, KEYON_BLOCK + map->voice_num, data);
1043 if (alloc->map[p] == 0)