tag | line | file | source code |
patch | 1176 | drivers/sound/gus_wave.c | int is16bits, samplep, patch, pan; |
patch | 1199 | drivers/sound/gus_wave.c | if ((patch = patch_map[voice]) == -1) |
patch | 1204 | drivers/sound/gus_wave.c | if ((samplep = patch_table[patch]) == -1) |
patch | 1242 | drivers/sound/gus_wave.c | printk ("GUS: Patch %d not defined for note %d\n", patch, note_num); |
patch | 1475 | drivers/sound/gus_wave.c | struct patch_info patch; |
patch | 1481 | drivers/sound/gus_wave.c | sizeof_patch = (long) &patch.data[0] - (long) &patch; /* Header size */ |
patch | 1508 | drivers/sound/gus_wave.c | COPY_FROM_USER (&((char *) &patch)[offs], addr, offs, sizeof_patch - offs); |
patch | 1510 | drivers/sound/gus_wave.c | instr = patch.instr_no; |
patch | 1518 | drivers/sound/gus_wave.c | if (count < patch.len) |
patch | 1521 | drivers/sound/gus_wave.c | count, (int) patch.len); |
patch | 1522 | drivers/sound/gus_wave.c | patch.len = count; |
patch | 1525 | drivers/sound/gus_wave.c | if (patch.len <= 0 || patch.len > gus_mem_size) |
patch | 1527 | drivers/sound/gus_wave.c | printk ("GUS: Invalid sample length %d\n", (int) patch.len); |
patch | 1531 | drivers/sound/gus_wave.c | if (patch.mode & WAVE_LOOPING) |
patch | 1533 | drivers/sound/gus_wave.c | if (patch.loop_start < 0 || patch.loop_start >= patch.len) |
patch | 1539 | drivers/sound/gus_wave.c | if (patch.loop_end < patch.loop_start || patch.loop_end > patch.len) |
patch | 1550 | drivers/sound/gus_wave.c | if (patch.mode & WAVE_16_BITS) |
patch | 1555 | drivers/sound/gus_wave.c | if (patch.len >= GUS_BANK_SIZE) |
patch | 1557 | drivers/sound/gus_wave.c | printk ("GUS: Sample (16 bit) too long %d\n", (int) patch.len); |
patch | 1562 | drivers/sound/gus_wave.c | ((free_mem_ptr + patch.len) / GUS_BANK_SIZE)) |
patch | 1567 | drivers/sound/gus_wave.c | if ((tmp_mem + patch.len) > gus_mem_size) |
patch | 1574 | drivers/sound/gus_wave.c | if ((free_mem_ptr + patch.len) > gus_mem_size) |
patch | 1583 | drivers/sound/gus_wave.c | if (patch.mode & WAVE_ENVELOPES) |
patch | 1584 | drivers/sound/gus_wave.c | patch.mode &= ~WAVE_TREMOLO; |
patch | 1586 | drivers/sound/gus_wave.c | memcpy ((char *) &samples[free_sample], &patch, sizeof_patch); |
patch | 1599 | drivers/sound/gus_wave.c | left = patch.len; |
patch | 1632 | drivers/sound/gus_wave.c | if (patch.mode & WAVE_UNSIGNED) |
patch | 1634 | drivers/sound/gus_wave.c | if (!(patch.mode & WAVE_16_BITS) || (i & 0x01)) |
patch | 1680 | drivers/sound/gus_wave.c | if (patch.mode & WAVE_UNSIGNED) |
patch | 1682 | drivers/sound/gus_wave.c | if (patch.mode & WAVE_16_BITS) |
patch | 1712 | drivers/sound/gus_wave.c | free_mem_ptr += patch.len; |
patch | 288 | include/linux/soundcard.h | struct patch_info patch; |
patch | 883 | include/linux/soundcard.h | #define SEQ_SET_PATCH(dev, chn, patch) \ |
patch | 884 | include/linux/soundcard.h | _CHN_COMMON(dev, MIDI_PGM_CHANGE, chn, patch, 0, 0) |