Home
last modified time | relevance | path

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

12345678910>>...31

/Linux-v5.15/sound/core/seq/
Dseq_midi_emul.c35 int note, int vel);
88 dest_channel = ev->data.note.channel; in snd_midi_process_event()
105 if (ev->type == SNDRV_SEQ_EVENT_NOTEON && ev->data.note.velocity == 0) in snd_midi_process_event()
112 if (ev->data.note.note >= 128) in snd_midi_process_event()
118 if (chan->note[ev->data.note.note] & SNDRV_MIDI_NOTE_ON) { in snd_midi_process_event()
120 ops->note_off(drv, ev->data.note.note, 0, chan); in snd_midi_process_event()
122 chan->note[ev->data.note.note] = SNDRV_MIDI_NOTE_ON; in snd_midi_process_event()
124 ops->note_on(drv, ev->data.note.note, ev->data.note.velocity, chan); in snd_midi_process_event()
127 if (! (chan->note[ev->data.note.note] & SNDRV_MIDI_NOTE_ON)) in snd_midi_process_event()
130 note_off(ops, drv, chan, ev->data.note.note, ev->data.note.velocity); in snd_midi_process_event()
[all …]
/Linux-v5.15/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.15/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.15/arch/arm64/kernel/vdso/
Dvdso.lds.S39 *(.note.GNU-stack .note.gnu.property)
41 .note : { *(.note.*) } :text :note
72 note PT_NOTE FLAGS(4); /* PF_R */
/Linux-v5.15/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()
235 snd_opl3_note_off_unsafe(opl3, vp->note, 0, in snd_opl3_timer_func()
275 void snd_opl3_note_on(void *p, int note, int vel, struct snd_midi_channel *chan) in snd_opl3_note_on() argument
295 int key = note; in snd_opl3_note_on()
307 chan->number, chan->midi_program, note, vel); in snd_opl3_note_on()
316 prg = note; in snd_opl3_note_on()
334 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);
115 struct snd_dm_fm_note note; in snd_opl3_ioctl() local
116 if (copy_from_user(&note, argp, sizeof(struct snd_dm_fm_note))) in snd_opl3_ioctl()
118 return snd_opl3_play_note(opl3, &note); in snd_opl3_ioctl()
390 static int snd_opl3_play_note(struct snd_opl3 * opl3, struct snd_dm_fm_note * note) in snd_opl3_play_note() argument
400 if (note->voice >= ((opl3->fm_mode == SNDRV_DM_FM_MODE_OPL3) ? in snd_opl3_play_note()
405 if (note->voice < MAX_OPL2_VOICES) { in snd_opl3_play_note()
408 voice_offset = note->voice; in snd_opl3_play_note()
412 voice_offset = note->voice - MAX_OPL2_VOICES; in snd_opl3_play_note()
416 reg_val = (unsigned char) note->fnum; in snd_opl3_play_note()
[all …]
/Linux-v5.15/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.15/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.15/arch/arm/vdso/
Dvdso.lds.S34 .note : { *(.note.*) } :text :note
50 *(.note.GNU-stack)
64 note PT_NOTE FLAGS(4); /* PF_R */
/Linux-v5.15/arch/arm64/kernel/vdso32/
Dvdso.lds.S34 .note : { *(.note.*) } :text :note
46 *(.note.GNU-stack)
60 note PT_NOTE FLAGS(4); /* PF_R */
/Linux-v5.15/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.15/arch/mips/vdso/
Dvdso.lds.S43 .note : { *(.note.*) } :text :note
63 *(.note.GNU-stack)
87 note PT_NOTE FLAGS(4); /* PF_R */
/Linux-v5.15/arch/x86/entry/vdso/
Dvdso-layout.lds.S65 *(.note.gnu.property)
67 .note : { *(.note.*) } :text :note
110 note PT_NOTE FLAGS(4); /* PF_R */
/Linux-v5.15/arch/powerpc/kernel/vdso64/
Dvdso64.lds.S31 .note : { *(.note.*) } :text :note
85 *(.note.GNU-stack)
106 note PT_NOTE FLAGS(4); /* PF_R */
/Linux-v5.15/arch/powerpc/kernel/vdso32/
Dvdso32.lds.S31 .note : { *(.note.*) } :text :note
87 *(.note.GNU-stack)
107 note PT_NOTE FLAGS(4); /* PF_R */
/Linux-v5.15/arch/x86/um/vdso/
Dvdso-layout.lds.S20 .note : { *(.note.*) } :text :note
63 note PT_NOTE FLAGS(4); /* PF_R */
/Linux-v5.15/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.15/arch/csky/kernel/vdso/
Dvdso.lds.S20 .note : { *(.note.*) } :text :note
43 note PT_NOTE FLAGS(4); /* PF_R */
/Linux-v5.15/arch/sh/kernel/vsyscall/
Dvsyscall.lds.S40 .note : { *(.note.*) } :text :note
68 note PT_NOTE FLAGS(4); /* PF_R */
/Linux-v5.15/tools/perf/util/
Dprobe-file.c741 static unsigned long long sdt_note__get_addr(struct sdt_note *note) in sdt_note__get_addr() argument
743 return note->bit32 ? in sdt_note__get_addr()
744 (unsigned long long)note->addr.a32[SDT_NOTE_IDX_LOC] : in sdt_note__get_addr()
745 (unsigned long long)note->addr.a64[SDT_NOTE_IDX_LOC]; in sdt_note__get_addr()
748 static unsigned long long sdt_note__get_ref_ctr_offset(struct sdt_note *note) in sdt_note__get_ref_ctr_offset() argument
750 return note->bit32 ? in sdt_note__get_ref_ctr_offset()
751 (unsigned long long)note->addr.a32[SDT_NOTE_IDX_REFCTR] : in sdt_note__get_ref_ctr_offset()
752 (unsigned long long)note->addr.a64[SDT_NOTE_IDX_REFCTR]; in sdt_note__get_ref_ctr_offset()
824 static char *synthesize_sdt_probe_command(struct sdt_note *note, in synthesize_sdt_probe_command() argument
839 sdtgrp, note->name, pathname, in synthesize_sdt_probe_command()
[all …]
Dgenelf.c101 gen_build_id(struct buildid_note *note, in gen_build_id() argument
107 size_t sz = sizeof(note->build_id); in gen_build_id()
114 sret = read(fd, note->build_id, sz); in gen_build_id()
119 memset(note->build_id, 0, sz); in gen_build_id()
125 gen_build_id(struct buildid_note *note, in gen_build_id() argument
130 if (sizeof(note->build_id) < SHA_DIGEST_LENGTH) in gen_build_id()
133 SHA1(code, csize, (unsigned char *)note->build_id); in gen_build_id()
139 gen_build_id(struct buildid_note *note, unsigned long load_addr, const void *code, size_t csize) in gen_build_id() argument
143 if (sizeof(note->build_id) < 16) in gen_build_id()
149 MD5_Final((unsigned char *)note->build_id, &context); in gen_build_id()
/Linux-v5.15/arch/riscv/kernel/vdso/
Dvdso.lds.S23 .note : { *(.note.*) } :text :note
56 note PT_NOTE FLAGS(4); /* PF_R */
/Linux-v5.15/arch/sparc/vdso/
Dvdso-layout.lds.S63 .note : { *(.note.*) } :text :note
96 note PT_NOTE FLAGS(4); /* PF_R */
/Linux-v5.15/arch/s390/kernel/vdso32/
Dvdso32.lds.S30 .note : { *(.note.*) } :text :note
103 *(.note.GNU-stack)
123 note PT_NOTE FLAGS(4); /* PF_R */

12345678910>>...31