Home
last modified time | relevance | path

Searched refs:note (Results 1 – 25 of 324) sorted by relevance

12345678910>>...13

/linux-2.6.39/sound/core/seq/
Dseq_midi_emul.c48 int note, int vel);
98 dest_channel = ev->data.note.channel; in snd_midi_process_event()
115 if (ev->type == SNDRV_SEQ_EVENT_NOTEON && ev->data.note.velocity == 0) in snd_midi_process_event()
122 if (ev->data.note.note >= 128) in snd_midi_process_event()
128 if (chan->note[ev->data.note.note] & SNDRV_MIDI_NOTE_ON) { in snd_midi_process_event()
130 ops->note_off(drv, ev->data.note.note, 0, chan); in snd_midi_process_event()
132 chan->note[ev->data.note.note] = SNDRV_MIDI_NOTE_ON; in snd_midi_process_event()
134 ops->note_on(drv, ev->data.note.note, ev->data.note.velocity, chan); in snd_midi_process_event()
137 if (! (chan->note[ev->data.note.note] & SNDRV_MIDI_NOTE_ON)) in snd_midi_process_event()
140 note_off(ops, drv, chan, ev->data.note.note, ev->data.note.velocity); in snd_midi_process_event()
[all …]
/linux-2.6.39/sound/core/seq/oss/
Dseq_oss_event.c40 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()
122 q->n.chn, 0, q->n.note, ev); in old_event()
193 return note_on_event(dp, q->v.dev, q->v.chn, q->v.note, q->v.parm, ev); in chn_voice_event()
196 return note_off_event(dp, q->v.dev, q->v.chn, q->v.note, q->v.parm, ev); in chn_voice_event()
200 q->v.chn, q->v.note, q->v.parm, ev); in chn_voice_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
[all …]
/linux-2.6.39/sound/drivers/opl3/
Dopl3_midi.c32 static void snd_opl3_note_off_unsafe(void *p, int note, int vel,
98 int note, struct snd_midi_channel *chan) in snd_opl3_calc_pitch() argument
100 int block = ((note / 12) & 0x07) - 1; in snd_opl3_calc_pitch()
101 int idx = (note % 12) + 2; in snd_opl3_calc_pitch()
252 snd_opl3_note_off_unsafe(opl3, vp->note, 0, in snd_opl3_timer_func()
295 void snd_opl3_note_on(void *p, int note, int vel, struct snd_midi_channel *chan) in snd_opl3_note_on() argument
315 int key = note; in snd_opl3_note_on()
327 chan->number, chan->midi_program, note, vel); in snd_opl3_note_on()
336 prg = note; in snd_opl3_note_on()
354 snd_opl3_drum_switch(opl3, note, vel, 1, chan); in snd_opl3_note_on()
[all …]
Dopl3_voice.h31 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);
34 void snd_opl3_terminate_note(void *p, int note, 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…
Dopl3_synth.c71 static int snd_opl3_play_note(struct snd_opl3 * opl3, struct snd_dm_fm_note * note);
124 struct snd_dm_fm_note note; in snd_opl3_ioctl() local
125 if (copy_from_user(&note, argp, sizeof(struct snd_dm_fm_note))) in snd_opl3_ioctl()
127 return snd_opl3_play_note(opl3, &note); in snd_opl3_ioctl()
399 static int snd_opl3_play_note(struct snd_opl3 * opl3, struct snd_dm_fm_note * note) in snd_opl3_play_note() argument
409 if (note->voice >= ((opl3->fm_mode == SNDRV_DM_FM_MODE_OPL3) ? in snd_opl3_play_note()
414 if (note->voice < MAX_OPL2_VOICES) { in snd_opl3_play_note()
417 voice_offset = note->voice; in snd_opl3_play_note()
421 voice_offset = note->voice - MAX_OPL2_VOICES; in snd_opl3_play_note()
425 reg_val = (unsigned char) note->fnum; in snd_opl3_play_note()
[all …]
/linux-2.6.39/sound/drivers/opl4/
Dopl4_synth.c312 static void snd_opl4_do_for_note(struct snd_opl4 *opl4, int note, struct snd_midi_channel *chan, in snd_opl4_do_for_note() argument
322 if (voice->chan == chan && voice->note == note) { in snd_opl4_do_for_note()
423 int note, pitch, octave; in snd_opl4_update_pitch() local
425 note = chan->drum_channel ? 60 : voice->note; in snd_opl4_update_pitch()
430 pitch = ((note - 60) << 7) * voice->sound->key_scaling / 100 + (60 << 7); in snd_opl4_update_pitch()
482 void snd_opl4_note_on(void *private_data, int note, int vel, struct snd_midi_channel *chan) in snd_opl4_note_on() argument
495 if (note >= regions->regions[i].key_min && in snd_opl4_note_on()
496 note <= regions->regions[i].key_max) { in snd_opl4_note_on()
510 voice[i]->note = note; 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
[all …]
Dopl4_local.h163 int note; member
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);
224 void snd_opl4_terminate_note(void *p, int note, struct snd_midi_channel *chan);
/linux-2.6.39/arch/alpha/kernel/
Dvmlinux.lds.S9 PHDRS { kernel PT_LOAD; note PT_NOTE; }
30 NOTES :kernel :note
66 .note 0 : {
67 *(.note)
/linux-2.6.39/arch/ia64/kernel/
Dcrash.c34 struct elf_note *note = (struct elf_note *)buf; in append_elf_note() local
35 note->n_namesz = strlen(name) + 1; in append_elf_note()
36 note->n_descsz = data_len; in append_elf_note()
37 note->n_type = type; in append_elf_note()
38 buf += (sizeof(*note) + 3)/4; in append_elf_note()
39 memcpy(buf, name, note->n_namesz); in append_elf_note()
40 buf += (note->n_namesz + 3)/4; in append_elf_note()
Dgate.lds.S24 .note : { *(.note*) } :readable :note
89 note PT_NOTE FLAGS(4); /* PF_R */
/linux-2.6.39/arch/x86/vdso/
Dvdso-layout.lds.S19 .note : { *(.note.*) } :text :note
62 note PT_NOTE FLAGS(4); /* PF_R */
/linux-2.6.39/arch/sh/kernel/vsyscall/
Dvsyscall.lds.S39 .note : { *(.note.*) } :text :note
67 note PT_NOTE FLAGS(4); /* PF_R */
/linux-2.6.39/sound/oss/
Dmidi_synth.c283 midi_synth_kill_note(int dev, int channel, int note, int velocity) in midi_synth_kill_note() argument
288 if (note < 0 || note > 127) in midi_synth_kill_note()
306 if (!prefix_cmd(orig_dev, note)) in midi_synth_kill_note()
309 midi_outc(orig_dev, note); in midi_synth_kill_note()
329 midi_outc(orig_dev, note); in midi_synth_kill_note()
340 midi_outc(orig_dev, note); in midi_synth_kill_note()
373 midi_synth_start_note(int dev, int channel, int note, int velocity) in midi_synth_start_note() argument
378 if (note < 0 || note > 127) in midi_synth_start_note()
396 if (!prefix_cmd(orig_dev, note)) in midi_synth_start_note()
398 midi_outc(orig_dev, note); in midi_synth_start_note()
[all …]
Dsequencer.c75 static int seq_queue(unsigned char *note, char nonblock);
329 static int seq_queue(unsigned char *note, char nonblock) in seq_queue() argument
354 memcpy(&queue[qtail * EV_SZ], note, EV_SZ); in seq_queue()
417 static int find_voice(int dev, int chn, int note) in find_voice() argument
422 key = (chn << 8) | (note + 1); in find_voice()
429 static int alloc_voice(int dev, int chn, int note) in alloc_voice() argument
434 key = (chn << 8) | (note + 1); in alloc_voice()
436 voice = synth_devs[dev]->alloc_voice(dev, chn, note, in alloc_voice()
449 #define note event_rec[4] in seq_chn_voice_event() macro
464 voice = find_voice(dev, chn, note); in seq_chn_voice_event()
[all …]
/linux-2.6.39/arch/s390/kernel/vdso32/
Dvdso32.lds.S23 .note : { *(.note.*) } :text :note
98 *(.note.GNU-stack)
118 note PT_NOTE FLAGS(4); /* PF_R */
/linux-2.6.39/arch/s390/kernel/vdso64/
Dvdso64.lds.S23 .note : { *(.note.*) } :text :note
98 *(.note.GNU-stack)
118 note PT_NOTE FLAGS(4); /* PF_R */
/linux-2.6.39/arch/powerpc/kernel/vdso32/
Dvdso32.lds.S23 .note : { *(.note.*) } :text :note
106 *(.note.GNU-stack)
125 note PT_NOTE FLAGS(4); /* PF_R */
/linux-2.6.39/arch/powerpc/kernel/vdso64/
Dvdso64.lds.S23 .note : { *(.note.*) } :text :note
105 *(.note.GNU-stack)
125 note PT_NOTE FLAGS(4); /* PF_R */
/linux-2.6.39/include/sound/
Dseq_midi_emul.h50 unsigned char note[128]; /* Current status for all notes */ member
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);
86 …void (*note_terminate)(void *private_data, int note, struct snd_midi_channel *chan); /* terminate …
/linux-2.6.39/sound/synth/emux/
Demux_voice.h47 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);
50 void snd_emux_terminate_note(void *p, int note, struct snd_midi_channel *chan);
Demux_synth.c43 static void terminate_note1(struct snd_emux *emu, int note,
59 snd_emux_note_on(void *p, int note, int vel, struct snd_midi_channel *chan) in snd_emux_note_on() argument
76 key = note; /* remember the original note */ in snd_emux_note_on()
77 nvoices = get_zone(emu, port, &note, vel, chan, table); in snd_emux_note_on()
112 vp->note = note; 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
178 vp->chan == chan && vp->key == note) { in snd_emux_note_off()
237 snd_emux_key_press(void *p, int note, int vel, struct snd_midi_channel *chan) in snd_emux_key_press() argument
257 vp->chan == chan && vp->key == note) { in snd_emux_key_press()
379 terminate_note1(struct snd_emux *emu, int note, struct snd_midi_channel *chan, int free) in terminate_note1() argument
[all …]
/linux-2.6.39/drivers/hid/
Dhid-prodikeys.c54 unsigned char note; member
221 unsigned char status, unsigned char note, unsigned char velocity) in pcmidi_send_note() argument
227 buffer[1] = note; in pcmidi_send_note()
249 pcmidi_send_note(pms->pm, pms->status, pms->note, pms->velocity); in pcmidi_sustained_note_release()
348 unsigned char status, note, velocity; in pcmidi_handle_report3() local
352 note = data[j*2+1]; in pcmidi_handle_report3()
355 if (note < 0x81) { /* note on */ in pcmidi_handle_report3()
357 note = note - 0x54 + PCMIDI_MIDDLE_C + in pcmidi_handle_report3()
363 note = note - 0x94 + PCMIDI_MIDDLE_C + in pcmidi_handle_report3()
371 pms->note = note; in pcmidi_handle_report3()
[all …]
/linux-2.6.39/arch/frv/boot/
DMakefile35 $(OBJCOPY) -O binary -R .note -R .comment -S vmlinux $@
43 $(OBJCOPY) -O binary -R .note -R .comment -S compressed/$(LINUX) $@
46 $(OBJCOPY) -O binary -R .note -R .comment -S bootp/bootp $@
/linux-2.6.39/arch/ia64/scripts/
Dcheck-segrel.lds4 .note : { *(.note*) }
/linux-2.6.39/drivers/pci/hotplug/
Dacpiphp_ibm.c267 struct notification *note = context; in ibm_handle_events() local
273 acpi_bus_generate_proc_event(note->device, note->event, detail); in ibm_handle_events()
274 acpi_bus_generate_netlink_event(note->device->pnp.device_class, in ibm_handle_events()
275 dev_name(&note->device->dev), in ibm_handle_events()
276 note->event, detail); in ibm_handle_events()
278 note->event = event; in ibm_handle_events()

12345678910>>...13