tag | line | file | source code |
instr | 91 | drivers/sound/dev_table.h | int (*set_instr) (int dev, int voice, int instr); |
instr | 1267 | drivers/sound/gus_wave.c | int instr; |
instr | 1302 | drivers/sound/gus_wave.c | instr = patch.instr_no; |
instr | 1304 | drivers/sound/gus_wave.c | if (instr < 0 || instr > MAX_PATCH) |
instr | 1306 | drivers/sound/gus_wave.c | printk ("GUS: Invalid patch number %d\n", instr); |
instr | 1382 | drivers/sound/gus_wave.c | samples[free_sample].key = patch_table[instr]; |
instr | 1383 | drivers/sound/gus_wave.c | patch_table[instr] = free_sample; |
instr | 1501 | drivers/sound/gus_wave.c | pmgr_inform (dev, PM_E_PATCH_LOADED, instr, free_sample, 0, 0); |
instr | 76 | drivers/sound/opl3.c | static int store_instr (int instr_no, struct sbi_instrument *instr); |
instr | 272 | drivers/sound/opl3.c | store_instr (int instr_no, struct sbi_instrument *instr) |
instr | 275 | drivers/sound/opl3.c | if (instr->key != FM_PATCH && (instr->key != OPL3_PATCH || !opl3_enabled)) |
instr | 276 | drivers/sound/opl3.c | printk ("FM warning: Invalid patch format field (key) 0x%04x\n", instr->key); |
instr | 277 | drivers/sound/opl3.c | memcpy ((char *) &(instrmap[instr_no]), (char *) instr, sizeof (*instr)); |
instr | 342 | drivers/sound/opl3.c | struct sbi_instrument *instr; |
instr | 350 | drivers/sound/opl3.c | instr = active_instrument[voice]; |
instr | 352 | drivers/sound/opl3.c | if (!instr) |
instr | 353 | drivers/sound/opl3.c | instr = &instrmap[0]; |
instr | 355 | drivers/sound/opl3.c | if (instr->channel < 0) |
instr | 364 | drivers/sound/opl3.c | vol1 = instr->operators[2]; |
instr | 365 | drivers/sound/opl3.c | vol2 = instr->operators[3]; |
instr | 367 | drivers/sound/opl3.c | if ((instr->operators[10] & 0x01)) |
instr | 384 | drivers/sound/opl3.c | vol1 = instr->operators[2]; |
instr | 385 | drivers/sound/opl3.c | vol2 = instr->operators[3]; |
instr | 386 | drivers/sound/opl3.c | vol3 = instr->operators[OFFS_4OP + 2]; |
instr | 387 | drivers/sound/opl3.c | vol4 = instr->operators[OFFS_4OP + 3]; |
instr | 394 | drivers/sound/opl3.c | connection = ((instr->operators[10] & 0x01) << 1) | (instr->operators[10 + OFFS_4OP] & 0x01); |
instr | 433 | drivers/sound/opl3.c | struct sbi_instrument *instr; |
instr | 462 | drivers/sound/opl3.c | instr = active_instrument[voice]; |
instr | 464 | drivers/sound/opl3.c | if (!instr) |
instr | 465 | drivers/sound/opl3.c | instr = &instrmap[0]; |
instr | 467 | drivers/sound/opl3.c | if (instr->channel < 0) |
instr | 475 | drivers/sound/opl3.c | if (map->voice_mode == 2 && instr->key == OPL3_PATCH) |
instr | 487 | drivers/sound/opl3.c | if (instr->key != OPL3_PATCH) /* Just 2 OP patch */ |
instr | 501 | drivers/sound/opl3.c | opl3_command (map->ioaddr, AM_VIB + map->op[0], instr->operators[0]); |
instr | 502 | drivers/sound/opl3.c | opl3_command (map->ioaddr, AM_VIB + map->op[1], instr->operators[1]); |
instr | 505 | drivers/sound/opl3.c | opl3_command (map->ioaddr, ATTACK_DECAY + map->op[0], instr->operators[4]); |
instr | 506 | drivers/sound/opl3.c | opl3_command (map->ioaddr, ATTACK_DECAY + map->op[1], instr->operators[5]); |
instr | 509 | drivers/sound/opl3.c | opl3_command (map->ioaddr, SUSTAIN_RELEASE + map->op[0], instr->operators[6]); |
instr | 510 | drivers/sound/opl3.c | opl3_command (map->ioaddr, SUSTAIN_RELEASE + map->op[1], instr->operators[7]); |
instr | 513 | drivers/sound/opl3.c | opl3_command (map->ioaddr, WAVE_SELECT + map->op[0], instr->operators[8]); |
instr | 514 | drivers/sound/opl3.c | opl3_command (map->ioaddr, WAVE_SELECT + map->op[1], instr->operators[9]); |
instr | 517 | drivers/sound/opl3.c | fpc = instr->operators[10]; |
instr | 531 | drivers/sound/opl3.c | opl3_command (map->ioaddr, AM_VIB + map->op[2], instr->operators[OFFS_4OP + 0]); |
instr | 532 | drivers/sound/opl3.c | opl3_command (map->ioaddr, AM_VIB + map->op[3], instr->operators[OFFS_4OP + 1]); |
instr | 535 | drivers/sound/opl3.c | opl3_command (map->ioaddr, ATTACK_DECAY + map->op[2], instr->operators[OFFS_4OP + 4]); |
instr | 536 | drivers/sound/opl3.c | opl3_command (map->ioaddr, ATTACK_DECAY + map->op[3], instr->operators[OFFS_4OP + 5]); |
instr | 539 | drivers/sound/opl3.c | opl3_command (map->ioaddr, SUSTAIN_RELEASE + map->op[2], instr->operators[OFFS_4OP + 6]); |
instr | 540 | drivers/sound/opl3.c | opl3_command (map->ioaddr, SUSTAIN_RELEASE + map->op[3], instr->operators[OFFS_4OP + 7]); |
instr | 543 | drivers/sound/opl3.c | opl3_command (map->ioaddr, WAVE_SELECT + map->op[2], instr->operators[OFFS_4OP + 8]); |
instr | 544 | drivers/sound/opl3.c | opl3_command (map->ioaddr, WAVE_SELECT + map->op[3], instr->operators[OFFS_4OP + 9]); |
instr | 547 | drivers/sound/opl3.c | fpc = instr->operators[OFFS_4OP + 10]; |
instr | 752 | drivers/sound/opl3.c | tmp = instr->operators[(cell-1)+(((cell-1)/2)*OFFS_4OP)]; \ |
instr | 761 | drivers/sound/opl3.c | struct sbi_instrument *instr; |
instr | 778 | drivers/sound/opl3.c | instr = active_instrument[voice]; |
instr | 780 | drivers/sound/opl3.c | if (!instr) |
instr | 781 | drivers/sound/opl3.c | instr = &instrmap[0]; |
instr | 785 | drivers/sound/opl3.c | int connection = ((instr->operators[10] & 0x01) << 1) | (instr->operators[10 + OFFS_4OP] & 0x01); |
instr | 816 | drivers/sound/opl3.c | if ((instr->operators[10] & 0x01)) /* Additive synthesis */ |