Home
last modified time | relevance | path

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

12345678910>>...56

/openbmc/qemu/target/arm/
H A Darch_dump.c98 memset(note, 0, sizeof(*note)); in aarch64_note_init()
111 struct aarch64_note note; in aarch64_write_elf64_prfpreg() local
114 aarch64_note_init(&note, s, "CORE", 5, NT_PRFPREG, sizeof(note.vfp)); in aarch64_write_elf64_prfpreg()
129 note.vfp.vregs[2 * i] = note.vfp.vregs[2 * i + 1]; in aarch64_write_elf64_prfpreg()
225 g_free(note); in aarch64_write_elf64_sve()
244 aarch64_note_init(&note, s, "CORE", 5, NT_PRSTATUS, sizeof(note.prstatus)); in arm_cpu_write_elf64_note()
331 memset(note, 0, sizeof(*note)); in arm_note_init()
343 struct arm_note note; in arm_write_elf32_vfp() local
346 arm_note_init(&note, s, "LINUX", 6, NT_ARM_VFP, sizeof(note.vfp)); in arm_write_elf32_vfp()
365 struct arm_note note; in arm_cpu_write_elf32_note() local
[all …]
/openbmc/qemu/target/riscv/
H A Darch_dump.c58 memset(note, 0, sizeof(*note)); in riscv64_note_init()
60 note->hdr.n_namesz = cpu_to_dump32(s, namesz); in riscv64_note_init()
61 note->hdr.n_descsz = cpu_to_dump32(s, descsz); in riscv64_note_init()
62 note->hdr.n_type = cpu_to_dump32(s, type); in riscv64_note_init()
64 memcpy(note->name, name, namesz); in riscv64_note_init()
70 struct riscv64_note note; in riscv_cpu_write_elf64_note() local
87 ret = f(&note, RISCV64_PRSTATUS_NOTE_SIZE, s); in riscv_cpu_write_elf64_note()
127 memset(note, 0, sizeof(*note)); in riscv32_note_init()
131 note->hdr.n_type = cpu_to_dump32(s, type); in riscv32_note_init()
133 memcpy(note->name, name, namesz); in riscv32_note_init()
[all …]
/openbmc/linux/sound/core/seq/
H A Dseq_midi_emul.c112 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()
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()
134 ops->key_press(drv, ev->data.note.note, ev->data.note.velocity, chan); in snd_midi_process_event()
241 chan->note[note] |= SNDRV_MIDI_NOTE_RELEASED; in note_off()
245 chan->note[note] |= SNDRV_MIDI_NOTE_RELEASED; in note_off()
247 chan->note[note] = 0; in note_off()
[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()
207 ev->data.note.note = val->note.note; in ump_midi2_to_note_ev()
383 midi2->note.note = midi1->note.note; in cvt_ump_midi1_to_midi2()
387 midi2->paf.note = midi1->paf.note; in cvt_ump_midi1_to_midi2()
454 midi1->note.note = midi2->note.note; in cvt_ump_midi2_to_midi1()
458 midi1->paf.note = midi2->paf.note; in cvt_ump_midi2_to_midi1()
637 data->note.note = event->data.note.note & 0x7f; in note_ev_to_ump_midi1()
774 data->note.note = event->data.note.note & 0x7f; in note_ev_to_ump_midi2()
[all …]
/openbmc/qemu/target/ppc/
H A Darch_dump.c100 Note note; member
110 Note *note = &arg->note; in ppc_write_elf_prstatus() local
115 prstatus = &note->contents.prstatus; in ppc_write_elf_prstatus()
140 Note *note = &arg->note; in ppc_write_elf_fpregset() local
145 fpregset = &note->contents.fpregset; in ppc_write_elf_fpregset()
159 Note *note = &arg->note; in ppc_write_elf_vmxregset() local
191 Note *note = &arg->note; in ppc_write_elf_vsxregset() local
207 Note *note = &arg->note; in ppc_write_elf_speregset() local
287 arg.note.hdr.n_namesz = cpu_to_dump32(s, sizeof(arg.note.name)); in ppc_write_all_elf_notes()
289 strncpy(arg.note.name, note_name, sizeof(arg.note.name)); in ppc_write_all_elf_notes()
[all …]
/openbmc/linux/sound/core/seq/oss/
H A Dseq_oss_event.c110 q->n.chn, 0, q->n.note, ev); in old_event()
290 if (note == 255 && info->ch[ch].note >= 0) { in note_on_event()
305 } else if (note >= 128) in note_on_event()
308 if (note != info->ch[ch].note && info->ch[ch].note >= 0) in note_on_event()
312 info->ch[ch].note = note; in note_on_event()
351 if (info->ch[ch].note >= 0) { in note_off_event()
352 note = info->ch[ch].note; in note_off_event()
354 info->ch[ch].note = -1; in note_off_event()
379 ev->data.note.channel = ch; in set_note_event()
380 ev->data.note.note = note; in set_note_event()
[all …]
/openbmc/qemu/target/s390x/
H A Darch_dump.c96 note->hdr.n_type = cpu_to_be32(NT_PRSTATUS); in s390x_write_elf64_prstatus()
98 regs = &(note->contents.prstatus.regs); in s390x_write_elf64_prstatus()
105 note->contents.prstatus.pid = cpu_to_be32(id); in s390x_write_elf64_prstatus()
113 note->hdr.n_type = cpu_to_be32(NT_FPREGSET); in s390x_write_elf64_fpregset()
135 temp_vregshi = &note->contents.vregshi; in s390x_write_elf64_vregshi()
148 note->hdr.n_type = cpu_to_be32(NT_S390_GS_CB); in s390x_write_elf64_gscb()
156 note->hdr.n_type = cpu_to_be32(NT_S390_TIMER); in s390x_write_elf64_timer()
162 note->hdr.n_type = cpu_to_be32(NT_S390_TODCMP); in s390x_write_elf64_todcmp()
168 note->hdr.n_type = cpu_to_be32(NT_S390_TODPREG); in s390x_write_elf64_todpreg()
176 note->hdr.n_type = cpu_to_be32(NT_S390_CTRS); in s390x_write_elf64_ctrs()
[all …]
/openbmc/qemu/target/i386/
H A Darch_dump.c48 Elf64_Nhdr *note; in x86_64_write_elf64_note() local
89 buf = (char *)note; in x86_64_write_elf64_note()
98 g_free(note); in x86_64_write_elf64_note()
154 Elf64_Nhdr *note; in x86_write_elf64_note() local
167 buf = (char *)note; in x86_write_elf64_note()
174 g_free(note); in x86_write_elf64_note()
208 Elf32_Nhdr *note; in x86_cpu_write_elf32_note() local
228 g_free(note); in x86_cpu_write_elf32_note()
338 void *note; in cpu_write_qemu_note() local
366 buf = note; in cpu_write_qemu_note()
[all …]
/openbmc/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
/openbmc/linux/arch/arm64/kernel/vdso/
H A Dvdso.lds.S40 *(.note.GNU-stack .note.gnu.property)
42 .note : { *(.note.*) } :text :note
91 note PT_NOTE FLAGS(4); /* PF_R */
/openbmc/linux/sound/drivers/opl3/
H A Dopl3_midi.c80 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()
295 int key = note; in snd_opl3_note_on()
316 prg = note; in snd_opl3_note_on()
522 note = fm->fix_key; in snd_opl3_note_on()
527 note += (fm->trnsps - 64); in snd_opl3_note_on()
561 vp->note = key; in snd_opl3_note_on()
569 vp2->note = key; in snd_opl3_note_on()
665 chan->number, chan->midi_program, note); in snd_opl3_note_off_unsafe()
[all …]
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…
/openbmc/linux/arch/arm/vdso/
H A Dvdso.lds.S34 .note : { *(.note.*) } :text :note
50 *(.note.GNU-stack)
64 note PT_NOTE FLAGS(4); /* PF_R */
/openbmc/qemu/tests/tcg/x86_64/system/
H A Dkernel.ld3 note PT_NOTE FLAGS(0); /* ___ */
20 *(.note.gnu*)
24 *(.note.*)
25 } :note
/openbmc/linux/sound/drivers/opl4/
H A Dopl4_synth.c322 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()
567 snd_opl4_do_for_note(opl4, note, chan, snd_opl4_voice_off); in snd_opl4_note_off()
578 void snd_opl4_terminate_note(void *private_data, int note, struct snd_midi_channel *chan) in snd_opl4_terminate_note() argument
[all …]
/openbmc/linux/arch/loongarch/vdso/
H A Dvdso.lds.S24 .note : { *(.note.*) } :text :note
43 *(.note.GNU-stack)
53 note PT_NOTE FLAGS(4); /* PF_R */
/openbmc/linux/arch/s390/kernel/
H A Dcrash_dump.c254 Elf64_Nhdr *note; in nt_init_name() local
257 note = (Elf64_Nhdr *)buf; in nt_init_name()
259 note->n_descsz = d_len; in nt_init_name()
260 note->n_type = type; in nt_init_name()
374 Elf64_Nhdr note; in get_vmcoreinfo_old() local
379 if (copy_oldmem_kernel(&note, addr, sizeof(note))) in get_vmcoreinfo_old()
393 *size = note.n_descsz; in get_vmcoreinfo_old()
441 Elf64_Nhdr *note; in nt_final() local
444 note->n_namesz = 0; in nt_final()
445 note->n_descsz = 0; in nt_final()
[all …]
/openbmc/linux/arch/arm64/kernel/vdso32/
H A Dvdso.lds.S35 .note : { *(.note.*) } :text :note
65 *(.note.GNU-stack)
79 note PT_NOTE FLAGS(4); /* PF_R */
/openbmc/linux/arch/mips/vdso/
H A Dvdso.lds.S43 .note : { *(.note.*) } :text :note
63 *(.note.GNU-stack)
87 note PT_NOTE FLAGS(4); /* PF_R */
/openbmc/linux/arch/x86/entry/vdso/
H A Dvdso-layout.lds.S65 *(.note.gnu.property)
67 .note : { *(.note.*) } :text :note
109 note PT_NOTE FLAGS(4); /* PF_R */
/openbmc/qemu/scripts/
H A Ddump-guest-memory.py125 note.n_namesz = len(n_name) + 1
126 note.n_descsz = len(n_desc)
127 note.n_name = n_name.encode()
128 note.n_type = n_type
136 self.notes.append(note)
138 self.segments[0].p_memsz += ctypes.sizeof(note)
151 note = get_arch_note(self.endianness,
153 ctypes.memmove(ctypes.pointer(note), vmcoreinfo, ctypes.sizeof(note))
155 self.notes.append(note)
191 for note in self.notes:
[all …]
/openbmc/linux/arch/x86/um/vdso/
H A Dvdso-layout.lds.S20 .note : { *(.note.*) } :text :note
63 note PT_NOTE FLAGS(4); /* PF_R */
/openbmc/linux/arch/powerpc/kernel/vdso/
H A Dvdso64.lds.S30 .note : { *(.note.*) } :text :note
83 *(.note.GNU-stack)
106 note PT_NOTE FLAGS(4); /* PF_R */
/openbmc/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;
279 u32 note:8; member
287 u32 note:8;
306 u32 note:8; member
313 u32 note:8;
331 u32 note:8; member
338 u32 note:8;
[all …]
/openbmc/linux/arch/sh/kernel/vsyscall/
H A Dvsyscall.lds.S40 .note : { *(.note.*) } :text :note
68 note PT_NOTE FLAGS(4); /* PF_R */

12345678910>>...56