/kernel/linux/linux-5.10/drivers/hid/ |
H A D | hid-prodikeys.c | 48 unsigned char velocity; member 214 unsigned char status, unsigned char note, unsigned char velocity) in pcmidi_send_note() 221 buffer[2] = velocity; in pcmidi_send_note() 242 pcmidi_send_note(pms->pm, pms->status, pms->note, pms->velocity); in pcmidi_sustained_note_release() 340 unsigned char status, note, velocity; in pcmidi_handle_report3() local 345 velocity = data[j*2+2]; in pcmidi_handle_report3() 351 if (0 == velocity) in pcmidi_handle_report3() 352 velocity = 1; /* force note on */ in pcmidi_handle_report3() 364 pms->velocity = velocity; in pcmidi_handle_report3() 213 pcmidi_send_note(struct pcmidi_snd *pm, unsigned char status, unsigned char note, unsigned char velocity) pcmidi_send_note() argument [all...] |
/kernel/linux/linux-6.6/drivers/hid/ |
H A D | hid-prodikeys.c | 48 unsigned char velocity; member 214 unsigned char status, unsigned char note, unsigned char velocity) in pcmidi_send_note() 221 buffer[2] = velocity; in pcmidi_send_note() 242 pcmidi_send_note(pms->pm, pms->status, pms->note, pms->velocity); in pcmidi_sustained_note_release() 340 unsigned char status, note, velocity; in pcmidi_handle_report3() local 345 velocity = data[j*2+2]; in pcmidi_handle_report3() 351 if (0 == velocity) in pcmidi_handle_report3() 352 velocity = 1; /* force note on */ in pcmidi_handle_report3() 364 pms->velocity = velocity; in pcmidi_handle_report3() 213 pcmidi_send_note(struct pcmidi_snd *pm, unsigned char status, unsigned char note, unsigned char velocity) pcmidi_send_note() argument [all...] |
/kernel/linux/linux-6.6/sound/core/seq/ |
H A D | seq_ump_convert.c | 87 ev->data.note.velocity = val->note.velocity; in ump_midi1_to_note_ev() 208 ev->data.note.velocity = downscale_16_to_7bit(val->note.velocity); in ump_midi2_to_note_ev() 209 /* correct note-on velocity 0 to 1; in ump_midi2_to_note_ev() 213 !ev->data.note.velocity) in ump_midi2_to_note_ev() 214 ev->data.note.velocity = 1; in ump_midi2_to_note_ev() 383 midi2->note.velocity = upscale_7_to_16bit(midi1->note.velocity); in cvt_ump_midi1_to_midi2() 435 midi1->note.velocity in cvt_ump_midi2_to_midi1() [all...] |
H A D | seq_midi_emul.c | 105 if (ev->type == SNDRV_SEQ_EVENT_NOTEON && ev->data.note.velocity == 0) in snd_midi_process_event() 124 ops->note_on(drv, ev->data.note.note, ev->data.note.velocity, chan); in snd_midi_process_event() 130 note_off(ops, drv, chan, ev->data.note.note, ev->data.note.velocity); in snd_midi_process_event() 134 ops->key_press(drv, ev->data.note.note, ev->data.note.velocity, chan); in snd_midi_process_event()
|
H A D | seq_midi_event.c | 249 ev->data.note.velocity = dev->buf[2]; in note_event() 351 buf[1] = ev->data.note.velocity & 0x7f; in note_decode()
|
/kernel/linux/linux-6.6/include/sound/ |
H A D | ump_msg.h | 136 u32 velocity:8; member 138 u32 velocity:8; 282 u32 velocity:16; member 294 u32 velocity:16;
|
H A D | emux_synth.h | 166 unsigned char velocity; /* Velocity of current note */ member
|
/kernel/linux/linux-5.10/sound/core/seq/ |
H A D | seq_midi_emul.c | 105 if (ev->type == SNDRV_SEQ_EVENT_NOTEON && ev->data.note.velocity == 0) in snd_midi_process_event() 124 ops->note_on(drv, ev->data.note.note, ev->data.note.velocity, chan); in snd_midi_process_event() 130 note_off(ops, drv, chan, ev->data.note.note, ev->data.note.velocity); in snd_midi_process_event() 134 ops->key_press(drv, ev->data.note.note, ev->data.note.velocity, chan); in snd_midi_process_event()
|
H A D | seq_midi_event.c | 249 ev->data.note.velocity = dev->buf[2]; in note_event() 351 buf[1] = ev->data.note.velocity & 0x7f; in note_decode()
|
/kernel/linux/linux-5.10/sound/synth/emux/ |
H A D | emux_synth.c | 100 vp->velocity = vel; in snd_emux_note_on() 243 vp->velocity = vel; in snd_emux_key_press() 748 LIMITMAX(vp->velocity, 127); in calc_volume() 753 vol = (vp->velocity * main_vol * expression_vol) / (127*127); in calc_volume() 765 vol = voltab1[main_vol] + voltab2[vp->velocity]; in calc_volume() 791 if (vp->velocity < 70) in calc_volume() 794 atten = vp->velocity; in calc_volume() 885 /* Look for the zones matching with the given note and velocity.
|
/kernel/linux/linux-6.6/sound/synth/emux/ |
H A D | emux_synth.c | 100 vp->velocity = vel; in snd_emux_note_on() 243 vp->velocity = vel; in snd_emux_key_press() 748 LIMITMAX(vp->velocity, 127); in calc_volume() 753 vol = (vp->velocity * main_vol * expression_vol) / (127*127); in calc_volume() 765 vol = voltab1[main_vol] + voltab2[vp->velocity]; in calc_volume() 791 if (vp->velocity < 70) in calc_volume() 794 atten = vp->velocity; in calc_volume() 886 /* Look for the zones matching with the given note and velocity.
|
/kernel/linux/linux-5.10/sound/drivers/opl4/ |
H A D | opl4_local.h | 164 int velocity; member
|
H A D | opl4_synth.c | 377 att += snd_opl4_volume_table[voice->velocity]; in snd_opl4_update_volume() 510 voice[i]->velocity = vel & 0x7f; in snd_opl4_note_on()
|
/kernel/linux/linux-5.10/include/sound/ |
H A D | emux_synth.h | 166 unsigned char velocity; /* Velocity of current note */ member
|
/kernel/linux/linux-6.6/sound/drivers/opl4/ |
H A D | opl4_local.h | 164 int velocity; member
|
H A D | opl4_synth.c | 377 att += snd_opl4_volume_table[voice->velocity]; in snd_opl4_update_volume() 510 voice[i]->velocity = vel & 0x7f; in snd_opl4_note_on()
|
/kernel/linux/linux-6.6/sound/core/ |
H A D | ump_convert.c | 114 buf[2] = downscale_16_to_7bit(midi2->note.velocity); in cvt_ump_midi2_to_legacy() 339 /* special handling: treat note-on with 0 velocity as note-off */ in cvt_legacy_cmd_to_ump() 352 midi2->note.velocity = upscale_7_to_16bit(buf[2]); in cvt_legacy_cmd_to_ump()
|
/kernel/linux/linux-5.10/include/uapi/sound/ |
H A D | asequencer.h | 198 unsigned char velocity; member
|
/kernel/linux/linux-6.6/include/uapi/sound/ |
H A D | asequencer.h | 183 unsigned char velocity; member
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/sound/ |
H A D | asequencer.h | 103 unsigned char velocity; member
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/sound/ |
H A D | asequencer.h | 112 unsigned char velocity; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/sound/ |
H A D | asequencer.h | 112 unsigned char velocity; member
|
/kernel/linux/linux-5.10/sound/core/seq/oss/ |
H A D | seq_oss_event.c | 314 if (vel) /* non-zero velocity - start the note now */ in note_on_event() 381 ev->data.note.velocity = vel; in set_note_event()
|
H A D | seq_oss_midi.c | 578 ossev.v.parm = ev->data.note.velocity; in send_synth_event()
|
/kernel/linux/linux-6.6/sound/core/seq/oss/ |
H A D | seq_oss_event.c | 314 if (vel) /* non-zero velocity - start the note now */ in note_on_event() 381 ev->data.note.velocity = vel; in set_note_event()
|