Home
last modified time | relevance | path

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

12345678910>>...26

/Linux-v5.4/sound/core/seq/
Dseq_midi_emul.c35 int note, int vel);
85 dest_channel = ev->data.note.channel; in snd_midi_process_event()
102 if (ev->type == SNDRV_SEQ_EVENT_NOTEON && ev->data.note.velocity == 0) in snd_midi_process_event()
109 if (ev->data.note.note >= 128) in snd_midi_process_event()
115 if (chan->note[ev->data.note.note] & SNDRV_MIDI_NOTE_ON) { in snd_midi_process_event()
117 ops->note_off(drv, ev->data.note.note, 0, chan); in snd_midi_process_event()
119 chan->note[ev->data.note.note] = SNDRV_MIDI_NOTE_ON; in snd_midi_process_event()
121 ops->note_on(drv, ev->data.note.note, ev->data.note.velocity, chan); in snd_midi_process_event()
124 if (! (chan->note[ev->data.note.note] & SNDRV_MIDI_NOTE_ON)) in snd_midi_process_event()
127 note_off(ops, drv, chan, ev->data.note.note, ev->data.note.velocity); in snd_midi_process_event()
[all …]
/Linux-v5.4/sound/core/seq/oss/
Dseq_oss_event.c28 static int note_on_event(struct seq_oss_devinfo *dp, int dev, int ch, int note, int vel, struct snd…
29 static int note_off_event(struct seq_oss_devinfo *dp, int dev, int ch, int note, int vel, struct sn…
30 static int set_note_event(struct seq_oss_devinfo *dp, int dev, int type, int ch, int note, int vel,…
99 return note_off_event(dp, 0, q->n.chn, q->n.note, q->n.vel, ev); in old_event()
102 return note_on_event(dp, 0, q->n.chn, q->n.note, q->n.vel, ev); in old_event()
110 q->n.chn, 0, q->n.note, ev); in old_event()
181 return note_on_event(dp, q->v.dev, q->v.chn, q->v.note, q->v.parm, ev); in chn_voice_event()
184 return note_off_event(dp, q->v.dev, q->v.chn, q->v.note, q->v.parm, ev); in chn_voice_event()
188 q->v.chn, q->v.note, q->v.parm, ev); in chn_voice_event()
274 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-v5.4/Documentation/ABI/testing/
Dsysfs-kernel-vmcoreinfo8 Shows physical address and size of vmcoreinfo ELF note.
9 First value contains physical address of note in hex and
10 second value contains the size of note in hex. This ELF
11 note info is parsed by second kernel and exported to user
12 space as part of ELF note in /proc/vmcore file. This note
/Linux-v5.4/sound/drivers/opl3/
Dopl3_midi.c14 static void snd_opl3_note_off_unsafe(void *p, int note, int vel,
80 int note, struct snd_midi_channel *chan) in snd_opl3_calc_pitch() argument
82 int block = ((note / 12) & 0x07) - 1; in snd_opl3_calc_pitch()
83 int idx = (note % 12) + 2; in snd_opl3_calc_pitch()
236 snd_opl3_note_off_unsafe(opl3, vp->note, 0, in snd_opl3_timer_func()
276 void snd_opl3_note_on(void *p, int note, int vel, struct snd_midi_channel *chan) in snd_opl3_note_on() argument
296 int key = note; in snd_opl3_note_on()
308 chan->number, chan->midi_program, note, vel); in snd_opl3_note_on()
317 prg = note; in snd_opl3_note_on()
335 snd_opl3_drum_switch(opl3, note, vel, 1, chan); in snd_opl3_note_on()
[all …]
Dopl3_voice.h18 void snd_opl3_note_on(void *p, int note, int vel, struct snd_midi_channel *chan);
19 void snd_opl3_note_off(void *p, int note, int vel, struct snd_midi_channel *chan);
20 void snd_opl3_key_press(void *p, int note, int vel, struct snd_midi_channel *chan);
21 void snd_opl3_terminate_note(void *p, int note, struct snd_midi_channel *chan);
31 void snd_opl3_drum_switch(struct snd_opl3 *opl3, int note, int vel, int on_off, struct snd_midi_cha…
Dopl3_synth.c60 static int snd_opl3_play_note(struct snd_opl3 * opl3, struct snd_dm_fm_note * note);
113 struct snd_dm_fm_note note; in snd_opl3_ioctl() local
114 if (copy_from_user(&note, argp, sizeof(struct snd_dm_fm_note))) in snd_opl3_ioctl()
116 return snd_opl3_play_note(opl3, &note); in snd_opl3_ioctl()
388 static int snd_opl3_play_note(struct snd_opl3 * opl3, struct snd_dm_fm_note * note) in snd_opl3_play_note() argument
398 if (note->voice >= ((opl3->fm_mode == SNDRV_DM_FM_MODE_OPL3) ? in snd_opl3_play_note()
403 if (note->voice < MAX_OPL2_VOICES) { in snd_opl3_play_note()
406 voice_offset = note->voice; in snd_opl3_play_note()
410 voice_offset = note->voice - MAX_OPL2_VOICES; in snd_opl3_play_note()
414 reg_val = (unsigned char) note->fnum; in snd_opl3_play_note()
[all …]
/Linux-v5.4/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()
509 voice[i]->note = note; in snd_opl4_note_on()
563 void snd_opl4_note_off(void *private_data, int note, int vel, struct snd_midi_channel *chan) in snd_opl4_note_off() argument
[all …]
/Linux-v5.4/arch/nds32/kernel/vdso/
Dvdso.lds.S25 .note : { *(.note.*) } :text :note
39 *(.note.GNU-stack)
53 note PT_NOTE FLAGS(4); /* PF_R */
/Linux-v5.4/arch/arm/vdso/
Dvdso.lds.S34 .note : { *(.note.*) } :text :note
50 *(.note.GNU-stack)
64 note PT_NOTE FLAGS(4); /* PF_R */
/Linux-v5.4/arch/arm64/kernel/vdso/
Dvdso.lds.S31 .note : { *(.note.*) } :text :note
51 *(.note.GNU-stack)
65 note PT_NOTE FLAGS(4); /* PF_R */
/Linux-v5.4/arch/arm64/kernel/vdso32/
Dvdso.lds.S31 .note : { *(.note.*) } :text :note
43 *(.note.GNU-stack)
57 note PT_NOTE FLAGS(4); /* PF_R */
/Linux-v5.4/arch/s390/kernel/
Dcrash_dump.c313 Elf64_Nhdr *note; in nt_init_name() local
316 note = (Elf64_Nhdr *)buf; in nt_init_name()
317 note->n_namesz = strlen(name) + 1; in nt_init_name()
318 note->n_descsz = d_len; in nt_init_name()
319 note->n_type = type; in nt_init_name()
322 memcpy(buf + len, name, note->n_namesz); in nt_init_name()
323 len = roundup(len + note->n_namesz, 4); in nt_init_name()
325 memcpy(buf + len, desc, note->n_descsz); in nt_init_name()
326 len = roundup(len + note->n_descsz, 4); in nt_init_name()
432 Elf64_Nhdr note; in get_vmcoreinfo_old() local
[all …]
/Linux-v5.4/arch/mips/vdso/
Dvdso.lds.S43 .note : { *(.note.*) } :text :note
63 *(.note.GNU-stack)
87 note PT_NOTE FLAGS(4); /* PF_R */
/Linux-v5.4/arch/alpha/kernel/
Dvmlinux.lds.S11 PHDRS { kernel PT_LOAD; note PT_NOTE; }
34 NOTES :kernel :note
71 .note 0 : {
72 *(.note)
/Linux-v5.4/tools/perf/util/
Dprobe-file.c689 static unsigned long long sdt_note__get_addr(struct sdt_note *note) in sdt_note__get_addr() argument
691 return note->bit32 ? in sdt_note__get_addr()
692 (unsigned long long)note->addr.a32[SDT_NOTE_IDX_LOC] : in sdt_note__get_addr()
693 (unsigned long long)note->addr.a64[SDT_NOTE_IDX_LOC]; in sdt_note__get_addr()
696 static unsigned long long sdt_note__get_ref_ctr_offset(struct sdt_note *note) in sdt_note__get_ref_ctr_offset() argument
698 return note->bit32 ? in sdt_note__get_ref_ctr_offset()
699 (unsigned long long)note->addr.a32[SDT_NOTE_IDX_REFCTR] : in sdt_note__get_ref_ctr_offset()
700 (unsigned long long)note->addr.a64[SDT_NOTE_IDX_REFCTR]; in sdt_note__get_ref_ctr_offset()
772 static char *synthesize_sdt_probe_command(struct sdt_note *note, in synthesize_sdt_probe_command() argument
785 sdtgrp, note->name, pathname, in synthesize_sdt_probe_command()
[all …]
/Linux-v5.4/arch/x86/um/vdso/
Dvdso-layout.lds.S20 .note : { *(.note.*) } :text :note
63 note PT_NOTE FLAGS(4); /* PF_R */
/Linux-v5.4/Documentation/networking/
Dmac80211-auth-assoc-deauth.txt20 note over mac80211,driver
23 end note
50 note over mac80211,driver: cleanup like for authenticate
61 note over mac80211: init rate control
73 note left of userspace: associated now
76 note over userspace
79 end note
/Linux-v5.4/arch/sh/kernel/vsyscall/
Dvsyscall.lds.S40 .note : { *(.note.*) } :text :note
68 note PT_NOTE FLAGS(4); /* PF_R */
/Linux-v5.4/arch/riscv/kernel/vdso/
Dvdso.lds.S20 .note : { *(.note.*) } :text :note
53 note PT_NOTE FLAGS(4); /* PF_R */
/Linux-v5.4/arch/sparc/vdso/
Dvdso-layout.lds.S63 .note : { *(.note.*) } :text :note
96 note PT_NOTE FLAGS(4); /* PF_R */
/Linux-v5.4/arch/x86/entry/vdso/
Dvdso-layout.lds.S55 .note : { *(.note.*) } :text :note
91 note PT_NOTE FLAGS(4); /* PF_R */
/Linux-v5.4/arch/s390/kernel/vdso32/
Dvdso32.lds.S26 .note : { *(.note.*) } :text :note
101 *(.note.GNU-stack)
121 note PT_NOTE FLAGS(4); /* PF_R */
/Linux-v5.4/arch/s390/kernel/vdso64/
Dvdso64.lds.S26 .note : { *(.note.*) } :text :note
101 *(.note.GNU-stack)
121 note PT_NOTE FLAGS(4); /* PF_R */
/Linux-v5.4/arch/powerpc/kernel/vdso32/
Dvdso32.lds.S28 .note : { *(.note.*) } :text :note
111 *(.note.GNU-stack)
130 note PT_NOTE FLAGS(4); /* PF_R */
/Linux-v5.4/arch/powerpc/kernel/vdso64/
Dvdso64.lds.S28 .note : { *(.note.*) } :text :note
110 *(.note.GNU-stack)
130 note PT_NOTE FLAGS(4); /* PF_R */

12345678910>>...26