/openbmc/qemu/target/i386/tcg/ |
H A D | cc_helper.c | 48 return (src1 & ~CC_C) | (dst * CC_C); in compute_all_adcx() 54 return (src1 & ~CC_O) | (src2 * CC_O); in compute_all_adox() 60 return (src1 & ~(CC_C | CC_O)) | (dst * CC_C) | (src2 * CC_O); in compute_all_adcox() 67 return ~src1 & CC_Z; in helper_cc_compute_nz() 72 return dst & mask; in helper_cc_compute_nz() 81 return 0; in helper_cc_compute_all() 84 return src1; in helper_cc_compute_all() 86 return dst ? 0 : CC_Z; in helper_cc_compute_all() 89 return compute_all_mulb(dst, src1); in helper_cc_compute_all() 91 return compute_all_mulw(dst, src1); in helper_cc_compute_all() [all …]
|
/openbmc/qemu/nbd/ |
H A D | common.c | 26 /* Discard length bytes from channel. Return -errno on failure and 0 on 49 return ret; in nbd_drop() 57 return "export name"; in nbd_opt_lookup() 59 return "abort"; in nbd_opt_lookup() 61 return "list"; in nbd_opt_lookup() 63 return "starttls"; in nbd_opt_lookup() 65 return "info"; in nbd_opt_lookup() 67 return "go"; in nbd_opt_lookup() 69 return "structured reply"; in nbd_opt_lookup() 71 return "list meta context"; in nbd_opt_lookup() [all …]
|
/openbmc/u-boot/lib/ |
H A D | tpm_api.c | 17 return tpm1_startup(dev, mode); in tpm_startup() 30 return -EINVAL; in tpm_startup() 32 return tpm2_startup(dev, type); in tpm_startup() 34 return -ENOSYS; in tpm_startup() 41 return tpm2_auto_start(dev); in tpm_auto_start() 43 return -ENOSYS; in tpm_auto_start() 49 return tpm1_startup(dev, TPM_ST_STATE); in tpm_resume() 51 return tpm2_startup(dev, TPM2_SU_STATE); in tpm_resume() 53 return -ENOSYS; in tpm_resume() 59 return tpm1_self_test_full(dev); in tpm_self_test_full() [all …]
|
/openbmc/qemu/tests/qemu-iotests/tests/ |
H A D | image-fleecing.out | 13 {"return": {}} 14 {"return": {}} 18 {"return": {}} 19 {"return": {}} 34 {"return": ""} 36 {"return": ""} 38 {"return": ""} 40 {"return": ""} 54 {"return": {}} 55 {"return": {}} [all …]
|
/openbmc/qemu/target/arm/ |
H A D | cpu-features.h | 40 * _any_ in their name, and always return the logical OR of the _aa64_ 49 return FIELD_EX32_IDREG(id, ID_ISAR0, DIVIDE) != 0; in isar_feature_aa32_thumb_div() 54 return FIELD_EX32_IDREG(id, ID_ISAR0, DIVIDE) > 1; in isar_feature_aa32_arm_div() 60 return FIELD_EX32_IDREG(id, ID_ISAR0, CMPBRANCH) >= 3; in isar_feature_aa32_lob() 65 return FIELD_EX32_IDREG(id, ID_ISAR1, JAZELLE) != 0; in isar_feature_aa32_jazelle() 70 return FIELD_EX32_IDREG(id, ID_ISAR5, AES) != 0; in isar_feature_aa32_aes() 75 return FIELD_EX32_IDREG(id, ID_ISAR5, AES) > 1; in isar_feature_aa32_pmull() 80 return FIELD_EX32_IDREG(id, ID_ISAR5, SHA1) != 0; in isar_feature_aa32_sha1() 85 return FIELD_EX32_IDREG(id, ID_ISAR5, SHA2) != 0; in isar_feature_aa32_sha2() 90 return FIELD_EX32_IDREG(id, ID_ISAR5, CRC32) != 0; in isar_feature_aa32_crc32() [all …]
|
/openbmc/qemu/include/qemu/ |
H A D | int128.h | 9 * or return values of this type, force use of the Int128 struct. 17 return a; in int128_make64() 22 return a; in int128_makes64() 27 return (__uint128_t)hi << 64 | lo; in int128_make128() 34 return r; in int128_get64() 39 return a; in int128_getlo() 44 return a >> 64; in int128_gethi() 49 return 0; in int128_zero() 54 return 1; in int128_one() 59 return (Int128)1 << 64; in int128_2_64() [all …]
|
/openbmc/qemu/target/s390x/tcg/ |
H A D | cc_helper.c | 38 return 0; in cc_calc_ltgt_32() 40 return 1; in cc_calc_ltgt_32() 42 return 2; in cc_calc_ltgt_32() 48 return cc_calc_ltgt_32(dst, 0); in cc_calc_ltgt0_32() 54 return 0; in cc_calc_ltgt_64() 56 return 1; in cc_calc_ltgt_64() 58 return 2; in cc_calc_ltgt_64() 64 return cc_calc_ltgt_64(dst, 0); in cc_calc_ltgt0_64() 70 return 0; in cc_calc_ltugtu_32() 72 return 1; in cc_calc_ltugtu_32() [all …]
|
/openbmc/libpldm/src/dsp/ |
H A D | firmware_update.c | 21 * @return true if string type value is valid, false if not 27 return false; in is_string_type_valid() 33 return true; in is_string_type_valid() 35 return false; in is_string_type_valid() 39 /** @brief Return the length of the descriptor type described in firmware update 42 * @return length of the descriptor type if descriptor type is valid else 43 * return 0 49 return PLDM_FWUP_PCI_VENDOR_ID_LENGTH; in get_descriptor_type_length() 51 return PLDM_FWUP_IANA_ENTERPRISE_ID_LENGTH; in get_descriptor_type_length() 53 return PLDM_FWUP_UUID_LENGTH; in get_descriptor_type_length() [all …]
|
H A D | platform.c | 28 return PLDM_ERROR; in encode_state_effecter_pdr() 33 return PLDM_ERROR; in encode_state_effecter_pdr() 39 return PLDM_ERROR_INVALID_LENGTH; in encode_state_effecter_pdr() 67 return PLDM_ERROR; in encode_state_effecter_pdr() 96 return PLDM_SUCCESS; in encode_state_effecter_pdr() 109 return PLDM_ERROR; in encode_state_sensor_pdr() 114 return PLDM_ERROR; in encode_state_sensor_pdr() 120 return PLDM_ERROR_INVALID_LENGTH; in encode_state_sensor_pdr() 147 return PLDM_ERROR; in encode_state_sensor_pdr() 173 return PLDM_SUCCESS; in encode_state_sensor_pdr() [all …]
|
/openbmc/libpldm/src/msgbuf/ |
H A D | platform.h | 24 return rc; in pldm_msgbuf_extract_value_pdr_hdr() 28 return -EOVERFLOW; in pldm_msgbuf_extract_value_pdr_hdr() 32 return -EOVERFLOW; in pldm_msgbuf_extract_value_pdr_hdr() 35 return 0; in pldm_msgbuf_extract_value_pdr_hdr() 45 return pldm_msgbuf_extract(ctx, dst->value_u8); in pldm_msgbuf_extract_sensor_data() 47 return pldm_msgbuf_extract(ctx, dst->value_s8); in pldm_msgbuf_extract_sensor_data() 49 return pldm_msgbuf_extract(ctx, dst->value_u16); in pldm_msgbuf_extract_sensor_data() 51 return pldm_msgbuf_extract(ctx, dst->value_s16); in pldm_msgbuf_extract_sensor_data() 53 return pldm_msgbuf_extract(ctx, dst->value_u32); in pldm_msgbuf_extract_sensor_data() 55 return pldm_msgbuf_extract(ctx, dst->value_s32); in pldm_msgbuf_extract_sensor_data() [all …]
|
/openbmc/sdeventplus/src/sdeventplus/internal/ |
H A D | sdevent.cpp | 12 return ::sd_event_default(event); in sd_event_default() 17 return ::sd_event_new(event); in sd_event_new() 22 return ::sd_event_ref(event); in sd_event_ref() 27 return ::sd_event_unref(event); in sd_event_unref() 34 return ::sd_event_add_io(event, source, fd, events, callback, userdata); in sd_event_add_io() 41 return ::sd_event_add_time(event, source, clock, usec, accuracy, callback, in sd_event_add_time() 49 return ::sd_event_add_defer(event, source, callback, userdata); in sd_event_add_defer() 56 return ::sd_event_add_post(event, source, callback, userdata); in sd_event_add_post() 63 return ::sd_event_add_exit(event, source, callback, userdata); in sd_event_add_exit() 68 return ::sd_event_prepare(event); in sd_event_prepare() [all …]
|
/openbmc/u-boot/drivers/power/ |
H A D | axp221.c | 25 return (mvolt - min) / div; in axp221_mvolt_to_cfg() 34 return pmic_bus_clrbits(AXP221_OUTPUT_CTRL1, in axp_set_dcdc1() 39 return ret; in axp_set_dcdc1() 44 return ret; in axp_set_dcdc1() 46 return pmic_bus_setbits(AXP221_OUTPUT_CTRL1, in axp_set_dcdc1() 56 return pmic_bus_clrbits(AXP221_OUTPUT_CTRL1, in axp_set_dcdc2() 61 return ret; in axp_set_dcdc2() 63 return pmic_bus_setbits(AXP221_OUTPUT_CTRL1, in axp_set_dcdc2() 73 return pmic_bus_clrbits(AXP221_OUTPUT_CTRL1, in axp_set_dcdc3() 78 return ret; in axp_set_dcdc3() [all …]
|
H A D | axp809.c | 26 return (mvolt - min) / div; in axp809_mvolt_to_cfg() 35 return pmic_bus_clrbits(AXP809_OUTPUT_CTRL1, in axp_set_dcdc1() 40 return ret; in axp_set_dcdc1() 45 return ret; in axp_set_dcdc1() 47 return pmic_bus_setbits(AXP809_OUTPUT_CTRL1, in axp_set_dcdc1() 57 return pmic_bus_clrbits(AXP809_OUTPUT_CTRL1, in axp_set_dcdc2() 62 return ret; in axp_set_dcdc2() 64 return pmic_bus_setbits(AXP809_OUTPUT_CTRL1, in axp_set_dcdc2() 74 return pmic_bus_clrbits(AXP809_OUTPUT_CTRL1, in axp_set_dcdc3() 79 return ret; in axp_set_dcdc3() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-security/softhsm/files/ |
H A D | 0002-Prevent-accessing-of-global-c-objects-once-they-are-.patch | 63 + return CKR_FUNCTION_FAILED; 64 return SoftHSM::i()->C_Initialize(pInitArgs); 72 + return CKR_FUNCTION_FAILED; 73 return SoftHSM::i()->C_Finalize(pReserved); 81 + return CKR_FUNCTION_FAILED; 82 return SoftHSM::i()->C_GetInfo(pInfo); 90 + return CKR_FUNCTION_FAILED; 91 if (ppFunctionList == NULL_PTR) return CKR_ARGUMENTS_BAD; 99 + return CKR_FUNCTION_FAILED; 100 return SoftHSM::i()->C_GetSlotList(tokenPresent, pSlotList, pulCount); [all …]
|
/openbmc/qemu/target/hexagon/idef-parser/ |
H A D | idef-parser.lex | 68 return INAME; } 75 "0x1.0p-52" { return FAIL; } 76 "in" { return IN; } 85 return REG; } 94 return REG; } 102 return REG; } 111 return REG; } 120 return REG; } 128 return IMM; } 135 return PRED; } [all …]
|
/openbmc/qemu/hw/net/ |
H A D | igbvf.c | 67 return E1000_PVTCTRL(vfn); in vf_to_pf_addr() 69 return E1000_PVTEICS(vfn); in vf_to_pf_addr() 71 return E1000_PVTEIMS(vfn); in vf_to_pf_addr() 73 return E1000_PVTEIMC(vfn); in vf_to_pf_addr() 75 return E1000_PVTEIAC(vfn); in vf_to_pf_addr() 77 return E1000_PVTEIAM(vfn); in vf_to_pf_addr() 79 return E1000_PVTEICR(vfn); in vf_to_pf_addr() 83 return E1000_EITR(22) + (addr - E1000_EITR(0)) - vfn * 0xC; in vf_to_pf_addr() 85 return E1000_VTIVAR + vfn * 4; in vf_to_pf_addr() 87 return E1000_VTIVAR_MISC + vfn * 4; in vf_to_pf_addr() [all …]
|
/openbmc/u-boot/drivers/core/ |
H A D | read.c | 16 return ofnode_read_u32(dev_ofnode(dev), propname, outp); in dev_read_u32() 21 return ofnode_read_u32_default(dev_ofnode(dev), propname, def); in dev_read_u32_default() 26 return ofnode_read_u32(dev_ofnode(dev), propname, (u32 *)outp); in dev_read_s32() 31 return ofnode_read_u32_default(dev_ofnode(dev), propname, def); in dev_read_s32_default() 41 return ret; in dev_read_u32u() 44 return 0; in dev_read_u32u() 49 return ofnode_read_string(dev_ofnode(dev), propname); in dev_read_string() 54 return ofnode_read_bool(dev_ofnode(dev), propname); in dev_read_bool() 59 return ofnode_find_subnode(dev_ofnode(dev), subnode_name); in dev_read_subnode() 64 return ofnode_first_subnode(dev_ofnode(dev)); in dev_read_first_subnode() [all …]
|
H A D | uclass.c | 27 return NULL; in uclass_find() 35 return uc; in uclass_find() 38 return NULL; in uclass_find() 45 * @return 0 on success, -ve on error 66 return -EPFNOSUPPORT; in uclass_add() 70 return -ENOMEM; in uclass_add() 91 return 0; in uclass_add() 101 return ret; in uclass_add() 121 return ret; in uclass_destroy() 124 return ret; in uclass_destroy() [all …]
|
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/templatetags/ |
H A D | projecttags.py | 22 return end_time - start_time 31 return "%02d:%02d:%02d" % (hours, int((tdsec - (hours * 3600))/ 60), int(tdsec) % 60) 36 return list(target + ':' + task if task else target \ 45 …return mark_safe(JsonLib.dumps(value, indent=2, default = default, ensure_ascii=False).replace('</… 55 return qs.filter(**kwargs) 72 return value[slice(*bits)] 79 return -1 80 return int(value) // int(arg) 84 return int(value) * int(arg) 88 return start + timedelta(delta) [all …]
|
/openbmc/qemu/hw/misc/ |
H A D | imx6_ccm.c | 26 return "CCR"; in imx6_ccm_reg_name() 28 return "CCDR"; in imx6_ccm_reg_name() 30 return "CSR"; in imx6_ccm_reg_name() 32 return "CCSR"; in imx6_ccm_reg_name() 34 return "CACRR"; in imx6_ccm_reg_name() 36 return "CBCDR"; in imx6_ccm_reg_name() 38 return "CBCMR"; in imx6_ccm_reg_name() 40 return "CSCMR1"; in imx6_ccm_reg_name() 42 return "CSCMR2"; in imx6_ccm_reg_name() 44 return "CSCDR1"; in imx6_ccm_reg_name() [all …]
|
/openbmc/u-boot/drivers/block/ |
H A D | blk_legacy.c | 18 return entry; in blk_driver_lookup_type() 22 return NULL; in blk_driver_lookup_type() 33 return entry; in blk_driver_lookup_typename() 37 return NULL; in blk_driver_lookup_typename() 44 return drv ? drv->if_typename : NULL; in blk_get_if_type_name() 53 * @return 0 on success, -ENODEV if there is no such device, -ENOSYS if the 61 return -ENODEV; in get_desc() 63 return 0; in get_desc() 66 return -ENOSYS; in get_desc() 68 return drv->get_dev(devnum, descp); in get_desc() [all …]
|
/openbmc/u-boot/drivers/usb/common/ |
H A D | fsl-errata.c | 30 return IS_SVR_REV(svr, 1, 0); in has_dual_phy() 37 return IS_SVR_REV(svr, 1, 0) || IS_SVR_REV(svr, 1, 1); in has_dual_phy() 41 return IS_SVR_REV(svr, 1, 0) || IS_SVR_REV(svr, 2, 0); in has_dual_phy() 45 return false; in has_dual_phy() 54 return false; in has_erratum_a005275() 61 return IS_SVR_REV(svr, 1, 0) || IS_SVR_REV(svr, 1, 1); in has_erratum_a005275() 65 return IS_SVR_REV(svr, 1, 0) || IS_SVR_REV(svr, 2, 0); in has_erratum_a005275() 68 return IS_SVR_REV(svr, 1, 0); in has_erratum_a005275() 72 return false; in has_erratum_a005275() 83 return IS_SVR_REV(svr, 1, 0) || IS_SVR_REV(svr, 2, 0); in has_erratum_a006261() [all …]
|
/openbmc/telemetry/src/utils/ |
H A D | tstring.hpp | 15 return "id"; in str() 23 return "sensorPath"; in str() 31 return "metadata"; in str() 39 return "operationType"; in str() 47 return "service"; in str() 55 return "path"; in str() 63 return "type"; in str() 71 return "dwellTime"; in str() 79 return "direction"; in str() 87 return "thresholdValue"; in str() [all …]
|
/openbmc/qemu/target/i386/ |
H A D | gdbstub.c | 89 return gdb_get_reg64(buf, val); in gdb_read_reg_cs64() 91 return gdb_get_reg32(buf, val); in gdb_read_reg_cs64() 98 return 8; in gdb_write_reg_cs64() 101 return 4; in gdb_write_reg_cs64() 108 return gdb_get_reg64(mem_buf, val); in gdb_get_reg() 110 return gdb_get_reg64(mem_buf, val & 0xffffffffUL); in gdb_get_reg() 113 return gdb_get_reg32(mem_buf, val); in gdb_get_reg() 131 return gdb_get_reg64(mem_buf, env->regs[gpr_map[n]]); in x86_cpu_gdb_read_register() 133 return gdb_get_reg64(mem_buf, in x86_cpu_gdb_read_register() 136 return gdb_get_regl(mem_buf, 0); in x86_cpu_gdb_read_register() [all …]
|
/openbmc/u-boot/include/ |
H A D | tpm_api.h | 19 * Return: return code of the operation 27 * Return: return code of the operation 35 * Return: return code of the operation 48 * Return: return code of the operation 61 * Return: return code of the operation 74 * Return: return code of the operation 90 * Return: return code of the operation 102 * Return: return code of the operation 112 * Return: return code of the operation 122 * Return: return code of the operation [all …]
|