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

/linux-4.1.27/sound/oss/
H A Dmidi_synth.c283 midi_synth_kill_note(int dev, int channel, int note, int velocity) midi_synth_kill_note() argument
292 if (velocity < 0) midi_synth_kill_note()
293 velocity = 0; midi_synth_kill_note()
294 if (velocity > 127) midi_synth_kill_note()
295 velocity = 127; midi_synth_kill_note()
302 if (chn == channel && ((msg == 0x90 && velocity == 64) || msg == 0x80)) midi_synth_kill_note()
315 * Note on with velocity 0 == note midi_synth_kill_note()
319 midi_outc(orig_dev, velocity); midi_synth_kill_note()
322 if (velocity == 64) midi_synth_kill_note()
341 midi_outc(orig_dev, velocity); midi_synth_kill_note()
373 midi_synth_start_note(int dev, int channel, int note, int velocity) midi_synth_start_note() argument
382 if (velocity < 0) midi_synth_start_note()
383 velocity = 0; midi_synth_start_note()
384 if (velocity > 127) midi_synth_start_note()
385 velocity = 127; midi_synth_start_note()
399 midi_outc(orig_dev, velocity); midi_synth_start_note()
408 midi_outc(orig_dev, velocity); midi_synth_start_note()
H A Dmidi_synth.h3 int midi_synth_kill_note (int dev, int channel, int note, int velocity);
H A Ddev_table.h268 int (*kill_note) (int dev, int voice, int note, int velocity);
269 int (*start_note) (int dev, int voice, int note, int velocity);
H A Dopl3.c85 static int opl3_kill_note(int dev, int voice, int note, int velocity);
268 static int opl3_kill_note (int devno, int voice, int note, int velocity) opl3_kill_note() argument
/linux-4.1.27/drivers/net/ethernet/via/
H A Dvia-velocity.c85 #include "via-velocity.h"
107 * @regs: register block for this velocity
135 * @regs: register block for this velocity
178 * @regs: register block of this velocity
233 * @regs: register block of this velocity
396 { .compatible = "via,velocity-vt6110", .data = &chip_info_table[0] },
505 * @vptr: velocity to program
566 * @vptr: velocity we are resetting
593 * @vptr: velocity adapter
629 * @regs: velocity registers
648 * @regs: velocity registers
678 * @regs: velocity registers
713 * @regs: velocity registers
756 * @regs: velocity registers
795 * @vptr: velocity interface
830 * @vptr: velocity
881 * PHY and also velocity hardware setup accordingly. In particular
998 * @vptr: velocity to report on
1000 * Turn the link status of the velocity card into a kernel log
1101 * @vptr: velocity to reset
1103 * Kick off a soft reset of the velocity adapter and then poll
1133 * for a velocity adapter. Reload the CAMs with the new address
1180 * @vptr: velocity adapter
1285 * @vptr velocity adapter
1287 * The velocity is able to suppress interrupt during high interrupt load.
1322 * @vptr: velocity to init
1524 * @vptr: velocity
1591 * @vptr: velocity to clean up
1625 * @vptr: velocity to configure
1655 * @vptr: velocity
1686 * Clean up the PCI ring buffers allocated to this velocity.
1725 * @vptr: velocity
1785 * @vptr: velocity
1787 * Free up the transmit ring for this particular velocity adapter.
1814 * @vptr: velocity
2026 * @vptr: velocity we are handling
2044 * @vptr: velocity we are handling
2113 * @vptr: velocity
2115 * Walk the receive ring of the velocity adapter and remove
2197 * Called whenever an interrupt is generated by the velocity
2278 * @vptr: velocity to deactivate
2280 * Shuts down the internal operations of the velocity and
2444 * device in question. The velocity interface supports MII.
2480 * case of the velocity we need to pull the MIB counters from
2520 * Callback from the network layer when the velocity is being
2548 * the velocity. Returns zero on success.
2687 * @vptr: velocity device
2724 * @vptr: velocity device
2755 * @vptr: velocity
2777 * velocity_probe - set up discovered velocity device
3035 * @vptr: velocity to set WOL status on
3129 * @vptr: velocity
3132 * Retrieve the current configuration from the velocity hardware
3191 * @vptr: velocity
3194 * Reload the register configuration from the velocity context
3283 .name = "via-velocity",
3725 * Called when the velocity module is loaded. The PCI driver
3727 * the probe functions for each velocity adapter installed
3751 * When the velocity hardware is unloaded this function is called.
H A Dvia-velocity.h15 * File: via-velocity.h
30 #define VELOCITY_NAME "via-velocity"
1533 * @vptr: velocity to update
1535 * The velocity hardware keeps certain counters in the hardware
1559 * @vptr: velocity to configure
1561 * Configure the flow control registers for this velocity device.
/linux-4.1.27/drivers/hid/
H A Dhid-prodikeys.c52 unsigned char velocity; member in struct:pcmidi_sustain
218 unsigned char status, unsigned char note, unsigned char velocity) pcmidi_send_note()
225 buffer[2] = velocity; pcmidi_send_note()
246 pcmidi_send_note(pms->pm, pms->status, pms->note, pms->velocity); pcmidi_sustained_note_release()
345 unsigned char status, note, velocity; pcmidi_handle_report3() local
350 velocity = data[j*2+2]; pcmidi_handle_report3()
356 if (0 == velocity) pcmidi_handle_report3()
357 velocity = 1; /* force note on */ pcmidi_handle_report3()
369 pms->velocity = velocity; pcmidi_handle_report3()
380 pcmidi_send_note(pm, status, note, velocity); pcmidi_handle_report3()
217 pcmidi_send_note(struct pcmidi_snd *pm, unsigned char status, unsigned char note, unsigned char velocity) pcmidi_send_note() argument
/linux-4.1.27/include/sound/
H A Dseq_oss.h71 #define SNDRV_SEQ_OSS_PROCESS_EVENTS 0 /* key == 255 is processed as velocity change */
H A Demux_synth.h181 unsigned char velocity; /* Velocity of current note */ member in struct:snd_emux_voice
/linux-4.1.27/include/uapi/sound/
H A Dsfnt_info.h131 unsigned char vellow, velhigh; /* velocity range */
132 signed char fixkey, fixvel; /* fixed key, velocity */
H A Dasequencer.h197 unsigned char velocity; member in struct:snd_seq_ev_note
/linux-4.1.27/sound/synth/emux/
H A Demux_synth.c114 vp->velocity = vel; snd_emux_note_on()
257 vp->velocity = vel; snd_emux_key_press()
762 LIMITMAX(vp->velocity, 127); calc_volume()
767 vol = (vp->velocity * main_vol * expression_vol) / (127*127); calc_volume()
779 vol = voltab1[main_vol] + voltab2[vp->velocity]; calc_volume()
805 if (vp->velocity < 70) calc_volume()
808 atten = vp->velocity; calc_volume()
899 /* Look for the zones matching with the given note and velocity.
/linux-4.1.27/sound/core/seq/
H A Dseq_midi_emul.c116 if (ev->type == SNDRV_SEQ_EVENT_NOTEON && ev->data.note.velocity == 0) snd_midi_process_event()
135 ops->note_on(drv, ev->data.note.note, ev->data.note.velocity, chan); snd_midi_process_event()
141 note_off(ops, drv, chan, ev->data.note.note, ev->data.note.velocity); snd_midi_process_event()
145 ops->key_press(drv, ev->data.note.note, ev->data.note.velocity, chan); snd_midi_process_event()
H A Dseq_midi_event.c316 ev->data.note.velocity = dev->buf[2]; note_event()
417 buf[1] = ev->data.note.velocity & 0x7f; note_decode()
H A Dseq_clientmgr.c894 ev->data.note.velocity = ev->data.note.off_velocity; snd_seq_dispatch_event()
/linux-4.1.27/sound/core/seq/oss/
H A Dseq_oss_event.c325 if (vel) /* non-zero velocity - start the note now */ note_on_event()
391 ev->data.note.velocity = vel; set_note_event()
H A Dseq_oss_midi.c578 ossev.v.parm = ev->data.note.velocity; send_synth_event()
H A Dseq_oss_synth.c379 * reset note and velocity on each channel.
/linux-4.1.27/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]; snd_opl4_update_volume()
510 voice[i]->velocity = vel & 0x7f; snd_opl4_note_on()
/linux-4.1.27/sound/pci/asihpi/
H A Dhpifunc.c620 u16 hpi_outstream_set_velocity(u32 h_outstream, short velocity) hpi_outstream_set_velocity() argument
629 hm.u.d.u.velocity = velocity; hpi_outstream_set_velocity()
H A Dhpi_internal.h731 u16 velocity; member in union:hpi_stream_msg::__anon14402
H A Dhpi.h1258 u16 hpi_outstream_set_velocity(u32 h_outstream, short velocity);
/linux-4.1.27/drivers/iio/
H A Dindustrialio-core.c77 [IIO_VELOCITY] = "velocity",

Completed in 640 milliseconds