Searched refs:velocity (Results 1 - 18 of 18) sorted by relevance

/linux-master/drivers/net/ethernet/via/
H A DMakefile7 obj-$(CONFIG_VIA_VELOCITY) += via-velocity.o
/linux-master/drivers/hid/
H A Dhid-prodikeys.c41 unsigned char velocity; member in struct:pcmidi_sustain
204 unsigned char status, unsigned char note, unsigned char velocity)
211 buffer[2] = velocity;
232 pcmidi_send_note(pms->pm, pms->status, pms->note, pms->velocity);
330 unsigned char status, note, velocity; local
335 velocity = data[j*2+2];
341 if (0 == velocity)
342 velocity = 1; /* force note on */
354 pms->velocity = velocity;
203 pcmidi_send_note(struct pcmidi_snd *pm, unsigned char status, unsigned char note, unsigned char velocity) argument
[all...]
/linux-master/sound/core/seq/
H A Dseq_ump_convert.c87 ev->data.note.velocity = val->note.velocity;
208 ev->data.note.velocity = downscale_16_to_7bit(val->note.velocity);
209 /* correct note-on velocity 0 to 1;
213 !ev->data.note.velocity)
214 ev->data.note.velocity = 1;
383 midi2->note.velocity = upscale_7_to_16bit(midi1->note.velocity);
435 midi1->note.velocity
[all...]
H A Dseq_midi_emul.c105 if (ev->type == SNDRV_SEQ_EVENT_NOTEON && ev->data.note.velocity == 0)
124 ops->note_on(drv, ev->data.note.note, ev->data.note.velocity, chan);
130 note_off(ops, drv, chan, ev->data.note.note, ev->data.note.velocity);
134 ops->key_press(drv, ev->data.note.note, ev->data.note.velocity, chan);
H A Dseq_midi_event.c241 ev->data.note.velocity = dev->buf[2];
343 buf[1] = ev->data.note.velocity & 0x7f;
H A Dseq_clientmgr.c882 ev->data.note.velocity = ev->data.note.off_velocity;
/linux-master/sound/drivers/opl4/
H A Dopl4_local.h164 int velocity; member in struct:opl4_voice
H A Dopl4_synth.c377 att += snd_opl4_volume_table[voice->velocity];
510 voice[i]->velocity = vel & 0x7f;
/linux-master/include/sound/
H A Dump_msg.h136 u32 velocity:8; member in struct:snd_ump_midi1_msg_note
138 u32 velocity:8;
282 u32 velocity:16; member in struct:snd_ump_midi2_msg_note
294 u32 velocity:16;
H A Demux_synth.h166 unsigned char velocity; /* Velocity of current note */ member in struct:snd_emux_voice
/linux-master/sound/synth/emux/
H A Demux_synth.c100 vp->velocity = vel;
243 vp->velocity = vel;
748 LIMITMAX(vp->velocity, 127);
753 vol = (vp->velocity * main_vol * expression_vol) / (127*127);
765 vol = voltab1[main_vol] + voltab2[vp->velocity];
791 if (vp->velocity < 70)
794 atten = vp->velocity;
886 /* Look for the zones matching with the given note and velocity.
/linux-master/sound/core/
H A Dump_convert.c114 buf[2] = downscale_16_to_7bit(midi2->note.velocity);
339 /* special handling: treat note-on with 0 velocity as note-off */
352 midi2->note.velocity = upscale_7_to_16bit(buf[2]);
/linux-master/include/uapi/sound/
H A Dasequencer.h183 unsigned char velocity; member in struct:snd_seq_ev_note
/linux-master/sound/core/seq/oss/
H A Dseq_oss_event.c314 if (vel) /* non-zero velocity - start the note now */
381 ev->data.note.velocity = vel;
H A Dseq_oss_midi.c582 ossev.v.parm = ev->data.note.velocity;
/linux-master/sound/pci/asihpi/
H A Dhpi_internal.h720 u16 velocity; member in union:hpi_stream_msg::__anon4097
H A Dhpi.h1234 u16 hpi_outstream_set_velocity(u32 h_outstream, short velocity);
H A Dhpifunc.c621 u16 hpi_outstream_set_velocity(u32 h_outstream, short velocity) argument
630 hm.u.d.u.velocity = velocity;

Completed in 216 milliseconds