Lines Matching refs:patchstart

61     int patchstart;  in dx7_patchbank_load()  local
125 for (patchstart = 0; patchstart + midshift + 5 < filelength; patchstart++) { in dx7_patchbank_load()
127 if (raw_patch_data[patchstart] == 0xf0 && in dx7_patchbank_load()
128 raw_patch_data[patchstart + 1 + midshift] == 0x43 && in dx7_patchbank_load()
129 raw_patch_data[patchstart + 2 + midshift] <= 0x0f && in dx7_patchbank_load()
130 raw_patch_data[patchstart + 3 + midshift] == 0x09 && in dx7_patchbank_load()
131 raw_patch_data[patchstart + 5 + midshift] == 0x00 && in dx7_patchbank_load()
132 patchstart + 4103 + midshift < filelength && in dx7_patchbank_load()
133 raw_patch_data[patchstart + 4103 + midshift] == 0xf7) { /* DX7 32 voice dump */ in dx7_patchbank_load()
136 raw_patch_data + patchstart + 6 + midshift, 4096); in dx7_patchbank_load()
138 patchstart += (DX7_DUMP_SIZE_VOICE_BULK - 1); in dx7_patchbank_load()
140 } else if (raw_patch_data[patchstart] == 0xf0 && in dx7_patchbank_load()
141 raw_patch_data[patchstart + midshift + 1] == 0x43 && in dx7_patchbank_load()
142 raw_patch_data[patchstart + midshift + 2] <= 0x0f && in dx7_patchbank_load()
143 raw_patch_data[patchstart + midshift + 4] == 0x01 && in dx7_patchbank_load()
144 raw_patch_data[patchstart + midshift + 5] == 0x1b && in dx7_patchbank_load()
145 patchstart + midshift + 162 < filelength && in dx7_patchbank_load()
146 … raw_patch_data[patchstart + midshift + 162] == 0xf7) { /* DX7 single voice (edit buffer) dump */ in dx7_patchbank_load()
150 dx7_patch_pack(raw_patch_data + patchstart + midshift + 6, in dx7_patchbank_load()
156 patchstart += (DX7_DUMP_SIZE_VOICE_SINGLE - 1); in dx7_patchbank_load()