taglinefilesource code
patch1176drivers/sound/gus_wave.cint             is16bits, samplep, patch, pan;
patch1199drivers/sound/gus_wave.cif ((patch = patch_map[voice]) == -1)
patch1204drivers/sound/gus_wave.cif ((samplep = patch_table[patch]) == -1)
patch1242drivers/sound/gus_wave.cprintk ("GUS: Patch %d not defined for note %d\n", patch, note_num);
patch1475drivers/sound/gus_wave.cstruct patch_info patch;
patch1481drivers/sound/gus_wave.csizeof_patch = (long) &patch.data[0] - (long) &patch;  /* Header size */
patch1508drivers/sound/gus_wave.cCOPY_FROM_USER (&((char *) &patch)[offs], addr, offs, sizeof_patch - offs);
patch1510drivers/sound/gus_wave.cinstr = patch.instr_no;
patch1518drivers/sound/gus_wave.cif (count < patch.len)
patch1521drivers/sound/gus_wave.ccount, (int) patch.len);
patch1522drivers/sound/gus_wave.cpatch.len = count;
patch1525drivers/sound/gus_wave.cif (patch.len <= 0 || patch.len > gus_mem_size)
patch1527drivers/sound/gus_wave.cprintk ("GUS: Invalid sample length %d\n", (int) patch.len);
patch1531drivers/sound/gus_wave.cif (patch.mode & WAVE_LOOPING)
patch1533drivers/sound/gus_wave.cif (patch.loop_start < 0 || patch.loop_start >= patch.len)
patch1539drivers/sound/gus_wave.cif (patch.loop_end < patch.loop_start || patch.loop_end > patch.len)
patch1550drivers/sound/gus_wave.cif (patch.mode & WAVE_16_BITS)
patch1555drivers/sound/gus_wave.cif (patch.len >= GUS_BANK_SIZE)
patch1557drivers/sound/gus_wave.cprintk ("GUS: Sample (16 bit) too long %d\n", (int) patch.len);
patch1562drivers/sound/gus_wave.c((free_mem_ptr + patch.len) / GUS_BANK_SIZE))
patch1567drivers/sound/gus_wave.cif ((tmp_mem + patch.len) > gus_mem_size)
patch1574drivers/sound/gus_wave.cif ((free_mem_ptr + patch.len) > gus_mem_size)
patch1583drivers/sound/gus_wave.cif (patch.mode & WAVE_ENVELOPES)
patch1584drivers/sound/gus_wave.cpatch.mode &= ~WAVE_TREMOLO;
patch1586drivers/sound/gus_wave.cmemcpy ((char *) &samples[free_sample], &patch, sizeof_patch);
patch1599drivers/sound/gus_wave.cleft = patch.len;
patch1632drivers/sound/gus_wave.cif (patch.mode & WAVE_UNSIGNED)
patch1634drivers/sound/gus_wave.cif (!(patch.mode & WAVE_16_BITS) || (i & 0x01))
patch1680drivers/sound/gus_wave.cif (patch.mode & WAVE_UNSIGNED)
patch1682drivers/sound/gus_wave.cif (patch.mode & WAVE_16_BITS)
patch1712drivers/sound/gus_wave.cfree_mem_ptr += patch.len;
patch288include/linux/soundcard.hstruct patch_info patch;
patch883include/linux/soundcard.h#define SEQ_SET_PATCH(dev, chn, patch) \
patch884include/linux/soundcard.h_CHN_COMMON(dev, MIDI_PGM_CHANGE, chn, patch, 0, 0)