Home
last modified time | relevance | path

Searched refs:patch (Results 1 – 19 of 19) sorted by relevance

/sound/drivers/opl3/
Dopl3_synth.c255 struct fm_patch *patch; in snd_opl3_load_patch() local
258 patch = snd_opl3_find_patch(opl3, prog, bank, 1); in snd_opl3_load_patch()
259 if (!patch) in snd_opl3_load_patch()
262 patch->type = type; in snd_opl3_load_patch()
265 patch->inst.op[i].am_vib = data[AM_VIB + i]; in snd_opl3_load_patch()
266 patch->inst.op[i].ksl_level = data[KSL_LEVEL + i]; in snd_opl3_load_patch()
267 patch->inst.op[i].attack_decay = data[ATTACK_DECAY + i]; in snd_opl3_load_patch()
268 patch->inst.op[i].sustain_release = data[SUSTAIN_RELEASE + i]; in snd_opl3_load_patch()
269 patch->inst.op[i].wave_select = data[WAVE_SELECT + i]; in snd_opl3_load_patch()
271 patch->inst.feedback_connection[0] = data[CONNECTION]; in snd_opl3_load_patch()
[all …]
Dopl3_midi.c313 struct fm_patch *patch; in snd_opl3_note_on() local
354 patch = snd_opl3_find_patch(opl3, prg, bank, 0); in snd_opl3_note_on()
355 if (!patch) { in snd_opl3_note_on()
360 fm = &patch->inst; in snd_opl3_note_on()
361 switch (patch->type) { in snd_opl3_note_on()
376 instr_4op ? 3 : 2, patch->name); in snd_opl3_note_on()
/sound/synth/emux/
Dsoundfont.c131 struct soundfont_patch_info patch; in snd_soundfont_load() local
135 if (count < (long)sizeof(patch)) { in snd_soundfont_load()
139 if (copy_from_user(&patch, data, sizeof(patch))) in snd_soundfont_load()
142 count -= sizeof(patch); in snd_soundfont_load()
143 data += sizeof(patch); in snd_soundfont_load()
145 if (patch.key != SNDRV_OSS_SOUNDFONT_PATCH) { in snd_soundfont_load()
146 snd_printk("'The wrong kind of patch' %x\n", patch.key); in snd_soundfont_load()
149 if (count < patch.len) { in snd_soundfont_load()
150 snd_printk("Patch too short %ld, need %d\n", count, patch.len); in snd_soundfont_load()
153 if (patch.len < 0) { in snd_soundfont_load()
[all …]
Demux_hwdep.c56 struct soundfont_patch_info patch; in snd_emux_hwdep_load_patch() local
58 if (copy_from_user(&patch, arg, sizeof(patch))) in snd_emux_hwdep_load_patch()
61 if (patch.type >= SNDRV_SFNT_LOAD_INFO && in snd_emux_hwdep_load_patch()
62 patch.type <= SNDRV_SFNT_PROBE_DATA) { in snd_emux_hwdep_load_patch()
63 err = snd_soundfont_load(emu->sflist, arg, patch.len + sizeof(patch), TMP_CLIENT_ID); in snd_emux_hwdep_load_patch()
68 return emu->ops.load_fx(emu, patch.type, patch.optarg, arg, patch.len + sizeof(patch)); in snd_emux_hwdep_load_patch()
Demux_oss.c233 struct soundfont_patch_info patch; in snd_emux_load_patch_seq_oss() local
234 if (count < (int)sizeof(patch)) in snd_emux_load_patch_seq_oss()
236 if (copy_from_user(&patch, buf, sizeof(patch))) in snd_emux_load_patch_seq_oss()
238 if (patch.type >= SNDRV_SFNT_LOAD_INFO && in snd_emux_load_patch_seq_oss()
239 patch.type <= SNDRV_SFNT_PROBE_DATA) in snd_emux_load_patch_seq_oss()
243 rc = emu->ops.load_fx(emu, patch.type, patch.optarg, buf, count); in snd_emux_load_patch_seq_oss()
/sound/pci/hda/
Dpatch_si3054.c286 { .id = 0x163c3055, .name = "Si3054", .patch = patch_si3054 },
287 { .id = 0x163c3155, .name = "Si3054", .patch = patch_si3054 },
288 { .id = 0x11c13026, .name = "Si3054", .patch = patch_si3054 },
289 { .id = 0x11c13055, .name = "Si3054", .patch = patch_si3054 },
290 { .id = 0x11c13155, .name = "Si3054", .patch = patch_si3054 },
291 { .id = 0x10573055, .name = "Si3054", .patch = patch_si3054 },
292 { .id = 0x10573057, .name = "Si3054", .patch = patch_si3054 },
293 { .id = 0x10573155, .name = "Si3054", .patch = patch_si3054 },
295 { .id = 0x11063288, .name = "Si3054", .patch = patch_si3054 },
297 { .id = 0x15433155, .name = "Si3054", .patch = patch_si3054 },
[all …]
Dpatch_atihdmi.c190 { .id = 0x1002793c, .name = "RS600 HDMI", .patch = patch_atihdmi },
191 { .id = 0x10027919, .name = "RS600 HDMI", .patch = patch_atihdmi },
192 { .id = 0x1002791a, .name = "RS690/780 HDMI", .patch = patch_atihdmi },
193 { .id = 0x1002aa01, .name = "R6xx HDMI", .patch = patch_atihdmi },
194 { .id = 0x10951390, .name = "SiI1390 HDMI", .patch = patch_atihdmi },
195 { .id = 0x17e80047, .name = "Chrontel HDMI", .patch = patch_atihdmi },
Dpatch_nvhdmi.c162 { .id = 0x10de0002, .name = "MCP78 HDMI", .patch = patch_nvhdmi },
163 { .id = 0x10de0006, .name = "MCP78 HDMI", .patch = patch_nvhdmi },
164 { .id = 0x10de0007, .name = "MCP7A HDMI", .patch = patch_nvhdmi },
165 { .id = 0x10de0067, .name = "MCP67 HDMI", .patch = patch_nvhdmi },
166 { .id = 0x10de8001, .name = "MCP73 HDMI", .patch = patch_nvhdmi },
Dpatch_via.c3252 { .id = 0x11061708, .name = "VT1708", .patch = patch_vt1708},
3253 { .id = 0x11061709, .name = "VT1708", .patch = patch_vt1708},
3254 { .id = 0x1106170a, .name = "VT1708", .patch = patch_vt1708},
3255 { .id = 0x1106170b, .name = "VT1708", .patch = patch_vt1708},
3257 .patch = patch_vt1709_10ch},
3259 .patch = patch_vt1709_10ch},
3261 .patch = patch_vt1709_10ch},
3263 .patch = patch_vt1709_10ch},
3265 .patch = patch_vt1709_6ch},
3267 .patch = patch_vt1709_6ch},
[all …]
Dpatch_sigmatel.c5601 { .id = 0x83847690, .name = "STAC9200", .patch = patch_stac9200 },
5602 { .id = 0x83847882, .name = "STAC9220 A1", .patch = patch_stac922x },
5603 { .id = 0x83847680, .name = "STAC9221 A1", .patch = patch_stac922x },
5604 { .id = 0x83847880, .name = "STAC9220 A2", .patch = patch_stac922x },
5605 { .id = 0x83847681, .name = "STAC9220D/9223D A2", .patch = patch_stac922x },
5606 { .id = 0x83847682, .name = "STAC9221 A2", .patch = patch_stac922x },
5607 { .id = 0x83847683, .name = "STAC9221D A2", .patch = patch_stac922x },
5608 { .id = 0x83847618, .name = "STAC9227", .patch = patch_stac927x },
5609 { .id = 0x83847619, .name = "STAC9227", .patch = patch_stac927x },
5610 { .id = 0x83847616, .name = "STAC9228", .patch = patch_stac927x },
[all …]
Dpatch_intelhdmi.c683 { .id = 0x808629fb, .name = "G45 DEVCL", .patch = patch_intel_hdmi },
684 { .id = 0x80862801, .name = "G45 DEVBLC", .patch = patch_intel_hdmi },
685 { .id = 0x80862802, .name = "G45 DEVCTG", .patch = patch_intel_hdmi },
686 { .id = 0x80862803, .name = "G45 DEVELK", .patch = patch_intel_hdmi },
687 { .id = 0x80862804, .name = "G45 DEVIBX", .patch = patch_intel_hdmi },
688 { .id = 0x10951392, .name = "SiI1392 HDMI", .patch = patch_intel_hdmi },
Dpatch_analog.c4322 { .id = 0x11d4184a, .name = "AD1884A", .patch = patch_ad1884a },
4323 { .id = 0x11d41882, .name = "AD1882", .patch = patch_ad1882 },
4324 { .id = 0x11d41883, .name = "AD1883", .patch = patch_ad1884a },
4325 { .id = 0x11d41884, .name = "AD1884", .patch = patch_ad1884 },
4326 { .id = 0x11d4194a, .name = "AD1984A", .patch = patch_ad1884a },
4327 { .id = 0x11d4194b, .name = "AD1984B", .patch = patch_ad1884a },
4328 { .id = 0x11d41981, .name = "AD1981", .patch = patch_ad1981 },
4329 { .id = 0x11d41983, .name = "AD1983", .patch = patch_ad1983 },
4330 { .id = 0x11d41984, .name = "AD1984", .patch = patch_ad1984 },
4331 { .id = 0x11d41986, .name = "AD1986A", .patch = patch_ad1986a },
[all …]
Dpatch_cmedia.c739 { .id = 0x13f69880, .name = "CMI9880", .patch = patch_cmi9880 },
740 { .id = 0x434d4980, .name = "CMI9880", .patch = patch_cmi9880 },
Dpatch_conexant.c1893 .patch = patch_cxt5045 },
1895 .patch = patch_cxt5047 },
1897 .patch = patch_cxt5051 },
Dpatch_realtek.c16637 { .id = 0x10ec0260, .name = "ALC260", .patch = patch_alc260 },
16638 { .id = 0x10ec0262, .name = "ALC262", .patch = patch_alc262 },
16639 { .id = 0x10ec0267, .name = "ALC267", .patch = patch_alc268 },
16640 { .id = 0x10ec0268, .name = "ALC268", .patch = patch_alc268 },
16641 { .id = 0x10ec0269, .name = "ALC269", .patch = patch_alc269 },
16642 { .id = 0x10ec0272, .name = "ALC272", .patch = patch_alc662 },
16644 .patch = patch_alc861 },
16645 { .id = 0x10ec0660, .name = "ALC660-VD", .patch = patch_alc861vd },
16646 { .id = 0x10ec0861, .name = "ALC861", .patch = patch_alc861 },
16647 { .id = 0x10ec0862, .name = "ALC861-VD", .patch = patch_alc861vd },
[all …]
Dhda_codec.h642 int (*patch)(struct hda_codec *codec); member
Dhda_codec.c849 if (codec->preset && codec->preset->patch) { in snd_hda_codec_configure()
850 err = codec->preset->patch(codec); in snd_hda_codec_configure()
/sound/pci/ac97/
Dac97_codec.c64 int (*patch)(struct snd_ac97 *ac97); member
1783 if (ac97 && pid->patch) { in snd_ac97_get_name()
1786 pid->patch(ac97); in snd_ac97_get_name()
1795 if (ac97 && pid->patch) { in snd_ac97_get_name()
1798 pid->patch(ac97); in snd_ac97_get_name()
/sound/oss/
DCHANGELOG216 - Sample/patch/program loading for TB Maui/Tropez. No initialization