Lines Matching refs:octave
179 /* Output routine for the sysfs octave file */
186 dbg_hid("pcmidi sysfs read octave=%d\n", pk->pm->midi_octave);
192 /* Input routine for the sysfs octave file */
199 int octave = 0;
201 if (sscanf(buf, "%d", &octave) > 0 &&
202 octave >= PCMIDI_OCTAVE_MIN && octave <= PCMIDI_OCTAVE_MAX) {
203 dbg_hid("pcmidi sysfs write octave=%d\n", octave);
204 pk->pm->midi_octave = octave;
210 static DEVICE_ATTR(octave, S_IRUGO | S_IWUGO, show_octave,
322 /*KEY_MAIL or octave down*/
324 /* octave down */
328 dbg_hid("pcmidi mode: %d octave: %d\n",
424 case 0x100000: /* KEY_MESSENGER or octave up */
430 dbg_hid("pcmidi mode: %d octave: %d\n",
685 pk_error("failed to create sysfs attribute octave: error %d\n",