| /linux/sound/core/seq/ |
| H A D | seq_midi_emul.c | 35 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 D | seq_ump_convert.c | 85 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/sound/core/seq/oss/ |
| H A D | seq_oss_event.c | 28 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/arch/x86/entry/vdso/common/ |
| H A D | vdso-layout.lds.S | 50 .note.gnu.property : { 51 *(.note.gnu.property) 52 } :text :note :gnu_property 53 .note : { 54 *(.note*) 55 } :text :note 105 note PT_NOTE PF_R;
|
| /linux/sound/drivers/opl3/ |
| H A D | opl3_midi.c | 21 static void snd_opl3_note_off_unsafe(void *p, int note, int vel, 87 int note, struct snd_midi_channel *chan) in snd_opl3_calc_pitch() argument 89 int block = ((note / 12) & 0x07) - 1; in snd_opl3_calc_pitch() 90 int idx = (note % 12) + 2; in snd_opl3_calc_pitch() 245 snd_opl3_note_off_unsafe(opl3, vp->note, 0, in snd_opl3_timer_func() 282 void snd_opl3_note_on(void *p, int note, int vel, struct snd_midi_channel *chan) in snd_opl3_note_on() argument 302 int key = note; in snd_opl3_note_on() 312 chan->number, chan->midi_program, note, vel); in snd_opl3_note_on() 320 prg = note; in snd_opl3_note_on() 338 snd_opl3_drum_switch(opl3, note, vel, 1, chan); in snd_opl3_note_on() [all …]
|
| H A D | opl3_voice.h | 18 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 D | opl3_synth.c | 60 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(¬e, argp, sizeof(struct snd_dm_fm_note))) in snd_opl3_ioctl() 118 return snd_opl3_play_note(opl3, ¬e); 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/Documentation/ABI/testing/ |
| H A D | sysfs-kernel-vmcoreinfo | 8 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/sound/drivers/opl4/ |
| H A D | opl4_synth.c | 309 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 318 if (voice->chan == chan && voice->note == note) { in snd_opl4_do_for_note() 414 int note, pitch, octave; in snd_opl4_update_pitch() local 416 note = chan->drum_channel ? 60 : voice->note; in snd_opl4_update_pitch() 421 pitch = ((note - 60) << 7) * voice->sound->key_scaling / 100 + (60 << 7); in snd_opl4_update_pitch() 473 void snd_opl4_note_on(void *private_data, int note, int vel, struct snd_midi_channel *chan) in snd_opl4_note_on() argument 485 if (note >= regions->regions[i].key_min && in snd_opl4_note_on() 486 note <= regions->regions[i].key_max) { in snd_opl4_note_on() 499 voice[i]->note = note; in snd_opl4_note_on() 552 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/tools/testing/selftests/bpf/ |
| H A D | uprobe_multi.ld | 4 .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 D | vdso.lds.S | 40 *(.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 D | crash_dump.c | 256 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/arch/arm/vdso/ |
| H A D | vdso.lds.S | 35 .note : { *(.note.*) } :text :note 51 *(.note.GNU-stack) 65 note PT_NOTE FLAGS(4); /* PF_R */
|
| /linux/include/sound/ |
| H A D | ump_msg.h | 135 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 …]
|
| /linux/arch/loongarch/vdso/ |
| H A D | vdso.lds.S | 26 .note : { *(.note.*) } :text :note 45 *(.note.GNU-stack) 55 note PT_NOTE FLAGS(4); /* PF_R */
|
| /linux/arch/arm64/kernel/vdso32/ |
| H A D | vdso.lds.S | 34 .note : { *(.note.*) } :text :note 64 *(.note.GNU-stack) 78 note PT_NOTE FLAGS(4); /* PF_R */
|
| /linux/tools/lib/bpf/ |
| H A D | usdt.c | 586 static int parse_usdt_spec(struct usdt_spec *spec, const struct usdt_note *note, __u64 usdt_cookie); 634 struct usdt_note note; in collect_usdt_targets() local 638 err = parse_usdt_note(&nhdr, data->d_buf, name_off, desc_off, ¬e); in collect_usdt_targets() 642 if (strcmp(note.provider, usdt_provider) != 0 || strcmp(note.name, usdt_name) != 0) in collect_usdt_targets() 672 usdt_abs_ip = note.loc_addr; in collect_usdt_targets() 673 if (base_addr && note.base_addr) in collect_usdt_targets() 674 usdt_abs_ip += base_addr - note.base_addr; in collect_usdt_targets() 741 note.loc_addr, note.base_addr, usdt_abs_ip, usdt_rel_ip, note.args, in collect_usdt_targets() 745 if (note.sema_addr) { in collect_usdt_targets() 753 seg = find_elf_seg(segs, seg_cnt, note.sema_addr); in collect_usdt_targets() [all …]
|
| /linux/tools/perf/util/ |
| H A D | probe-file.c | 723 static unsigned long long sdt_note__get_addr(struct sdt_note *note) in sdt_note__get_addr() argument 725 return note->bit32 ? in sdt_note__get_addr() 726 (unsigned long long)note->addr.a32[SDT_NOTE_IDX_LOC] : in sdt_note__get_addr() 727 (unsigned long long)note->addr.a64[SDT_NOTE_IDX_LOC]; in sdt_note__get_addr() 730 static unsigned long long sdt_note__get_ref_ctr_offset(struct sdt_note *note) in sdt_note__get_ref_ctr_offset() argument 732 return note->bit32 ? in sdt_note__get_ref_ctr_offset() 733 (unsigned long long)note->addr.a32[SDT_NOTE_IDX_REFCTR] : in sdt_note__get_ref_ctr_offset() 734 (unsigned long long)note->addr.a64[SDT_NOTE_IDX_REFCTR]; in sdt_note__get_ref_ctr_offset() 806 static char *synthesize_sdt_probe_command(struct sdt_note *note, in synthesize_sdt_probe_command() argument 821 sdtgrp, note->name, pathname, in synthesize_sdt_probe_command() [all …]
|
| /linux/arch/mips/vdso/ |
| H A D | vdso.lds.S | 46 .note : { *(.note.*) } :text :note 66 *(.note.GNU-stack) 90 note PT_NOTE FLAGS(4); /* PF_R */
|
| /linux/Documentation/networking/ |
| H A D | mac80211-auth-assoc-deauth.txt | 20 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/s390/kernel/vdso/ |
| H A D | vdso.lds.S | 30 .note : { *(.note.*) } :text :note 69 *(.note.GNU-stack) 89 note PT_NOTE FLAGS(4); /* PF_R */
|
| /linux/Documentation/RCU/ |
| H A D | RTFP.txt | 317 ,note="Available: 419 ,note="private communication" 437 ,note="Available: 580 ,note="Available: 598 ,note="Available: 613 ,note="Available: 643 ,note="Available: 658 ,note="Available: 671 ,note="Available: 685 ,note="Available: [all …]
|
| /linux/arch/powerpc/kernel/vdso/ |
| H A D | vdso64.lds.S | 32 .note : { *(.note.*) } :text :note 85 *(.note.GNU-stack) 108 note PT_NOTE FLAGS(4); /* PF_R */
|
| H A D | vdso32.lds.S | 32 .note : { *(.note.*) } :text :note 89 *(.note.GNU-stack) 111 note PT_NOTE FLAGS(4); /* PF_R */
|
| /linux/kernel/ |
| H A D | vmcore_info.c | 48 struct elf_note *note = (struct elf_note *)buf; in append_elf_note() local 50 note->n_namesz = strlen(name) + 1; in append_elf_note() 51 note->n_descsz = data_len; in append_elf_note() 52 note->n_type = type; in append_elf_note() 53 buf += DIV_ROUND_UP(sizeof(*note), sizeof(Elf_Word)); in append_elf_note() 54 memcpy(buf, name, note->n_namesz); in append_elf_note() 55 buf += DIV_ROUND_UP(note->n_namesz, sizeof(Elf_Word)); in append_elf_note()
|