Home
last modified time | relevance | path

Searched refs:inst (Results 1 – 25 of 53) sorted by relevance

123

/openbmc/qemu/target/riscv/
H A Dinstmap.h302 #define GET_B_IMM(inst) ((extract32(inst, 8, 4) << 1) \ argument
303 | (extract32(inst, 25, 6) << 5) \
304 | (extract32(inst, 7, 1) << 11) \
305 | (sextract64(inst, 31, 1) << 12))
307 #define GET_STORE_IMM(inst) ((extract32(inst, 7, 5)) \ argument
308 | (sextract64(inst, 25, 7) << 5))
310 #define GET_JAL_IMM(inst) ((extract32(inst, 21, 10) << 1) \ argument
311 | (extract32(inst, 20, 1) << 11) \
312 | (extract32(inst, 12, 8) << 12) \
313 | (sextract64(inst, 31, 1) << 20))
[all …]
/openbmc/qemu/disas/
H A Driscv-xthead.c251 rv_inst inst = dec->inst; in decode_xtheadba() local
254 switch (((inst >> 0) & 0b11)) { in decode_xtheadba()
256 switch (((inst >> 2) & 0b11111)) { in decode_xtheadba()
259 switch ((inst >> 12) & 0b111) { in decode_xtheadba()
261 switch ((inst >> 25) & 0b1111111) { in decode_xtheadba()
280 rv_inst inst = dec->inst; in decode_xtheadbb() local
283 switch (((inst >> 0) & 0b11)) { in decode_xtheadbb()
285 switch (((inst >> 2) & 0b11111)) { in decode_xtheadbb()
288 switch ((inst >> 12) & 0b111) { in decode_xtheadbb()
290 switch ((inst >> 25) & 0b1111111) { in decode_xtheadbb()
[all …]
H A Driscv.c2543 rv_inst inst = dec->inst; in decode_inst_opcode() local
2545 switch ((inst >> 0) & 0b11) { in decode_inst_opcode()
2547 switch ((inst >> 13) & 0b111) { in decode_inst_opcode()
2565 switch ((inst >> 10) & 0b111) { in decode_inst_opcode()
2568 if (((inst >> 6) & 1) == 0) { in decode_inst_opcode()
2576 if (((inst >> 6) & 1) == 0) { in decode_inst_opcode()
2600 switch ((inst >> 13) & 0b111) { in decode_inst_opcode()
2602 switch ((inst >> 2) & 0b11111111111) { in decode_inst_opcode()
2617 if ((((inst >> 2) & 0b111111) == 0b100000) && in decode_inst_opcode()
2618 (((inst >> 11) & 0b11) == 0b0)) { in decode_inst_opcode()
[all …]
H A Driscv-xventana.c25 rv_inst inst = dec->inst; in decode_xventanacondops() local
28 switch (((inst >> 0) & 0b11)) { in decode_xventanacondops()
30 switch (((inst >> 2) & 0b11111)) { in decode_xventanacondops()
32 switch (((inst >> 22) & 0b1111111000) | ((inst >> 12) & 0b0000000111)) { in decode_xventanacondops()
H A Dmicroblaze.c647 unsigned long inst; in read_insn_microblaze() local
658 inst = ((unsigned)ibytes[0] << 24) | (ibytes[1] << 16) in read_insn_microblaze()
661 inst = ((unsigned)ibytes[3] << 24) | (ibytes[2] << 16) in read_insn_microblaze()
668 if (op->bit_sequence == (inst & op->opcode_mask)) in read_insn_microblaze()
672 return inst; in read_insn_microblaze()
676 int immval, unsigned inst, int addend) in print_immval_addr() argument
680 immval |= get_int_field_imm(inst) & 0x0000ffff; in print_immval_addr()
682 immval = (int16_t)get_int_field_imm(inst); in print_immval_addr()
699 unsigned long inst, prev_inst; in print_insn_microblaze() local
711 inst = read_insn_microblaze (memaddr, info, &op); in print_insn_microblaze()
[all …]
/openbmc/u-boot/arch/nios2/include/asm/
H A Dopcodes.h10 #define OPCODE_OP(inst) ((inst) & 0x3f) argument
11 #define OPCODE_OPX(inst) (((inst)>>11) & 0x3f) argument
12 #define OPCODE_RA(inst) (((inst)>>27) & 01f) argument
13 #define OPCODE_RB(inst) (((inst)>>22) & 01f) argument
14 #define OPCODE_RC(inst) (((inst)>>17) & 01f) argument
/openbmc/dbus-sensors/src/
H A Dsensor.hpp165 auto& inst = *instrumentation; in updateInstrumentation() local
168 if ((inst.numCollectsGood == 0) && (inst.numCollectsMiss == 0)) in updateInstrumentation()
180 if (inst.numStreakMisses == 0) in updateInstrumentation()
185 "NAME", name, "NUM_COLLECTS_GOOD", inst.numCollectsGood, in updateInstrumentation()
186 "NUM_COLLECTS_MISS", inst.numCollectsMiss, in updateInstrumentation()
187 "NUM_STREAK_GREATS", inst.numStreakGreats); in updateInstrumentation()
190 inst.numStreakGreats = 0; in updateInstrumentation()
191 ++(inst.numCollectsMiss); in updateInstrumentation()
192 ++(inst.numStreakMisses); in updateInstrumentation()
198 if ((inst.numStreakGreats == 0) && (inst.numCollectsGood != 0)) in updateInstrumentation()
[all …]
/openbmc/openbmc/poky/meta-selftest/recipes-test/recipetool/
H A Dselftest-recipetool-appendfile.bb13 file://selftest-replaceme-inst-globfile \
14 file://selftest-replaceme-inst-todir-globfile \
15 file://selftest-replaceme-inst-func"
20 …install -m 0644 ${UNPACKDIR}/selftest-replaceme-inst-func ${D}${datadir}/selftest-replaceme-inst-f…
29 cp ${UNPACKDIR}/selftest-replaceme-inst-glob* ${D}${datadir}/selftest-replaceme-inst-globfile
30 cp ${UNPACKDIR}/selftest-replaceme-inst-todir-glob* ${D}${datadir}
/openbmc/u-boot/arch/arm/mach-tegra/tegra114/
H A Dcpu.c247 u32 imme, inst; in start_cpu() local
274 inst = imme & 0xfff; in start_cpu()
275 inst |= ((imme >> 12) << 16); in start_cpu()
276 inst |= 0xe3000000; in start_cpu()
277 writel(inst, 0x4003fff0); in start_cpu()
281 inst = imme & 0xfff; in start_cpu()
282 inst |= ((imme >> 12) << 16); in start_cpu()
283 inst |= 0xe3400000; in start_cpu()
284 writel(inst, 0x4003fff4); in start_cpu()
291 inst = (imme >> 2) & 0xffffff; in start_cpu()
[all …]
/openbmc/pyphosphor/obmc/dbuslib/
H A Dbindings.py41 inst = super(DbusProperties, self)
42 if hasattr(inst, 'unmask_signals'):
43 inst.unmask_signals()
47 inst = super(DbusProperties, self)
48 if hasattr(inst, 'mask_signals'):
49 inst.mask_signals()
171 inst = super(DbusObjectManager, self)
172 if hasattr(inst, 'unmask_signals'):
173 inst.unmask_signals()
177 inst = super(DbusObjectManager, self)
[all …]
/openbmc/openbmc/meta-phosphor/recipes-phosphor/power/
H A Dphosphor-power-systemd-links-monitor.bb12 for inst in ${OBMC_POWER_SUPPLY_INSTANCES}; do
13 … LINK="$D$systemd_system_unitdir/multi-user.target.requires/power-supply-monitor@$inst.service"
20 for inst in ${OBMC_POWER_SUPPLY_INSTANCES}; do
21 … LINK="$D$systemd_system_unitdir/multi-user.target.requires/power-supply-monitor@$inst.service"
/openbmc/phosphor-mrw-tools/
H A Dinventory.pl275 my ($inst) = $connector =~ /-(\d+)$/;
280 $card =~ s/^(\w+)-\d+/$1-$inst/;
380 my ($s, $inst) = $segment =~ /(\w+)-(\d+)/;
383 $instanceHash{$s}{inst} = $inst;
386 if ($instanceHash{$s}{inst} ne $inst) {
H A DInventory.pm374 my ($s, $inst) = $segment =~ /(\w+)-(\d+)/;
377 $instanceHash{$s}{inst} = $inst;
380 if ($instanceHash{$s}{inst} ne $inst) {
/openbmc/qemu/hw/ppc/
H A Dvof.c432 OfInstance *inst = NULL; in vof_do_open() local
439 inst = g_new0(OfInstance, 1); in vof_do_open()
440 inst->phandle = fdt_get_phandle(fdt, offset); in vof_do_open()
441 g_assert(inst->phandle); in vof_do_open()
444 inst->path = g_strdup(path); in vof_do_open()
447 inst); in vof_do_open()
451 trace_vof_open(path, inst ? inst->phandle : 0, ret); in vof_do_open()
460 uint32_t inst; in vof_client_open_store() local
468 inst = vof_do_open(fdt, vof, offset, path); in vof_client_open_store()
470 return fdt_setprop_cell(fdt, node, prop, inst) >= 0 ? 0 : PROM_ERROR; in vof_client_open_store()
[all …]
/openbmc/phosphor-power/
H A Ddevice.hpp33 Device(const std::string& name, size_t inst) : name(name), instance(inst) {} in Device() argument
/openbmc/witherspoon-pfault-analysis/
H A Ddevice.hpp33 Device(const std::string& name, size_t inst) : name(name), instance(inst) {} in Device() argument
/openbmc/qemu/target/s390x/tcg/
H A Dmisc_helper.c465 void HELPER(msch)(CPUS390XState *env, uint64_t r1, uint64_t inst) in HELPER()
469 ioinst_handle_msch(cpu, r1, inst >> 16, GETPC()); in HELPER()
498 void HELPER(schm)(CPUS390XState *env, uint64_t r1, uint64_t r2, uint64_t inst) in HELPER()
503 ioinst_handle_schm(cpu, r1, r2, inst >> 16, GETPC()); in HELPER()
507 void HELPER(ssch)(CPUS390XState *env, uint64_t r1, uint64_t inst) in HELPER()
511 ioinst_handle_ssch(cpu, r1, inst >> 16, GETPC()); in HELPER()
515 void HELPER(stcrw)(CPUS390XState *env, uint64_t inst) in HELPER()
520 ioinst_handle_stcrw(cpu, inst >> 16, GETPC()); in HELPER()
524 void HELPER(stsch)(CPUS390XState *env, uint64_t r1, uint64_t inst) in HELPER()
528 ioinst_handle_stsch(cpu, r1, inst >> 16, GETPC()); in HELPER()
[all …]
/openbmc/qemu/target/hexagon/idef-parser/
H A Dparser-helpers.c40 fprintf(stderr, "WARNING (%s): '%s'\n", c->inst.name->str, s); in yyerror()
66 c->inst.error_count++; in yyerror()
255 for (char *x = c->inst.code_begin; x < c->inst.code_end; x++) { in commit()
293 rvalue.tmp.index = c->inst.tmp_count; in gen_constant()
294 OUT(c, locp, "TCGv_i", &bit_width, " tmp_", &c->inst.tmp_count, in gen_constant()
296 c->inst.tmp_count++; in gen_constant()
313 rvalue.tmp.index = c->inst.tmp_count; in gen_tmp()
314 OUT(c, locp, "TCGv_i", &bit_width, " tmp_", &c->inst.tmp_count, in gen_tmp()
316 c->inst.tmp_count++; in gen_tmp()
331 rvalue.tmp.index = c->inst.tmp_count; in gen_constant_from_imm()
[all …]
/openbmc/skeleton/flashbios/
H A Dflash_bios_obj.c35 const gchar* inst = flash_get_flasher_instance(flash); in update() local
37 status = execlp(name, name, inst, filename, obj_path, NULL); in update()
246 const char* inst[] = {"bios"}; in on_bus_acquired() local
250 s = g_strdup_printf("%s/%s",dbus_object_path,inst[i]); in on_bus_acquired()
266 flash_set_flasher_instance(flash,inst[i]); in on_bus_acquired()
309 s = g_strdup_printf("/org/openbmc/control/%s",inst[i]); in on_bus_acquired()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings/
H A Dcmpi-bindings-0.4.17-sblim-sigsegv.patch28 inst = self.proxy.pywbem2cmpi_inst(instance, allow_null_ns)
29 rv = self.broker.deliverIndication(self.ctx, ns, inst)
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/nana/nana/
H A D0002-man-Makefile.am-we-seem-not-to-need-the-work-around-.patch53 - inst=`echo "nana" | sed '$(transform)'`.1; \
54 - echo installing nana.1 as $(mandir)/man$$sect/$$inst; \
55 - $(INSTALL_DATA) $(srcdir)/nana.1 $(mandir)/man$$sect/$$inst
/openbmc/openpower-hw-diags/analyzer/ras-data/
H A Dras-data-parser.cpp306 std::string inst{buf}; in parseSignature() local
313 i_data.at("signatures").at(id).at(bit).at(inst).get<std::string>(); in parseSignature()
318 bit.c_str(), inst.c_str()); in parseSignature()
476 auto inst = a.at("instance").get<unsigned int>(); in parseAction() local
478 o_list->push(std::make_shared<PluginResolution>(name, inst)); in parseAction()
/openbmc/qemu/tcg/mips/
H A Dtcg-target.c.inc376 int32_t inst;
378 inst = opc;
379 inst |= (rs & 0x1F) << 21;
380 inst |= (rt & 0x1F) << 16;
381 inst |= (rd & 0x1F) << 11;
382 tcg_out32(s, inst);
391 int32_t inst;
393 inst = opc;
394 inst |= (rs & 0x1F) << 21;
395 inst |= (rt & 0x1F) << 16;
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/rsyslog/rsyslog/
H A D0001-tests-tcpflood.c-Pass-correct-parameter-type-to-send.patch24 @@ -836,7 +836,7 @@ int sendMessages(struct instdata *inst)
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/ltrace/ltrace/
H A D0001-Add-support-for-mips64-n32-n64.patch969 @@ -162,9 +243,11 @@ mips32_relative_offset (uint32_t inst)
970 return ((itype_immediate(inst) ^ 0x8000) - 0x8000) << 2;
977 - uint32_t inst, rx;
978 + uint32_t inst;
1018 uint32_t inst;
1019 if (proc_read_32(proc, (arch_addr_t)scaddr, &inst) >= 0 &&
1020 - itype_op(inst) == 0x38) {
1021 + op_SC_p (itype_op(inst))) {
1055 uint32_t inst;
1061 - if (itype_op(inst) == 0x30)
[all …]

123