/openbmc/qemu/target/arm/ |
H A D | arch_dump.c | 94 static void aarch64_note_init(struct aarch64_note *note, DumpState *s, in aarch64_note_init() argument 98 memset(note, 0, sizeof(*note)); in aarch64_note_init() 100 note->hdr.n_namesz = cpu_to_dump32(s, namesz); in aarch64_note_init() 101 note->hdr.n_descsz = cpu_to_dump32(s, descsz); in aarch64_note_init() 102 note->hdr.n_type = cpu_to_dump32(s, type); in aarch64_note_init() 104 memcpy(note->name, name, namesz); in aarch64_note_init() 111 struct aarch64_note note; in aarch64_write_elf64_prfpreg() local 114 aarch64_note_init(¬e, s, "CORE", 5, NT_PRFPREG, sizeof(note.vfp)); in aarch64_write_elf64_prfpreg() 118 note.vfp.vregs[2 * i + 0] = cpu_to_dump64(s, q[0]); in aarch64_write_elf64_prfpreg() 119 note.vfp.vregs[2 * i + 1] = cpu_to_dump64(s, q[1]); in aarch64_write_elf64_prfpreg() [all …]
|
/openbmc/qemu/target/riscv/ |
H A D | arch_dump.c | 54 static void riscv64_note_init(struct riscv64_note *note, DumpState *s, in riscv64_note_init() argument 58 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 76 riscv64_note_init(¬e, s, name, sizeof(name), in riscv_cpu_write_elf64_note() 77 NT_PRSTATUS, sizeof(note.prstatus)); in riscv_cpu_write_elf64_note() 79 note.prstatus.pr_pid = cpu_to_dump32(s, cpuid); in riscv_cpu_write_elf64_note() [all …]
|
/openbmc/qemu/target/loongarch/ |
H A D | arch_dump.c | 78 static void loongarch_note_init(struct loongarch_note *note, DumpState *s, in loongarch_note_init() argument 82 memset(note, 0, sizeof(*note)); in loongarch_note_init() 84 note->hdr.n_namesz = cpu_to_dump32(s, namesz); in loongarch_note_init() 85 note->hdr.n_descsz = cpu_to_dump32(s, descsz); in loongarch_note_init() 86 note->hdr.n_type = cpu_to_dump32(s, type); in loongarch_note_init() 88 memcpy(note->name, name, namesz); in loongarch_note_init() 95 struct loongarch_note note; in loongarch_write_elf64_fprpreg() local 98 loongarch_note_init(¬e, s, "CORE", 5, NT_PRFPREG, sizeof(note.fpu)); in loongarch_write_elf64_fprpreg() 99 note.fpu.fcsr = cpu_to_dump64(s, env->fcsr0); in loongarch_write_elf64_fprpreg() 100 note.fpu.fcc = cpu_to_dump64(s, read_fcc(env)); in loongarch_write_elf64_fprpreg() [all …]
|
/openbmc/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 …]
|
/openbmc/qemu/target/ppc/ |
H A D | arch_dump.c | 100 Note note; member 110 Note *note = &arg->note; in ppc_write_elf_prstatus() local 113 note->hdr.n_type = cpu_to_dump32(s, NT_PRSTATUS); in ppc_write_elf_prstatus() 115 prstatus = ¬e->contents.prstatus; in ppc_write_elf_prstatus() 140 Note *note = &arg->note; in ppc_write_elf_fpregset() local 143 note->hdr.n_type = cpu_to_dump32(s, NT_PRFPREG); in ppc_write_elf_fpregset() 145 fpregset = ¬e->contents.fpregset; in ppc_write_elf_fpregset() 159 Note *note = &arg->note; in ppc_write_elf_vmxregset() local 162 note->hdr.n_type = cpu_to_dump32(s, NT_PPC_VMX); in ppc_write_elf_vmxregset() 163 vmxregset = ¬e->contents.vmxregset; in ppc_write_elf_vmxregset() [all …]
|
/openbmc/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 …]
|
/openbmc/qemu/target/s390x/ |
H A D | arch_dump.c | 91 static void s390x_write_elf64_prstatus(Note *note, S390CPU *cpu, int id) in s390x_write_elf64_prstatus() argument 96 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() 108 static void s390x_write_elf64_fpregset(Note *note, S390CPU *cpu, int id) in s390x_write_elf64_fpregset() argument 113 note->hdr.n_type = cpu_to_be32(NT_FPREGSET); in s390x_write_elf64_fpregset() 114 note->contents.fpregset.fpc = cpu_to_be32(cpu->env.fpc); in s390x_write_elf64_fpregset() 116 note->contents.fpregset.fprs[i] = cpu_to_be64(*get_freg(cs, i)); in s390x_write_elf64_fpregset() 120 static void s390x_write_elf64_vregslo(Note *note, S390CPU *cpu, int id) in s390x_write_elf64_vregslo() argument 124 note->hdr.n_type = cpu_to_be32(NT_S390_VXRS_LOW); in s390x_write_elf64_vregslo() [all …]
|
/openbmc/qemu/target/i386/ |
H A D | arch_dump.c | 48 Elf64_Nhdr *note; in x86_64_write_elf64_note() local 85 note = g_malloc0(note_size); in x86_64_write_elf64_note() 86 note->n_namesz = cpu_to_le32(name_size); in x86_64_write_elf64_note() 87 note->n_descsz = cpu_to_le32(descsz); in x86_64_write_elf64_note() 88 note->n_type = cpu_to_le32(NT_PRSTATUS); in x86_64_write_elf64_note() 89 buf = (char *)note; in x86_64_write_elf64_note() 97 ret = f(note, note_size, s); 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 163 note = g_malloc0(note_size); in x86_write_elf64_note() [all …]
|
/openbmc/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
|
/openbmc/linux/sound/drivers/opl3/ |
H A D | opl3_midi.c | 14 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 …]
|
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…
|
/openbmc/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 */
|
/openbmc/linux/sound/drivers/opl4/ |
H A D | opl4_synth.c | 312 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 …]
|
/openbmc/linux/arch/s390/kernel/ |
H A D | crash_dump.c | 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->n_descsz, 4); in nt_init_name() 374 Elf64_Nhdr note; in get_vmcoreinfo_old() local [all …]
|
/openbmc/linux/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 */
|
/openbmc/linux/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 */
|
/openbmc/qemu/tests/tcg/x86_64/system/ |
H A D | kernel.ld | 3 note PT_NOTE FLAGS(0); /* ___ */ 20 *(.note.gnu*) 24 *(.note.*) 25 } :note
|
/openbmc/qemu/scripts/ |
H A D | dump-guest-memory.py | 124 note = get_arch_note(self.endianness, len(n_name), len(n_desc)) 125 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 134 ctypes.memmove(note.n_desc, n_desc.encode(), len(n_desc)) 136 self.notes.append(note) 137 self.segments[0].p_filesz += ctypes.sizeof(note) 138 self.segments[0].p_memsz += ctypes.sizeof(note) 151 note = get_arch_note(self.endianness, [all …]
|
/openbmc/linux/tools/lib/bpf/ |
H A D | usdt.c | 576 static int parse_usdt_spec(struct usdt_spec *spec, const struct usdt_note *note, __u64 usdt_cookie); 623 struct usdt_note note; in collect_usdt_targets() local 627 err = parse_usdt_note(elf, path, &nhdr, data->d_buf, name_off, desc_off, ¬e); in collect_usdt_targets() 631 if (strcmp(note.provider, usdt_provider) != 0 || strcmp(note.name, usdt_name) != 0) in collect_usdt_targets() 661 usdt_abs_ip = note.loc_addr; in collect_usdt_targets() 662 if (base_addr && note.base_addr) in collect_usdt_targets() 663 usdt_abs_ip += base_addr - note.base_addr; in collect_usdt_targets() 730 note.loc_addr, note.base_addr, usdt_abs_ip, usdt_rel_ip, note.args, in collect_usdt_targets() 734 if (note.sema_addr) { in collect_usdt_targets() 742 seg = find_elf_seg(segs, seg_cnt, note.sema_addr); in collect_usdt_targets() [all …]
|
/openbmc/linux/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 */
|
/openbmc/linux/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 */
|
/openbmc/linux/arch/x86/entry/vdso/ |
H A D | vdso-layout.lds.S | 65 *(.note.gnu.property) 67 .note : { *(.note.*) } :text :note 109 note PT_NOTE FLAGS(4); /* PF_R */
|
/openbmc/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 …]
|
/openbmc/openbmc/poky/meta/lib/oe/package_manager/ |
H A D | __init__.py | 27 bb.note("Executing '%s' ..." % index_cmd) 30 bb.note(result) 177 bb.note("Initializing intercept dir for %s" % self.target_rootfs) 211 bb.note("If an image is being built, the postinstalls for the following packages " 222 bb.note("Running intercept scripts:") 237 …bb.note("The postinstall intercept hook '%s' could not be executed due to missing wine support, de… 241 bb.note("> Executing %s intercept ..." % script) 245 if output: bb.note(output.decode("utf-8")) 247 bb.note("Exit code %d. Output:\n%s" % (e.returncode, e.output.decode("utf-8"))) 252 …bb.note("The postinstall intercept hook '%s' could not be executed due to missing qemu usermode su… [all …]
|