| /openbmc/u-boot/lib/ |
| H A D | slre.c | 121 int i, j, ch, op, pc; in slre_dump() local 123 for (pc = 0; pc < r->code_size; pc++) { in slre_dump() 125 op = r->code[pc]; in slre_dump() 126 (void) fprintf(fp, "%3d %s ", pc, opcodes[op].name); in slre_dump() 131 (void) fprintf(fp, "%d ", r->code[pc + 1]); in slre_dump() 132 pc++; in slre_dump() 136 pc + r->code[pc + 1] - i); in slre_dump() 137 pc++; in slre_dump() 141 r->code[pc + 1], r->code[pc + 2]); in slre_dump() 142 pc += 2; in slre_dump() [all …]
|
| /openbmc/openbmc/meta-raspberrypi/recipes-graphics/userland/files/ |
| H A D | 0020-openmaxil-add-pkg-config-file.patch | 10 pkgconfig/openmaxil.pc.in | 10 ++++++++++ 12 create mode 100644 pkgconfig/openmaxil.pc.in 22 - foreach(PCFILE bcm_host.pc brcmegl.pc brcmglesv2.pc brcmvg.pc vcsm.pc mmal.pc) 23 + foreach(PCFILE bcm_host.pc brcmegl.pc brcmglesv2.pc brcmvg.pc vcsm.pc mmal.pc openmaxil.pc) 27 diff --git a/pkgconfig/openmaxil.pc.in b/pkgconfig/openmaxil.pc.in 31 +++ b/pkgconfig/openmaxil.pc.in
|
| /openbmc/qemu/accel/tcg/ |
| H A D | tb-hash.h | 39 static inline unsigned int tb_jmp_cache_hash_page(vaddr pc) in tb_jmp_cache_hash_page() argument 42 tmp = pc ^ (pc >> (TARGET_PAGE_BITS - TB_JMP_PAGE_BITS)); in tb_jmp_cache_hash_page() 46 static inline unsigned int tb_jmp_cache_hash_func(vaddr pc) in tb_jmp_cache_hash_func() argument 49 tmp = pc ^ (pc >> (TARGET_PAGE_BITS - TB_JMP_PAGE_BITS)); in tb_jmp_cache_hash_func() 57 static inline unsigned int tb_jmp_cache_hash_func(vaddr pc) in tb_jmp_cache_hash_func() argument 59 return (pc ^ (pc >> TB_JMP_CACHE_BITS)) & (TB_JMP_CACHE_SIZE - 1); in tb_jmp_cache_hash_func() 65 uint32_t tb_hash_func(tb_page_addr_t phys_pc, vaddr pc, in tb_hash_func() argument 68 return qemu_xxhash8(phys_pc, pc, flags2, flags, cf_mask); in tb_hash_func()
|
| H A D | translator.c | 123 vaddr pc, void *host_pc, const TranslatorOps *ops, in translator_loop() argument 133 db->pc_first = pc; in translator_loop() 134 db->pc_next = pc; in translator_loop() 249 void *dest, vaddr pc, size_t len) in translator_ld() argument 252 vaddr last = pc + len - 1; in translator_ld() 271 if (unlikely(((base ^ pc) & TARGET_PAGE_MASK) == 0)) { in translator_ld() 276 size_t len0 = -(pc | TARGET_PAGE_MASK); in translator_ld() 277 memcpy(dest, host + (pc - base), len0); in translator_ld() 278 pc += len0; in translator_ld() 294 assert(((base ^ pc) & TARGET_PAGE_MASK) == 0); in translator_ld() [all …]
|
| H A D | cpu-exec.c | 162 if ((tb_cflags(tb) & CF_PCREL || tb->pc == desc->s.pc) && in tb_lookup_cmp() 184 virt_page1 = TARGET_PAGE_ALIGN(desc->s.pc); in tb_lookup_cmp() 202 phys_pc = get_page_addr_code(desc.env, s.pc); in tb_htable_lookup() 207 h = tb_hash_func(phys_pc, (s.cflags & CF_PCREL ? 0 : s.pc), in tb_htable_lookup() 235 hash = tb_jmp_cache_hash_func(s.pc); in tb_lookup() 240 jc->array[hash].pc == s.pc && in tb_lookup() 252 jc->array[hash].pc = s.pc; in tb_lookup() 260 assert((tb_cflags(tb) & CF_PCREL) || tb->pc == s.pc); in tb_lookup() 264 static void log_cpu_exec(vaddr pc, CPUState *cpu, in log_cpu_exec() argument 267 if (qemu_log_in_addr_range(pc)) { in log_cpu_exec() [all …]
|
| /openbmc/qemu/include/exec/ |
| H A D | translator.h | 149 vaddr pc, void *host_pc, const TranslatorOps *ops, 183 uint8_t translator_ldub(CPUArchState *env, DisasContextBase *db, vaddr pc); 185 vaddr pc, MemOp endian); 187 vaddr pc, MemOp endian); 189 vaddr pc, MemOp endian); 193 translator_lduw(CPUArchState *env, DisasContextBase *db, vaddr pc) in translator_lduw() argument 195 return translator_lduw_end(env, db, pc, MO_TE); in translator_lduw() 199 translator_ldl(CPUArchState *env, DisasContextBase *db, vaddr pc) in translator_ldl() argument 201 return translator_ldl_end(env, db, pc, MO_TE); in translator_ldl() 205 translator_ldq(CPUArchState *env, DisasContextBase *db, vaddr pc) in translator_ldq() argument [all …]
|
| /openbmc/qemu/target/xtensa/ |
| H A D | exc_helper.c | 47 void HELPER(exception_cause)(CPUXtensaState *env, uint32_t pc, uint32_t cause) in HELPER() 51 env->pc = pc; in HELPER() 54 env->sregs[DEPC] = pc; in HELPER() 56 env->sregs[EPC1] = pc; in HELPER() 60 env->sregs[EPC1] = pc; in HELPER() 71 uint32_t pc, uint32_t cause, uint32_t vaddr) in HELPER() 74 HELPER(exception_cause)(env, pc, cause); in HELPER() 80 HELPER(debug_exception)(env, env->pc, cause); in debug_exception_env() 84 void HELPER(debug_exception)(CPUXtensaState *env, uint32_t pc, uint32_t cause) in HELPER() 88 env->pc = pc; in HELPER() [all …]
|
| /openbmc/u-boot/drivers/clk/sifive/ |
| H A D | fu540-prci.c | 187 int (*set_rate)(struct __prci_clock *pc, 190 unsigned long (*round_rate)(struct __prci_clock *pc, 193 unsigned long (*recalc_rate)(struct __prci_clock *pc, 402 struct __prci_clock *pc, in sifive_fu540_prci_wrpll_recalc_rate() argument 405 struct __prci_wrpll_data *pwd = pc->pwd; in sifive_fu540_prci_wrpll_recalc_rate() 411 struct __prci_clock *pc, in sifive_fu540_prci_wrpll_round_rate() argument 415 struct __prci_wrpll_data *pwd = pc->pwd; in sifive_fu540_prci_wrpll_round_rate() 425 static int sifive_fu540_prci_wrpll_set_rate(struct __prci_clock *pc, in sifive_fu540_prci_wrpll_set_rate() argument 429 struct __prci_wrpll_data *pwd = pc->pwd; in sifive_fu540_prci_wrpll_set_rate() 430 struct __prci_data *pd = pc->pd; in sifive_fu540_prci_wrpll_set_rate() [all …]
|
| /openbmc/qemu/hw/ppc/ |
| H A D | pnv_core.c | 35 static const char *pnv_core_cpu_typename(PnvCore *pc) in pnv_core_cpu_typename() argument 37 const char *core_type = object_class_get_name(object_get_class(OBJECT(pc))); in pnv_core_cpu_typename() 45 static void pnv_core_cpu_reset(PnvCore *pc, PowerPCCPU *cpu) in pnv_core_cpu_reset() argument 49 PnvChipClass *pcc = PNV_CHIP_GET_CLASS(pc->chip); in pnv_core_cpu_reset() 60 env->spr[SPR_HRMOR] = pc->hrmor; in pnv_core_cpu_reset() 61 if (pc->big_core) { in pnv_core_cpu_reset() 70 pcc->intc_reset(pc->chip, cpu); in pnv_core_cpu_reset() 195 PnvCore *pc = PNV_CORE(opaque); in pnv_core_power10_xscom_read() local 196 int nr_threads = CPU_CORE(pc)->nr_threads; in pnv_core_power10_xscom_read() 204 PowerPCCPU *cpu = pc->threads[i]; in pnv_core_power10_xscom_read() [all …]
|
| /openbmc/u-boot/arch/arm/include/asm/arch-mx6/ |
| H A D | mx6-pins.h | 10 #define MX6_PAD_DECLARE(prefix, name, pco, mc, mm, sio, si, pc) \ argument 11 prefix##name = IOMUX_PAD(pco, mc, mm, sio, si, pc) 15 #define MX6_PAD_DECL(name, pco, mc, mm, sio, si, pc) \ argument 16 MX6_PAD_DECLARE(MX6Q_PAD_,name, pco, mc, mm, sio, si, pc), 19 #define MX6_PAD_DECL(name, pco, mc, mm, sio, si, pc) \ argument 20 MX6_PAD_DECLARE(MX6DL_PAD_,name, pco, mc, mm, sio, si, pc), 25 #define MX6_PAD_DECL(name, pco, mc, mm, sio, si, pc) \ argument 26 MX6_PAD_DECLARE(MX6_PAD_,name, pco, mc, mm, sio, si, pc), 31 #define MX6_PAD_DECL(name, pco, mc, mm, sio, si, pc) \ argument 32 MX6_PAD_DECLARE(MX6_PAD_,name, pco, mc, mm, sio, si, pc),
|
| /openbmc/qemu/hw/char/ |
| H A D | serial-pci-multi.c | 79 static size_t multi_serial_get_port_count(PCIDeviceClass *pc) in multi_serial_get_port_count() argument 81 switch (pc->device_id) { in multi_serial_get_port_count() 94 PCIDeviceClass *pc = PCI_DEVICE_GET_CLASS(dev); in multi_serial_pci_realize() local 97 size_t i, nports = multi_serial_get_port_count(pc); in multi_serial_pci_realize() 148 PCIDeviceClass *pc = PCI_DEVICE_CLASS(klass); in multi_2x_serial_pci_class_initfn() local 149 pc->realize = multi_serial_pci_realize; in multi_2x_serial_pci_class_initfn() 150 pc->exit = multi_serial_pci_exit; in multi_2x_serial_pci_class_initfn() 151 pc->vendor_id = PCI_VENDOR_ID_REDHAT; in multi_2x_serial_pci_class_initfn() 152 pc->device_id = PCI_DEVICE_ID_REDHAT_SERIAL2; in multi_2x_serial_pci_class_initfn() 153 pc->revision = 1; in multi_2x_serial_pci_class_initfn() [all …]
|
| H A D | diva-gsp.c | 91 static struct diva_info diva_get_diva_info(PCIDeviceClass *pc) in diva_get_diva_info() argument 93 switch (pc->subsystem_id) { in diva_get_diva_info() 119 PCIDeviceClass *pc = PCI_DEVICE_GET_CLASS(dev); in diva_pci_realize() local 122 struct diva_info di = diva_get_diva_info(pc); in diva_pci_realize() 187 PCIDeviceClass *pc = PCI_DEVICE_CLASS(klass); in diva_serial_class_initfn() local 188 pc->realize = diva_pci_realize; in diva_serial_class_initfn() 189 pc->exit = diva_pci_exit; in diva_serial_class_initfn() 190 pc->vendor_id = PCI_VENDOR_ID_HP; in diva_serial_class_initfn() 191 pc->device_id = PCI_DEVICE_ID_HP_DIVA; in diva_serial_class_initfn() 192 pc->subsystem_vendor_id = PCI_VENDOR_ID_HP; in diva_serial_class_initfn() [all …]
|
| /openbmc/u-boot/include/linux/ |
| H A D | rbtree_augmented.h | 77 #define __rb_parent(pc) ((struct rb_node *)(pc & ~3)) argument 79 #define __rb_color(pc) ((pc) & 1) argument 80 #define __rb_is_black(pc) __rb_color(pc) argument 81 #define __rb_is_red(pc) (!__rb_color(pc)) argument 119 unsigned long pc; in __rb_erase_augmented() local 129 pc = node->__rb_parent_color; in __rb_erase_augmented() 130 parent = __rb_parent(pc); in __rb_erase_augmented() 133 child->__rb_parent_color = pc; in __rb_erase_augmented() 136 rebalance = __rb_is_black(pc) ? parent : NULL; in __rb_erase_augmented() 140 tmp->__rb_parent_color = pc = node->__rb_parent_color; in __rb_erase_augmented() [all …]
|
| /openbmc/qemu/linux-user/loongarch64/ |
| H A D | cpu_loop.c | 37 env->pc += 4; in cpu_loop() 44 env->pc -= 4; in cpu_loop() 57 force_sig_fault(TARGET_SIGILL, 0, env->pc); in cpu_loop() 72 force_sig_fault(TARGET_SIGFPE, si_code, env->pc); in cpu_loop() 75 force_sig_fault(TARGET_SIGTRAP, TARGET_TRAP_BRKPT, env->pc); in cpu_loop() 81 get_user_u32(opcode, env->pc); in cpu_loop() 85 force_sig_fault(TARGET_SIGFPE, TARGET_FPE_INTOVF, env->pc); in cpu_loop() 88 force_sig_fault(TARGET_SIGFPE, TARGET_FPE_INTDIV, env->pc); in cpu_loop() 91 force_sig_fault(TARGET_SIGTRAP, TARGET_TRAP_BRKPT, env->pc); in cpu_loop() 96 force_sig_fault(TARGET_SIGSYS, TARGET_SI_KERNEL, env->pc); in cpu_loop() [all …]
|
| /openbmc/phosphor-pid-control/pid/ec/ |
| H A D | logging.cpp | 76 const PidCoreContext& pc) in DumpContextData() argument 79 file << "," << pc.input << "," << pc.setpoint << "," << pc.error; in DumpContextData() 80 file << "," << pc.proportionalTerm; in DumpContextData() 81 file << "," << pc.integralTerm1 << "," << pc.integralTerm2; in DumpContextData() 82 file << "," << pc.derivativeTerm; in DumpContextData() 83 file << "," << pc.feedFwdTerm << "," << pc.output1 << "," << pc.output2; in DumpContextData() 84 file << "," << pc.minOut << "," << pc.maxOut; in DumpContextData() 85 file << "," << pc.integralTerm3 << "," << pc.output3; in DumpContextData() 86 file << "," << pc.integralTerm << "," << pc.output; in DumpContextData()
|
| /openbmc/openbmc/poky/meta/recipes-graphics/xorg-lib/xtrans/ |
| H A D | multilibfix.patch | 4 Subject: [PATCH] xtrans: Fix multilib .pc file conflict 6 The xtrans.pc file is installed into a non-arch directory yet contains libdir 7 which can vary depending on which multilib is configured. The .pc file does 13 xtrans.pc.in | 1 - 16 diff --git a/xtrans.pc.in b/xtrans.pc.in 18 --- a/xtrans.pc.in 19 +++ b/xtrans.pc.in
|
| /openbmc/u-boot/arch/sh/include/asm/ |
| H A D | ptrace.h | 54 unsigned long pc; member 89 #define instruction_pointer(regs) ((regs)->pc) 104 unsigned long pc = instruction_pointer(regs); in profile_pc() local 106 if (pc >= 0xa0000000UL && pc < 0xc0000000UL) in profile_pc() 107 pc -= 0x20000000; in profile_pc() 108 return pc; in profile_pc()
|
| /openbmc/qemu/docs/devel/migration/ |
| H A D | compatibility.rst | 26 - pc-q35-5.2 (newer one in qemu-5.2) from now on pc-5.2 27 - pc-q35-5.1 (newer one in qemu-5.1) from now on pc-5.1 40 1 - qemu-5.2 -M pc-5.2 -> migrates to -> qemu-5.2 -M pc-5.2 45 2 - qemu-5.1 -M pc-5.1 -> migrates to -> qemu-5.1 -M pc-5.1 55 the latest machine type for that version (pc-5.2) but one of an older 56 QEMU version, in this case pc-5.1. 58 3 - qemu-5.2 -M pc-5.1 -> migrates to -> qemu-5.2 -M pc-5.1 60 It needs to use the definition of pc-5.1 and the devices as they 63 idea of what the pc-5.1 machine is. 65 4 - qemu-5.1 -M pc-5.2 -> migrates to -> qemu-5.1 -M pc-5.2 [all …]
|
| /openbmc/qemu/disas/ |
| H A D | objdump.c | 10 static int print_insn_objdump(bfd_vma pc, disassemble_info *info, in print_insn_objdump() argument 16 if (info->read_memory_func(pc, buf, n, info) == 0) { in print_insn_objdump() 29 int print_insn_od_host(bfd_vma pc, disassemble_info *info) in print_insn_od_host() argument 31 return print_insn_objdump(pc, info, "OBJD-H"); in print_insn_od_host() 34 int print_insn_od_target(bfd_vma pc, disassemble_info *info) in print_insn_od_target() argument 36 return print_insn_objdump(pc, info, "OBJD-T"); in print_insn_od_target()
|
| H A D | capstone.c | 178 bool cap_disas_target(disassemble_info *info, uint64_t pc, size_t size) in cap_disas_target() argument 194 if (info->read_memory_func(pc + csize, cap_buf + csize, tsize, info) == 0) { in cap_disas_target() 198 while (cs_disasm_iter(handle, &cbuf, &csize, &pc, insn)) { in cap_disas_target() 228 "0x%08" PRIx64 ": unable to read memory\n", pc); in cap_disas_target() 243 uint64_t pc; in cap_disas_host() local 251 pc = (uintptr_t)code; in cap_disas_host() 253 while (cs_disasm_iter(handle, &cbuf, &size, &pc, insn)) { in cap_disas_host() 267 bool cap_disas_monitor(disassemble_info *info, uint64_t pc, int count) in cap_disas_monitor() argument 289 uint64_t epc = QEMU_ALIGN_UP(pc + csize + 1, 1024); in cap_disas_monitor() 290 size_t tsize = MIN(sizeof(cap_buf) - csize, epc - pc); in cap_disas_monitor() [all …]
|
| /openbmc/qemu/target/microblaze/ |
| H A D | helper.c | 45 addr, env->pc, iflags); in mb_unaligned_access_internal() 173 env->pc, msr, env->iflags); in mb_cpu_do_interrupt() 185 env->regs[17] = env->pc + 4; in mb_cpu_do_interrupt() 186 env->pc = cpu->cfg.base_vectors + 0x20; in mb_cpu_do_interrupt() 193 env->pc, msr, env->ear, env->iflags); in mb_cpu_do_interrupt() 202 env->regs[17] = env->pc - (env->iflags & BIMM_FLAG ? 8 : 4); in mb_cpu_do_interrupt() 205 env->regs[17] = env->pc - 4; in mb_cpu_do_interrupt() 207 env->regs[17] = env->pc; in mb_cpu_do_interrupt() 212 env->pc = cpu->cfg.base_vectors + 0x20; in mb_cpu_do_interrupt() 222 env->pc, msr, env->iflags); in mb_cpu_do_interrupt() [all …]
|
| /openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/libsquish/libsquish/ |
| H A D | 0001-Add-support-for-variable-libdir.patch | 14 squish.pc.in | 3 ++- 22 all : $(LIB) squish.pc 24 install : $(LIB) squish.pc 27 - install squish.pc $(INSTALL_DIR)/lib/pkgconfig 30 + install squish.pc $(INSTALL_DIR)/lib$(LIBDIR_SUFFIX)/pkgconfig 41 squish.pc: 55 diff --git a/squish.pc.in b/squish.pc.in 57 --- a/squish.pc.in 58 +++ b/squish.pc.in
|
| /openbmc/u-boot/fs/yaffs2/ |
| H A D | yaffs_qsort.c | 63 char *pa, *pb, *pc, *pd, *pl, *pm, *pn; in yaffs_qsort() local 91 pc = pd = (char *)a + (n - 1) * es; in yaffs_qsort() 93 while (pb <= pc && (r = cmp(pb, a)) <= 0) { in yaffs_qsort() 101 while (pb <= pc && (r = cmp(pc, a)) >= 0) { in yaffs_qsort() 104 yswap(pc, pd); in yaffs_qsort() 107 pc -= es; in yaffs_qsort() 109 if (pb > pc) in yaffs_qsort() 111 yswap(pb, pc); in yaffs_qsort() 114 pc -= es; in yaffs_qsort() 127 r = min((long)(pd - pc), (long)(pn - pd - es)); in yaffs_qsort() [all …]
|
| /openbmc/phosphor-fan-presence/control/templates/ |
| H A D | fan_zone_defs.cpp.mako | 100 %if ('pc' in event) and \ 101 (event['pc'] is not None): 103 "${event['pc']['pcname']}", 106 %for group in event['pc']['pcgrps']: 117 %for i, a in enumerate(event['pc']['pcact']): 133 %for pcevt in event['pc']['pcevts']: 144 %if ('pc' in event) and (event['pc'] is not None): 150 %if ('timer' in event['pc']['triggers']) and \ 151 (event['pc']['triggers']['timer'] is not None): 153 ${event['pc']['triggers']['pctime']['interval']}, [all …]
|
| /openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-pybind11-json/ |
| H A D | d72ad4df929bc9d0882298fc1f85ecf589456ff6.patch | 6 Create and install pkg-config (.pc) file for dependency detection. 11 pybind11_json.pc.in | 7 +++++++ 13 create mode 100644 pybind11_json.pc.in 43 +configure_file("${CMAKE_CURRENT_SOURCE_DIR}/pybind11_json.pc.in" 44 + "${CMAKE_CURRENT_BINARY_DIR}/pybind11_json.pc" @ONLY) 45 +install(FILES "${CMAKE_CURRENT_BINARY_DIR}/pybind11_json.pc" 47 diff --git a/pybind11_json.pc.in b/pybind11_json.pc.in 51 +++ b/pybind11_json.pc.in
|