Searched refs:sustain (Results 1 - 12 of 12) sorted by relevance

/linux-4.1.27/drivers/hid/
H A Dhid-prodikeys.c139 /* Output routine for the sysfs sustain file */ show_sustain()
146 dbg_hid("pcmidi sysfs read sustain=%u\n", pk->pm->midi_sustain); show_sustain()
152 /* Input routine for the sysfs sustain file */ store_sustain()
159 unsigned sustain = 0; store_sustain() local
161 if (sscanf(buf, "%u", &sustain) > 0 && sustain <= PCMIDI_SUSTAIN_MAX) { store_sustain()
162 dbg_hid("pcmidi sysfs write sustain=%u\n", sustain); store_sustain()
163 pk->pm->midi_sustain = sustain; store_sustain()
165 (0 == sustain || !pk->pm->midi_mode) ? 0 : 1; store_sustain()
171 static DEVICE_ATTR(sustain, S_IRUGO | S_IWUSR | S_IWGRP, show_sustain,
331 /*KEY_WWW or sustain*/ pcmidi_handle_report1()
333 /* sustain on/off*/ pcmidi_handle_report1()
676 pk_error("failed to create sysfs attribute sustain: error %d\n", pcmidi_snd_initialise()
/linux-4.1.27/include/uapi/sound/
H A Dasound_fm.h47 unsigned char do_sustain; /* sustain phase */
55 unsigned char sustain; /* 4 bits: sustain level */ member in struct:snd_dm_fm_voice
H A Dsfnt_info.h92 unsigned short moddcysus; /* modulation decay & sustain (0x7f7f) */
97 unsigned short voldcysus; /* volume decay & sustain (0x7f7f) */
/linux-4.1.27/sound/synth/emux/
H A Demux_effect.c62 {PARM_BYTE_HI, 0, 0x7f, parm_offset(moddcysus), 0}, /* env1 sustain */
71 {PARM_BYTE_HI, 0, 0x7f, parm_offset(voldcysus), 0}, /* env2 sustain */
H A Dsoundfont.c632 * Env1/2: delay=0, attack=0, hold=0, sustain=0, decay=0, release=0.
/linux-4.1.27/sound/drivers/opl3/
H A Dopl3_synth.c516 /* Set sustain phase level */ snd_opl3_set_voice()
517 reg_val = (voice->sustain << 4) & OPL3_SUSTAIN_MASK; snd_opl3_set_voice()
/linux-4.1.27/sound/isa/sb/
H A Demu8000_callback.c262 /* decay/sustain parameter for volume envelope is used start_voice()
H A Demu8000_pcm.c300 /* decay/sustain parameter for volume envelope is used setup_voice()
/linux-4.1.27/sound/pci/emu10k1/
H A Demu10k1_callback.c377 /* decay/sustain parameter for volume envelope is used start_voice()
/linux-4.1.27/include/sound/
H A Demu10k1.h487 #define DCYSUSV 0x12 /* Volume envelope sustain and decay register */
510 #define DCYSUSM 0x16 /* Modulation envelope decay and sustain register */
/linux-4.1.27/drivers/scsi/
H A Dscsi_transport_spi.c965 /* See if we actually managed to negotiate and sustain DT */ spi_dv_device_internal()
/linux-4.1.27/mm/
H A Dswapfile.c2479 * order to sustain backward compatibility with older

Completed in 417 milliseconds