/kernel/linux/linux-5.10/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_seq_event *ev); 29 static int note_off_event(struct seq_oss_devinfo *dp, int dev, int ch, int note, int vel, struct snd_seq_event *ev); 30 static int set_note_event(struct seq_oss_devinfo *dp, int dev, int type, int ch, int note, int vel, struct snd_seq_event *ev); 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() 264 * process note 274 note_on_event(struct seq_oss_devinfo *dp, int dev, int ch, int note, int vel, struct snd_seq_event *ev) note_on_event() argument 335 note_off_event(struct seq_oss_devinfo *dp, int dev, int ch, int note, int vel, struct snd_seq_event *ev) note_off_event() argument 372 set_note_event(struct seq_oss_devinfo *dp, int dev, int type, int ch, int note, int vel, struct snd_seq_event *ev) set_note_event() argument [all...] |
/kernel/linux/linux-6.6/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_seq_event *ev); 29 static int note_off_event(struct seq_oss_devinfo *dp, int dev, int ch, int note, int vel, struct snd_seq_event *ev); 30 static int set_note_event(struct seq_oss_devinfo *dp, int dev, int type, int ch, int note, int vel, struct snd_seq_event *ev); 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() 264 * process note 274 note_on_event(struct seq_oss_devinfo *dp, int dev, int ch, int note, int vel, struct snd_seq_event *ev) note_on_event() argument 335 note_off_event(struct seq_oss_devinfo *dp, int dev, int ch, int note, int vel, struct snd_seq_event *ev) note_off_event() argument 372 set_note_event(struct seq_oss_devinfo *dp, int dev, int type, int ch, int note, int vel, struct snd_seq_event *ev) set_note_event() argument [all...] |
/kernel/linux/linux-5.10/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() 103 /* Make sure that we don't have a note on that should really be in snd_midi_process_event() 104 * a note off */ in snd_midi_process_event() 105 if (ev->type == SNDRV_SEQ_EVENT_NOTEON && ev->data.note.velocity == 0) in snd_midi_process_event() 108 /* Make sure the note is within array range */ in snd_midi_process_event() 112 if (ev->data.note.note >= 128) in snd_midi_process_event() 118 if (chan->note[ev->data.note in snd_midi_process_event() 235 note_off(const struct snd_midi_op *ops, void *drv, struct snd_midi_channel *chan, int note, int vel) note_off() argument [all...] |
/kernel/linux/linux-6.6/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() 103 /* Make sure that we don't have a note on that should really be in snd_midi_process_event() 104 * a note off */ in snd_midi_process_event() 105 if (ev->type == SNDRV_SEQ_EVENT_NOTEON && ev->data.note.velocity == 0) in snd_midi_process_event() 108 /* Make sure the note is within array range */ in snd_midi_process_event() 112 if (ev->data.note.note >= 128) in snd_midi_process_event() 118 if (chan->note[ev->data.note in snd_midi_process_event() 235 note_off(const struct snd_midi_op *ops, void *drv, struct snd_midi_channel *chan, int note, int vel) note_off() argument [all...] |
H A D | seq_ump_convert.c | 81 /* encode note event */ 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 in cvt_ump_midi1_to_event() [all...] |
/kernel/linux/linux-5.10/sound/drivers/opl3/ |
H A D | opl3_midi.c | 14 static void snd_opl3_note_off_unsafe(void *p, int note, int vel, 70 * Converts the note frequency to block and fnum values for the FM chip 80 int note, struct snd_midi_channel *chan) in snd_opl3_calc_pitch() 82 int block = ((note / 12) & 0x07) - 1; in snd_opl3_calc_pitch() 83 int idx = (note % 12) + 2; in snd_opl3_calc_pitch() 122 * Get a FM voice (channel) to play a note on. 236 snd_opl3_note_off_unsafe(opl3, vp->note, 0, in snd_opl3_timer_func() 274 * Start a note. 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() 79 snd_opl3_calc_pitch(unsigned char *fnum, unsigned char *blocknum, int note, struct snd_midi_channel *chan) snd_opl3_calc_pitch() argument 654 snd_opl3_note_off_unsafe(void *p, int note, int vel, struct snd_midi_channel *chan) snd_opl3_note_off_unsafe() argument 691 snd_opl3_note_off(void *p, int note, int vel, struct snd_midi_channel *chan) snd_opl3_note_off() argument 705 snd_opl3_key_press(void *p, int note, int vel, struct snd_midi_channel *chan) snd_opl3_key_press() argument 716 snd_opl3_terminate_note(void *p, int note, struct snd_midi_channel *chan) snd_opl3_terminate_note() argument [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_channel *chan);
|
/kernel/linux/linux-6.6/sound/drivers/opl3/ |
H A D | opl3_midi.c | 14 static void snd_opl3_note_off_unsafe(void *p, int note, int vel, 70 * Converts the note frequency to block and fnum values for the FM chip 80 int note, struct snd_midi_channel *chan) in snd_opl3_calc_pitch() 82 int block = ((note / 12) & 0x07) - 1; in snd_opl3_calc_pitch() 83 int idx = (note % 12) + 2; in snd_opl3_calc_pitch() 122 * Get a FM voice (channel) to play a note on. 235 snd_opl3_note_off_unsafe(opl3, vp->note, 0, in snd_opl3_timer_func() 273 * Start a note. 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() 79 snd_opl3_calc_pitch(unsigned char *fnum, unsigned char *blocknum, int note, struct snd_midi_channel *chan) snd_opl3_calc_pitch() argument 653 snd_opl3_note_off_unsafe(void *p, int note, int vel, struct snd_midi_channel *chan) snd_opl3_note_off_unsafe() argument 690 snd_opl3_note_off(void *p, int note, int vel, struct snd_midi_channel *chan) snd_opl3_note_off() argument 704 snd_opl3_key_press(void *p, int note, int vel, struct snd_midi_channel *chan) snd_opl3_key_press() argument 715 snd_opl3_terminate_note(void *p, int note, struct snd_midi_channel *chan) snd_opl3_terminate_note() argument [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_channel *chan);
|
/kernel/linux/linux-5.10/arch/arm64/kernel/vdso/ |
H A D | vdso.lds.S | 35 * Discard .note.gnu.property sections which are unused and have 36 * different alignment requirement from vDSO note sections. 39 *(.note.GNU-stack .note.gnu.property) 41 .note : { *(.note.*) } :text :note 74 note PT_NOTE FLAGS(4); /* PF_R */
|
/kernel/linux/linux-6.6/arch/arm64/kernel/vdso/ |
H A D | vdso.lds.S | 36 * Discard .note.gnu.property sections which are unused and have 37 * different alignment requirement from vDSO note sections. 40 *(.note.GNU-stack .note.gnu.property) 42 .note : { *(.note.*) } :text :note 91 note PT_NOTE FLAGS(4); /* PF_R */
|
/kernel/linux/linux-5.10/arch/arm64/kernel/vdso32/ |
H A D | vdso.lds.S | 34 .note : { *(.note.*) } :text :note 46 *(.note.GNU-stack) 60 note PT_NOTE FLAGS(4); /* PF_R */
|
/kernel/linux/linux-5.10/arch/loongarch/vdso/ |
H A D | vdso.lds.S | 24 .note : { *(.note.*) } :text :note 43 *(.note.GNU-stack) 53 note PT_NOTE FLAGS(4); /* PF_R */
|
/kernel/linux/linux-5.10/arch/nds32/kernel/vdso/ |
H A D | vdso.lds.S | 25 .note : { *(.note.*) } :text :note 39 *(.note.GNU-stack) 53 note PT_NOTE FLAGS(4); /* PF_R */
|
/kernel/linux/linux-5.10/arch/arm/vdso/ |
H A D | vdso.lds.S | 34 .note : { *(.note.*) } :text :note 50 *(.note.GNU-stack) 64 note PT_NOTE FLAGS(4); /* PF_R */
|
/kernel/linux/linux-6.6/arch/loongarch/vdso/ |
H A D | vdso.lds.S | 24 .note : { *(.note.*) } :text :note 43 *(.note.GNU-stack) 53 note PT_NOTE FLAGS(4); /* PF_R */
|
/kernel/linux/linux-6.6/arch/arm/vdso/ |
H A D | vdso.lds.S | 34 .note : { *(.note.*) } :text :note 50 *(.note.GNU-stack) 64 note PT_NOTE FLAGS(4); /* PF_R */
|
/kernel/linux/linux-5.10/arch/s390/kernel/ |
H A D | crash_dump.c | 308 * Initialize ELF note 313 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 in nt_init_name() 432 Elf64_Nhdr note; get_vmcoreinfo_old() local 500 Elf64_Nhdr *note; nt_final() local [all...] |
/kernel/linux/linux-6.6/arch/s390/kernel/ |
H A D | crash_dump.c | 249 * Initialize ELF note 254 Elf64_Nhdr *note; in nt_init_name() local 257 note = (Elf64_Nhdr *)buf; in nt_init_name() 258 note->n_namesz = strlen(name) + 1; in nt_init_name() 259 note->n_descsz = d_len; in nt_init_name() 260 note->n_type = type; in nt_init_name() 263 memcpy(buf + len, name, note->n_namesz); in nt_init_name() 264 len = roundup(len + note->n_namesz, 4); in nt_init_name() 266 memcpy(buf + len, desc, note->n_descsz); in nt_init_name() 267 len = roundup(len + note in nt_init_name() 374 Elf64_Nhdr note; get_vmcoreinfo_old() local 441 Elf64_Nhdr *note; nt_final() local [all...] |
/kernel/linux/linux-6.6/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 member 356 u32 note:8; global() member 508 u32 note:8; global() member 527 struct snd_ump_midi2_msg_note note; global() member [all...] |
/kernel/linux/linux-5.10/arch/mips/vdso/ |
H A D | vdso.lds.S | 43 .note : { *(.note.*) } :text :note 63 *(.note.GNU-stack) 87 note PT_NOTE FLAGS(4); /* PF_R */
|
/kernel/linux/linux-5.10/arch/x86/entry/vdso/ |
H A D | vdso-layout.lds.S | 61 * Discard .note.gnu.property sections which are unused and have 62 * different alignment requirement from vDSO note sections. 65 *(.note.gnu.property) 67 .note : { *(.note.*) } :text :note 103 note PT_NOTE FLAGS(4); /* PF_R */
|
/kernel/linux/linux-6.6/arch/arm64/kernel/vdso32/ |
H A D | vdso.lds.S | 35 .note : { *(.note.*) } :text :note 65 *(.note.GNU-stack) 79 note PT_NOTE FLAGS(4); /* PF_R */
|
/kernel/linux/linux-6.6/arch/mips/vdso/ |
H A D | vdso.lds.S | 43 .note : { *(.note.*) } :text :note 63 *(.note.GNU-stack) 87 note PT_NOTE FLAGS(4); /* PF_R */
|
/kernel/linux/linux-6.6/arch/x86/entry/vdso/ |
H A D | vdso-layout.lds.S | 61 * Discard .note.gnu.property sections which are unused and have 62 * different alignment requirement from vDSO note sections. 65 *(.note.gnu.property) 67 .note : { *(.note.*) } :text :note 109 note PT_NOTE FLAGS(4); /* PF_R */
|