Home
last modified time | relevance | path

Searched refs:sustain (Results 1 – 4 of 4) sorted by relevance

/linux-3.4.99/Documentation/ABI/testing/
Dsysfs-driver-hid-prodikeys10 What: /sys/bus/hid/drivers/prodikeys/.../sustain
15 Allows control (via software) the sustain duration of a
17 0 means sustain mode is disabled.
/linux-3.4.99/drivers/hid/
Dhid-prodikeys.c160 unsigned sustain = 0; in store_sustain() local
162 if (sscanf(buf, "%u", &sustain) > 0 && sustain <= PCMIDI_SUSTAIN_MAX) { in store_sustain()
163 dbg_hid("pcmidi sysfs write sustain=%u\n", sustain); in store_sustain()
164 pk->pm->midi_sustain = sustain; in store_sustain()
166 (0 == sustain || !pk->pm->midi_mode) ? 0 : 1; in store_sustain()
172 static DEVICE_ATTR(sustain, S_IRUGO | S_IWUSR | S_IWGRP, show_sustain,
/linux-3.4.99/include/sound/
Dasound_fm.h55 unsigned char sustain; /* 4 bits: sustain level */ member
/linux-3.4.99/sound/drivers/opl3/
Dopl3_synth.c517 reg_val = (voice->sustain << 4) & OPL3_SUSTAIN_MASK; in snd_opl3_set_voice()