/linux-2.6.39/sound/core/seq/oss/ |
D | seq_oss_event.c | 40 static int note_on_event(struct seq_oss_devinfo *dp, int dev, int ch, int note, int vel, struct snd… 41 static int note_off_event(struct seq_oss_devinfo *dp, int dev, int ch, int note, int vel, struct sn… 42 static int set_note_event(struct seq_oss_devinfo *dp, int dev, int type, int ch, int note, int vel,… 111 return note_off_event(dp, 0, q->n.chn, q->n.note, q->n.vel, ev); in old_event() 114 return note_on_event(dp, 0, q->n.chn, q->n.note, q->n.vel, ev); in old_event() 286 note_on_event(struct seq_oss_devinfo *dp, int dev, int ch, int note, int vel, struct snd_seq_event … in note_on_event() argument 293 return set_note_event(dp, dev, SNDRV_SEQ_EVENT_NOTEON, ch, note, vel, ev); in note_on_event() 303 if (info->ch[ch].vel) in note_on_event() 309 info->ch[ch].vel = vel; in note_on_event() 310 return set_note_event(dp, dev, type, ch, info->ch[ch].note, vel, ev); in note_on_event() [all …]
|
D | seq_oss_event.h | 44 unsigned char vel; member
|
D | seq_oss_device.h | 65 int note, vel; member
|
D | seq_oss_synth.c | 391 info->ch[i].vel = 0; in reset_channels()
|
/linux-2.6.39/sound/drivers/opl3/ |
D | opl3_voice.h | 31 void snd_opl3_note_on(void *p, int note, int vel, struct snd_midi_channel *chan); 32 void snd_opl3_note_off(void *p, int note, int vel, struct snd_midi_channel *chan); 33 void snd_opl3_key_press(void *p, int note, int vel, struct snd_midi_channel *chan); 39 void snd_opl3_calc_volume(unsigned char *reg, int vel, struct snd_midi_channel *chan); 44 void snd_opl3_drum_switch(struct snd_opl3 *opl3, int note, int on_off, int vel, struct snd_midi_cha…
|
D | opl3_midi.c | 32 static void snd_opl3_note_off_unsafe(void *p, int note, int vel, 64 void snd_opl3_calc_volume(unsigned char *volbyte, int vel, in snd_opl3_calc_volume() argument 70 volume = (vel * chan->gm_volume * chan->gm_expression) / (127*127); in snd_opl3_calc_volume() 295 void snd_opl3_note_on(void *p, int note, int vel, struct snd_midi_channel *chan) in snd_opl3_note_on() argument 327 chan->number, chan->midi_program, note, vel); in snd_opl3_note_on() 354 snd_opl3_drum_switch(opl3, note, vel, 1, chan); in snd_opl3_note_on() 455 snd_opl3_calc_volume(&vol_op[3], vel, chan); in snd_opl3_note_on() 458 snd_opl3_calc_volume(&vol_op[2], vel, chan); in snd_opl3_note_on() 461 snd_opl3_calc_volume(&vol_op[0], vel, chan); in snd_opl3_note_on() 464 snd_opl3_calc_volume(&vol_op[1], vel, chan); in snd_opl3_note_on() [all …]
|
D | opl3_drums.c | 138 int vel, struct snd_midi_channel *chan) in snd_opl3_drum_vol_set() argument 147 snd_opl3_calc_volume(®_val, vel, chan); in snd_opl3_drum_vol_set() 185 void snd_opl3_drum_switch(struct snd_opl3 *opl3, int note, int vel, int on_off, in snd_opl3_drum_switch() argument 219 snd_opl3_drum_vol_set(opl3, drum_voice, vel, chan); in snd_opl3_drum_switch()
|
/linux-2.6.39/drivers/staging/iio/resolver/ |
D | ad2s120x.c | 51 s16 vel; in ad2s120x_show_pos_vel() local 91 vel = (st->rx[0] & 0x80) ? 0xf000 : 0; in ad2s120x_show_pos_vel() 92 vel |= (((s16)(st->rx[0])) << 4) | ((st->rx[1] & 0xF0) >> 4); in ad2s120x_show_pos_vel() 93 len += sprintf(buf + len, "%d %c%c%c%c\n", vel, in ad2s120x_show_pos_vel() 157 s16 vel; in ad2s120x_show_vel() local 181 vel = (st->rx[0] & 0x80) ? 0xf000 : 0; in ad2s120x_show_vel() 182 vel |= (((s16)(st->rx[0])) << 4) | ((st->rx[1] & 0xF0) >> 4); in ad2s120x_show_vel() 183 len += sprintf(buf + len, "%d %c%c%c%c\n", vel, in ad2s120x_show_vel() 201 static IIO_DEVICE_ATTR(vel, S_IRUGO, ad2s120x_show_vel, NULL, 0);
|
D | ad2s1210.c | 573 s16 vel; in ad2s1210_show_vel() local 591 vel = ((((s16)(st->rx[0])) << 8) | (st->rx[1])); in ad2s1210_show_vel() 592 vel >>= 16 - st->resolution; in ad2s1210_show_vel() 595 vel |= negative; in ad2s1210_show_vel() 597 len = sprintf(buf, "%d\n", vel); in ad2s1210_show_vel() 615 s16 vel; in ad2s1210_show_pos_vel() local 645 vel = ((((s16)(st->rx[0])) << 8) | (st->rx[1])); in ad2s1210_show_pos_vel() 646 vel >>= 16 - st->resolution; in ad2s1210_show_pos_vel() 649 vel |= negative; in ad2s1210_show_pos_vel() 651 len += sprintf(buf + len, "%d\n", vel); in ad2s1210_show_pos_vel() [all …]
|
/linux-2.6.39/sound/synth/emux/ |
D | emux_voice.h | 47 void snd_emux_note_on(void *p, int note, int vel, struct snd_midi_channel *chan); 48 void snd_emux_note_off(void *p, int note, int vel, struct snd_midi_channel *chan); 49 void snd_emux_key_press(void *p, int note, int vel, struct snd_midi_channel *chan);
|
D | emux_synth.c | 40 int *notep, int vel, struct snd_midi_channel *chan, 59 snd_emux_note_on(void *p, int note, int vel, struct snd_midi_channel *chan) in snd_emux_note_on() argument 77 nvoices = get_zone(emu, port, ¬e, vel, chan, table); in snd_emux_note_on() 113 vp->velocity = vel; in snd_emux_note_on() 158 snd_emux_note_off(void *p, int note, int vel, struct snd_midi_channel *chan) in snd_emux_note_off() argument 237 snd_emux_key_press(void *p, int note, int vel, struct snd_midi_channel *chan) in snd_emux_key_press() argument 258 vp->velocity = vel; in snd_emux_key_press() 905 int *notep, int vel, struct snd_midi_channel *chan, in get_zone() argument 921 return snd_soundfont_search_zone(emu->sflist, notep, vel, preset, bank, in get_zone()
|
D | soundfont.c | 67 static int search_zones(struct snd_sf_list *sflist, int *notep, int vel, 1230 snd_soundfont_search_zone(struct snd_sf_list *sflist, int *notep, int vel, in snd_soundfont_search_zone() argument 1247 nvoices = search_zones(sflist, notep, vel, preset, bank, in snd_soundfont_search_zone() 1251 nvoices = search_zones(sflist, notep, vel, in snd_soundfont_search_zone() 1283 search_zones(struct snd_sf_list *sflist, int *notep, int vel, in search_zones() argument 1294 vel >= zp->v.vellow && vel <= zp->v.velhigh) { in search_zones() 1305 nvoices = search_zones(sflist, &key, vel, in search_zones()
|
/linux-2.6.39/include/sound/ |
D | seq_midi_emul.h | 83 void (*note_on)(void *private_data, int note, int vel, struct snd_midi_channel *chan); 84 …void (*note_off)(void *private_data,int note, int vel, struct snd_midi_channel *chan); /* release … 85 void (*key_press)(void *private_data, int note, int vel, struct snd_midi_channel *chan);
|
D | soundfont.h | 115 int snd_soundfont_search_zone(struct snd_sf_list *sflist, int *notep, int vel,
|
/linux-2.6.39/sound/drivers/opl4/ |
D | opl4_local.h | 222 void snd_opl4_note_on(void *p, int note, int vel, struct snd_midi_channel *chan); 223 void snd_opl4_note_off(void *p, int note, int vel, struct snd_midi_channel *chan);
|
D | opl4_synth.c | 482 void snd_opl4_note_on(void *private_data, int note, int vel, struct snd_midi_channel *chan) in snd_opl4_note_on() argument 511 voice[i]->velocity = vel & 0x7f; in snd_opl4_note_on() 565 void snd_opl4_note_off(void *private_data, int note, int vel, struct snd_midi_channel *chan) in snd_opl4_note_off() argument
|
/linux-2.6.39/sound/core/seq/ |
D | seq_midi_emul.c | 48 int note, int vel); 245 int note, int vel) in note_off() argument 257 ops->note_off(drv, note, vel, chan); in note_off()
|