| tag | line | file | source code |
| instr | 91 | drivers/sound/dev_table.h | int (*set_instr) (int dev, int voice, int instr); |
| instr | 1683 | drivers/sound/gus_wave.c | int instr; |
| instr | 1721 | drivers/sound/gus_wave.c | instr = patch.instr_no; |
| instr | 1723 | drivers/sound/gus_wave.c | if (instr < 0 || instr > MAX_PATCH) |
| instr | 1725 | drivers/sound/gus_wave.c | printk ("GUS: Invalid patch number %d\n", instr); |
| instr | 1809 | drivers/sound/gus_wave.c | samples[free_sample].key = patch_table[instr]; |
| instr | 1810 | drivers/sound/gus_wave.c | patch_table[instr] = free_sample; |
| instr | 1955 | drivers/sound/gus_wave.c | pmgr_inform (dev, PM_E_PATCH_LOADED, instr, free_sample, 0, 0); |
| instr | 75 | drivers/sound/opl3.c | static int store_instr (int instr_no, struct sbi_instrument *instr); |
| instr | 271 | drivers/sound/opl3.c | store_instr (int instr_no, struct sbi_instrument *instr) |
| instr | 274 | drivers/sound/opl3.c | if (instr->key != FM_PATCH && (instr->key != OPL3_PATCH || !opl3_enabled)) |
| instr | 275 | drivers/sound/opl3.c | printk ("FM warning: Invalid patch format field (key) 0x%x\n", instr->key); |
| instr | 276 | drivers/sound/opl3.c | memcpy ((char *) &(instrmap[instr_no]), (char *) instr, sizeof (*instr)); |
| instr | 341 | drivers/sound/opl3.c | struct sbi_instrument *instr; |
| instr | 349 | drivers/sound/opl3.c | instr = active_instrument[voice]; |
| instr | 351 | drivers/sound/opl3.c | if (!instr) |
| instr | 352 | drivers/sound/opl3.c | instr = &instrmap[0]; |
| instr | 354 | drivers/sound/opl3.c | if (instr->channel < 0) |
| instr | 363 | drivers/sound/opl3.c | vol1 = instr->operators[2]; |
| instr | 364 | drivers/sound/opl3.c | vol2 = instr->operators[3]; |
| instr | 366 | drivers/sound/opl3.c | if ((instr->operators[10] & 0x01)) |
| instr | 383 | drivers/sound/opl3.c | vol1 = instr->operators[2]; |
| instr | 384 | drivers/sound/opl3.c | vol2 = instr->operators[3]; |
| instr | 385 | drivers/sound/opl3.c | vol3 = instr->operators[OFFS_4OP + 2]; |
| instr | 386 | drivers/sound/opl3.c | vol4 = instr->operators[OFFS_4OP + 3]; |
| instr | 393 | drivers/sound/opl3.c | connection = ((instr->operators[10] & 0x01) << 1) | (instr->operators[10 + OFFS_4OP] & 0x01); |
| instr | 432 | drivers/sound/opl3.c | struct sbi_instrument *instr; |
| instr | 461 | drivers/sound/opl3.c | instr = active_instrument[voice]; |
| instr | 463 | drivers/sound/opl3.c | if (!instr) |
| instr | 464 | drivers/sound/opl3.c | instr = &instrmap[0]; |
| instr | 466 | drivers/sound/opl3.c | if (instr->channel < 0) |
| instr | 474 | drivers/sound/opl3.c | if (map->voice_mode == 2 && instr->key == OPL3_PATCH) |
| instr | 486 | drivers/sound/opl3.c | if (instr->key != OPL3_PATCH) /* Just 2 OP patch */ |
| instr | 500 | drivers/sound/opl3.c | opl3_command (map->ioaddr, AM_VIB + map->op[0], instr->operators[0]); |
| instr | 501 | drivers/sound/opl3.c | opl3_command (map->ioaddr, AM_VIB + map->op[1], instr->operators[1]); |
| instr | 504 | drivers/sound/opl3.c | opl3_command (map->ioaddr, ATTACK_DECAY + map->op[0], instr->operators[4]); |
| instr | 505 | drivers/sound/opl3.c | opl3_command (map->ioaddr, ATTACK_DECAY + map->op[1], instr->operators[5]); |
| instr | 508 | drivers/sound/opl3.c | opl3_command (map->ioaddr, SUSTAIN_RELEASE + map->op[0], instr->operators[6]); |
| instr | 509 | drivers/sound/opl3.c | opl3_command (map->ioaddr, SUSTAIN_RELEASE + map->op[1], instr->operators[7]); |
| instr | 512 | drivers/sound/opl3.c | opl3_command (map->ioaddr, WAVE_SELECT + map->op[0], instr->operators[8]); |
| instr | 513 | drivers/sound/opl3.c | opl3_command (map->ioaddr, WAVE_SELECT + map->op[1], instr->operators[9]); |
| instr | 516 | drivers/sound/opl3.c | fpc = instr->operators[10]; |
| instr | 530 | drivers/sound/opl3.c | opl3_command (map->ioaddr, AM_VIB + map->op[2], instr->operators[OFFS_4OP + 0]); |
| instr | 531 | drivers/sound/opl3.c | opl3_command (map->ioaddr, AM_VIB + map->op[3], instr->operators[OFFS_4OP + 1]); |
| instr | 534 | drivers/sound/opl3.c | opl3_command (map->ioaddr, ATTACK_DECAY + map->op[2], instr->operators[OFFS_4OP + 4]); |
| instr | 535 | drivers/sound/opl3.c | opl3_command (map->ioaddr, ATTACK_DECAY + map->op[3], instr->operators[OFFS_4OP + 5]); |
| instr | 538 | drivers/sound/opl3.c | opl3_command (map->ioaddr, SUSTAIN_RELEASE + map->op[2], instr->operators[OFFS_4OP + 6]); |
| instr | 539 | drivers/sound/opl3.c | opl3_command (map->ioaddr, SUSTAIN_RELEASE + map->op[3], instr->operators[OFFS_4OP + 7]); |
| instr | 542 | drivers/sound/opl3.c | opl3_command (map->ioaddr, WAVE_SELECT + map->op[2], instr->operators[OFFS_4OP + 8]); |
| instr | 543 | drivers/sound/opl3.c | opl3_command (map->ioaddr, WAVE_SELECT + map->op[3], instr->operators[OFFS_4OP + 9]); |
| instr | 546 | drivers/sound/opl3.c | fpc = instr->operators[OFFS_4OP + 10]; |
| instr | 751 | drivers/sound/opl3.c | tmp = instr->operators[(cell-1)+(((cell-1)/2)*OFFS_4OP)]; \ |
| instr | 760 | drivers/sound/opl3.c | struct sbi_instrument *instr; |
| instr | 777 | drivers/sound/opl3.c | instr = active_instrument[voice]; |
| instr | 779 | drivers/sound/opl3.c | if (!instr) |
| instr | 780 | drivers/sound/opl3.c | instr = &instrmap[0]; |
| instr | 784 | drivers/sound/opl3.c | int connection = ((instr->operators[10] & 0x01) << 1) | (instr->operators[10 + OFFS_4OP] & 0x01); |
| instr | 815 | drivers/sound/opl3.c | if ((instr->operators[10] & 0x01)) /* Additive synthesis */ |