Home
last modified time | relevance | path

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

12345678910>>...29

/linux/sound/core/seq/
H A 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 …]
H A Dseq_ump_convert.c85 ev->data.note.channel = val->note.channel; in ump_midi1_to_note_ev()
86 ev->data.note.note = val->note.note; in ump_midi1_to_note_ev()
87 ev->data.note.velocity = val->note.velocity; in ump_midi1_to_note_ev()
136 unsigned char status = val->note.status; in cvt_ump_midi1_to_event()
206 ev->data.note.channel = val->note.channel; in ump_midi2_to_note_ev()
207 ev->data.note.note = val->note.note; in ump_midi2_to_note_ev()
208 ev->data.note.velocity = downscale_16_to_7bit(val->note.velocity); in ump_midi2_to_note_ev()
213 !ev->data.note.velocity) in ump_midi2_to_note_ev()
214 ev->data.note.velocity = 1; in ump_midi2_to_note_ev()
306 unsigned char status = val->note.status; in cvt_ump_midi2_to_event()
[all …]
/linux/Documentation/ABI/testing/
H A 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/tools/testing/selftests/bpf/
H A Duprobe_multi.ld4 .note.gnu.build-id : { *(.note.gnu.build-id) }
9 build_id_start = ADDR(.note.gnu.build-id);
10 build_id_end = ADDR(.note.gnu.build-id) + SIZEOF(.note.gnu.build-id);
/linux/arch/arm64/kernel/vdso/
H A Dvdso.lds.S40 *(.note.GNU-stack .note.gnu.property)
43 .note : { *(.note.*) } :text :note
92 note PT_NOTE FLAGS(4); /* PF_R */
/linux/arch/s390/kernel/
H A Dcrash_dump.c256 Elf64_Nhdr *note; in nt_init_name() local
259 note = (Elf64_Nhdr *)buf; in nt_init_name()
260 note->n_namesz = strlen(name) + 1; in nt_init_name()
261 note->n_descsz = d_len; in nt_init_name()
262 note->n_type = type; in nt_init_name()
265 memcpy(buf + len, name, note->n_namesz); in nt_init_name()
266 len = roundup(len + note->n_namesz, 4); in nt_init_name()
268 memcpy(buf + len, desc, note->n_descsz); in nt_init_name()
269 len = roundup(len + note->n_descsz, 4); in nt_init_name()
369 Elf64_Nhdr note; in get_vmcoreinfo_old() local
[all …]
/linux/sound/drivers/opl3/
H A 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…
H A 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()
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/arch/loongarch/vdso/
H A Dvdso.lds.S26 .note : { *(.note.*) } :text :note
45 *(.note.GNU-stack)
55 note PT_NOTE FLAGS(4); /* PF_R */
/linux/include/sound/
H A Dump_msg.h135 u32 note:8; member
139 u32 note:8;
154 u32 note:8; member
158 u32 note:8;
261 struct snd_ump_midi1_msg_note note; member
279 u32 note:8; member
287 u32 note:8;
306 u32 note:8; member
313 u32 note:8;
331 u32 note:8; member
[all …]
H A Dseq_midi_emul.h36 unsigned char note[128]; /* Current status for all notes */ member
69 void (*note_on)(void *private_data, int note, int vel, struct snd_midi_channel *chan);
70 …void (*note_off)(void *private_data,int note, int vel, struct snd_midi_channel *chan); /* release …
71 void (*key_press)(void *private_data, int note, int vel, struct snd_midi_channel *chan);
72 …void (*note_terminate)(void *private_data, int note, struct snd_midi_channel *chan); /* terminate …
/linux/tools/perf/util/
H A Dprobe-file.c722 static unsigned long long sdt_note__get_addr(struct sdt_note *note) in sdt_note__get_addr() argument
724 return note->bit32 ? in sdt_note__get_addr()
725 (unsigned long long)note->addr.a32[SDT_NOTE_IDX_LOC] : in sdt_note__get_addr()
726 (unsigned long long)note->addr.a64[SDT_NOTE_IDX_LOC]; in sdt_note__get_addr()
729 static unsigned long long sdt_note__get_ref_ctr_offset(struct sdt_note *note) in sdt_note__get_ref_ctr_offset() argument
731 return note->bit32 ? in sdt_note__get_ref_ctr_offset()
732 (unsigned long long)note->addr.a32[SDT_NOTE_IDX_REFCTR] : in sdt_note__get_ref_ctr_offset()
733 (unsigned long long)note->addr.a64[SDT_NOTE_IDX_REFCTR]; in sdt_note__get_ref_ctr_offset()
805 static char *synthesize_sdt_probe_command(struct sdt_note *note, in synthesize_sdt_probe_command() argument
820 sdtgrp, note->name, pathname, in synthesize_sdt_probe_command()
[all …]
/linux/Documentation/networking/
H A 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/arch/x86/um/vdso/
H A Dvdso-layout.lds.S20 .note : { *(.note.*) } :text :note
63 note PT_NOTE FLAGS(4); /* PF_R */
/linux/arch/parisc/kernel/vdso64/
H A Dvdso64.lds.S23 .note : { *(.note.*) } :text :note
83 /DISCARD/ : { *(.note.GNU-stack) }
92 note PT_NOTE FLAGS(4); /* PF_R */
/linux/arch/parisc/kernel/vdso32/
H A Dvdso32.lds.S24 .note : { *(.note.*) } :text :note
85 /DISCARD/ : { *(.note.GNU-stack) }
94 note PT_NOTE FLAGS(4); /* PF_R */
/linux/kernel/
H A Dvmcore_info.c44 struct elf_note *note = (struct elf_note *)buf; in append_elf_note() local
46 note->n_namesz = strlen(name) + 1; in append_elf_note()
47 note->n_descsz = data_len; in append_elf_note()
48 note->n_type = type; in append_elf_note()
49 buf += DIV_ROUND_UP(sizeof(*note), sizeof(Elf_Word)); in append_elf_note()
50 memcpy(buf, name, note->n_namesz); in append_elf_note()
51 buf += DIV_ROUND_UP(note->n_namesz, sizeof(Elf_Word)); in append_elf_note()
/linux/arch/sh/kernel/vsyscall/
H A Dvsyscall.lds.S40 .note : { *(.note.*) } :text :note
68 note PT_NOTE FLAGS(4); /* PF_R */
/linux/arch/sparc/vdso/
H A Dvdso-layout.lds.S63 .note : { *(.note.*) } :text :note
96 note PT_NOTE FLAGS(4); /* PF_R */
/linux/arch/riscv/kernel/vdso/
H A Dvdso.lds.S35 .note : { *(.note.*) } :text :note
61 note PT_NOTE FLAGS(4); /* PF_R */
/linux/Documentation/sound/cards/
H A Dhdspm.rst31 .. note::
39 .. note::
48 .. note::
114 .. note::
129 .. note::
167 .. note::
186 .. note::
341 note: ALSA-standard
347 note: ALSA-standard
353 note: ALSA-standard
[all …]
/linux/LICENSES/exceptions/
H A DLinux-syscall-note1 SPDX-Exception-Identifier: Linux-syscall-note
2 SPDX-URL: https://spdx.org/licenses/Linux-syscall-note.html
10 SPDX-License-Identifier: <SPDX-License> WITH Linux-syscall-note
16 Also note that the GPL below is copyrighted by the Free Software
20 Also note that the only valid version of the GPL as far as the kernel
/linux/drivers/hid/
H A Dhid-prodikeys.c40 unsigned char note; member
204 unsigned char status, unsigned char note, unsigned char velocity) in pcmidi_send_note() argument
210 buffer[1] = note; in pcmidi_send_note()
232 pcmidi_send_note(pms->pm, pms->status, pms->note, pms->velocity); in pcmidi_sustained_note_release()
330 unsigned char status, note, velocity; in pcmidi_handle_report3() local
334 note = data[j*2+1]; in pcmidi_handle_report3()
337 if (note < 0x81) { /* note on */ in pcmidi_handle_report3()
339 note = note - 0x54 + PCMIDI_MIDDLE_C + in pcmidi_handle_report3()
345 note = note - 0x94 + PCMIDI_MIDDLE_C + in pcmidi_handle_report3()
353 pms->note = note; in pcmidi_handle_report3()
[all …]
/linux/sound/core/
H A Dump_convert.c105 unsigned char status = midi2->note.status; in cvt_ump_midi2_to_legacy()
106 unsigned char channel = midi2->note.channel; in cvt_ump_midi2_to_legacy()
113 buf[1] = midi2->note.note; in cvt_ump_midi2_to_legacy()
114 buf[2] = downscale_16_to_7bit(midi2->note.velocity); in cvt_ump_midi2_to_legacy()
119 buf[1] = midi2->paf.note; in cvt_ump_midi2_to_legacy()
369 midi2->note.note = buf[1]; in cvt_legacy_cmd_to_ump()
370 midi2->note.velocity = upscale_7_to_16bit(buf[2]); in cvt_legacy_cmd_to_ump()
373 midi2->paf.note = buf[1]; in cvt_legacy_cmd_to_ump()
/linux/arch/alpha/kernel/
H A Dvmlinux.lds.S15 PHDRS { text PT_LOAD; note PT_NOTE; }
68 .note 0 : {
69 *(.note)

12345678910>>...29