| /openbmc/u-boot/arch/arm/mach-socfpga/ |
| H A D | Kconfig | 1 if ARCH_SOCFPGA 13 select SPL_BOARD_INIT if SPL 15 select SPL_CLK if SPL 18 select SPL_DM_RESET if SPL 20 select SPL_REGMAP if SPL 22 select SPL_SYSCON if SPL 100 default "arria5-socdk" if TARGET_SOCFPGA_ARRIA5_SOCDK 101 default "arria10-socdk" if TARGET_SOCFPGA_ARRIA10_SOCDK 102 default "cyclone5-socdk" if TARGET_SOCFPGA_CYCLONE5_SOCDK 103 default "dbm-soc1" if TARGET_SOCFPGA_DEVBOARDS_DBM_SOC1 [all …]
|
| /openbmc/u-boot/arch/arm/mach-mvebu/ |
| H A D | Kconfig | 1 if ARCH_MVEBU 49 default "2000000000" if ARMADA_XP || ARMADA_3700 || ARMADA_8K 50 default "1000000000" if ARMADA_38X || ARMADA_375 127 select BOARD_LATE_INIT if USB 142 default "clearfog" if TARGET_CLEARFOG 143 default "helios4" if TARGET_HELIOS4 144 default "mvebu_armada-37xx" if TARGET_MVEBU_ARMADA_37XX 145 default "db-88f6720" if TARGET_DB_88F6720 146 default "db-88f6820-gp" if TARGET_DB_88F6820_GP 147 default "db-88f6820-amc" if TARGET_DB_88F6820_AMC [all …]
|
| /openbmc/qemu/hw/virtio/ |
| H A D | cbor-helpers.c | 22 if (!success) { in qemu_cbor_map_add() 35 if (!success) { in qemu_cbor_array_push() 48 if (!key_cbor) { in qemu_cbor_add_bool_to_map() 52 if (!value_cbor) { in qemu_cbor_add_bool_to_map() 55 if (!qemu_cbor_map_add(map, key_cbor, value_cbor)) { in qemu_cbor_add_bool_to_map() 62 if (key_cbor) { in qemu_cbor_add_bool_to_map() 65 if (value_cbor) { in qemu_cbor_add_bool_to_map() 78 if (!key_cbor) { in qemu_cbor_add_uint8_to_map() 82 if (!value_cbor) { in qemu_cbor_add_uint8_to_map() 85 if (!qemu_cbor_map_add(map, key_cbor, value_cbor)) { in qemu_cbor_add_uint8_to_map() [all …]
|
| H A D | virtio-nsm.c | 96 if (!root) { in error_response() 100 if (!qemu_cbor_add_string_to_map(root, "Error", error_string(error))) { in error_response() 105 if (len == 0) { in error_response() 114 if (root) { in error_response() 146 if (!root) { in handle_get_random() 150 if (!qemu_cbor_add_map_to_map(root, "GetRandom", 1, &nested_map)) { in handle_get_random() 156 if (!qemu_cbor_add_bytestring_to_map(nested_map, "random", rnd, in handle_get_random() 162 if (len == 0) { in handle_get_random() 163 if (error_response(response, NSM_INPUT_TOO_LARGE, errp)) { in handle_get_random() 173 if (root) { in handle_get_random() [all …]
|
| /openbmc/u-boot/arch/arm/cpu/armv8/fsl-layerscape/ |
| H A D | Kconfig | 4 select ARM_ERRATA_855873 if !TFABOOT 26 select ARM_ERRATA_855873 if !TFABOOT 34 select SYS_FSL_ERRATUM_A008850 if !TFABOOT 38 select SYS_FSL_ERRATUM_A009660 if !TFABOOT 39 select SYS_FSL_ERRATUM_A009663 if !TFABOOT 42 select SYS_FSL_ERRATUM_A009942 if !TFABOOT 66 select SYS_FSL_ERRATUM_A008336 if !TFABOOT 67 select SYS_FSL_ERRATUM_A008511 if !TFABOOT 68 select SYS_FSL_ERRATUM_A008850 if !TFABOOT 74 select SYS_FSL_ERRATUM_A009803 if !TFABOOT [all …]
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/pam/pam-ssh-agent-auth/ |
| H A D | 0002-Check-against-the-correct-OPENSSL_VERSION_NUMBER.patch | 28 -#if OPENSSL_VERSION_NUMBER < 0x10100000L 29 +#if OPENSSL_VERSION_NUMBER < 0x10100005L 37 -#if OPENSSL_VERSION_NUMBER < 0x10100000L 38 +#if OPENSSL_VERSION_NUMBER < 0x10100005L 46 -#if OPENSSL_VERSION_NUMBER < 0x10100000L 47 +#if OPENSSL_VERSION_NUMBER < 0x10100005L 55 -#if OPENSSL_VERSION_NUMBER < 0x10100000L 56 +#if OPENSSL_VERSION_NUMBER < 0x10100005L 64 -#if OPENSSL_VERSION_NUMBER < 0x10100000L 65 +#if OPENSSL_VERSION_NUMBER < 0x10100005L [all …]
|
| /openbmc/openbmc-tools/adcapp/src/ |
| H A D | EINTR_wrappers.c | 12 #if defined(__linux__) 43 …if ((timeout->tv_sec == 0) && (timeout->tv_nsec == 0)) // If both value are zero … in sigwrap_InitTimeout() 58 if (pDst->EndTime.tv_nsec >= OneSecondasNS) in sigwrap_InitTimeout() 68 …if (pTo->OnePoll == TRUE) // Make sure, that in the case that a single poll is requested at least … in sigwrap_CheckTimeout() 75 …if (Now.tv_sec > pTo->EndTime.tv_sec) // Can become a problem already in 2038 due to signed intege… in sigwrap_CheckTimeout() 81 if (pTo->Timeout.tv_sec == 0) in sigwrap_CheckTimeout() 83 if (pTo->Timeout.tv_nsec <= 0) in sigwrap_CheckTimeout() 86 else if (pTo->Timeout.tv_nsec < 0) in sigwrap_CheckTimeout() 101 if (semop(semid, sops, nsops) == 0) in sigwrap_semop() 104 if (errno != EINTR) in sigwrap_semop() [all …]
|
| /openbmc/qemu/bsd-user/ |
| H A D | mmap.c | 17 * along with this program; if not, see <http://www.gnu.org/licenses/>. 31 if (mmap_lock_count++ == 0) { in mmap_lock() 39 if (--mmap_lock_count == 0) { in mmap_unlock() 52 if (mmap_lock_count) in mmap_fork_start() 59 if (child) in mmap_fork_end() 76 if ((start & ~TARGET_PAGE_MASK) != 0) in target_mprotect() 80 if (end < start) in target_mprotect() 83 if (len == 0) in target_mprotect() 89 if (start > host_start) { in target_mprotect() 95 if (host_end == host_start + qemu_host_page_size) { in target_mprotect() [all …]
|
| /openbmc/u-boot/lib/ |
| H A D | tpm_api.c | 16 if (tpm_is_v1(dev)) { in tpm_startup() 18 } else if (tpm_is_v2(dev)) { in tpm_startup() 40 if (tpm_is_v2(dev)) in tpm_auto_start() 48 if (tpm_is_v1(dev)) in tpm_resume() 50 else if (tpm_is_v2(dev)) in tpm_resume() 58 if (tpm_is_v1(dev)) in tpm_self_test_full() 60 else if (tpm_is_v2(dev)) in tpm_self_test_full() 68 if (tpm_is_v1(dev)) in tpm_continue_self_test() 70 else if (tpm_is_v2(dev)) in tpm_continue_self_test() 82 if (ret != TPM_SUCCESS) { in tpm_clear_and_reenable() [all …]
|
| /openbmc/u-boot/fs/yaffs2/ |
| H A D | yaffsfs.c | 121 if (yaffsfs_handlesInitialised) in yaffsfs_InitHandles() 137 if (h >= 0 && h < YAFFSFS_N_HANDLES) in yaffsfs_HandleToPointer() 146 if (h && h->useCount > 0 && h->fdId >= 0 && h->fdId < YAFFSFS_N_HANDLES) in yaffsfs_HandleToFileDes() 156 if (fd && fd->handleCount > 0 && in yaffsfs_HandleToInode() 167 if (in) in yaffsfs_HandleToObject() 175 * Find the inode entry for an object, if it exists. 183 if (obj) in yaffsfs_FindInodeIdForObject() 188 if (yaffsfs_inode[i].iObj == obj) in yaffsfs_FindInodeIdForObject() 204 if (obj) in yaffsfs_GetInodeIdForObject() 210 if (!yaffsfs_inode[i].iObj) in yaffsfs_GetInodeIdForObject() [all …]
|
| /openbmc/u-boot/drivers/core/ |
| H A D | device.c | 42 if (devp) in device_bind_common() 44 if (!name) in device_bind_common() 48 if (ret) { in device_bind_common() 54 if (!dev) in device_bind_common() 73 if (CONFIG_IS_ENABLED(DM_SEQ_ALIAS) && in device_bind_common() 82 if (CONFIG_IS_ENABLED(OF_CONTROL) && !CONFIG_IS_ENABLED(OF_PLATDATA)) { in device_bind_common() 83 if (uc->uc_drv->name && ofnode_valid(node)) in device_bind_common() 90 if (drv->platdata_auto_alloc_size) { in device_bind_common() 93 if (CONFIG_IS_ENABLED(OF_PLATDATA)) { in device_bind_common() 94 if (of_platdata_size) { in device_bind_common() [all …]
|
| H A D | root.c | 38 if (!gd->dm_root) { in dm_root() 49 if (gd->dm_root) { in dm_fixup_for_gd_move() 71 #if defined(CONFIG_NEEDS_MANUAL_RELOC) 80 if (entry->of_match) in fix_drivers() 83 if (entry->bind) in fix_drivers() 85 if (entry->probe) in fix_drivers() 87 if (entry->remove) in fix_drivers() 89 if (entry->unbind) in fix_drivers() 91 if (entry->ofdata_to_platdata) in fix_drivers() 93 if (entry->child_post_bind) in fix_drivers() [all …]
|
| /openbmc/u-boot/drivers/serial/ |
| H A D | serial-uclass.c | 25 #if !CONFIG_VAL(SYS_MALLOC_F_LEN) 29 #if CONFIG_IS_ENABLED(SERIAL_PRESENT) 36 if (node < 0) { in serial_check_stdout() 47 if (str) { in serial_check_stdout() 51 if (name) in serial_check_stdout() 55 if (node < 0) in serial_check_stdout() 57 if (!uclass_get_device_by_of_offset(UCLASS_SERIAL, node, devp)) in serial_check_stdout() 61 * If the console is not marked to be bound before relocation, bind it in serial_check_stdout() 64 if (node > 0 && !lists_bind_fdt(gd->dm_root, offset_to_ofnode(node), in serial_check_stdout() 66 if (!device_probe(*devp)) in serial_check_stdout() [all …]
|
| /openbmc/openbmc-tools/pwmtachtool/src/ |
| H A D | EINTR_wrappers.c | 12 #if defined(__linux__) 43 …if ((timeout->tv_sec == 0) && (timeout->tv_nsec == 0)) // If both value are zero … in sigwrap_InitTimeout() 58 if (pDst->EndTime.tv_nsec >= OneSecondasNS) in sigwrap_InitTimeout() 68 …if (pTo->OnePoll == TRUE) // Make sure, that in the case that a single poll is requested at least … in sigwrap_CheckTimeout() 75 …if (Now.tv_sec > pTo->EndTime.tv_sec) // Can become a problem already in 2038 due to signed intege… in sigwrap_CheckTimeout() 81 if (pTo->Timeout.tv_sec == 0) in sigwrap_CheckTimeout() 83 if (pTo->Timeout.tv_nsec <= 0) in sigwrap_CheckTimeout() 86 else if (pTo->Timeout.tv_nsec < 0) in sigwrap_CheckTimeout() 101 if (semop(semid, sops, nsops) == 0) in sigwrap_semop() 104 if (errno != EINTR) in sigwrap_semop() [all …]
|
| /openbmc/u-boot/drivers/mmc/ |
| H A D | mmc.c | 26 #if !CONFIG_IS_ENABLED(MMC_TINY) 30 #if !CONFIG_IS_ENABLED(DM_MMC) 32 #if CONFIG_IS_ENABLED(MMC_UHS_SUPPORT) 50 if (wp < 0) { in mmc_getwp() 51 if (mmc->cfg->ops->getwp) in mmc_getwp() 78 if (ret) { in mmmc_trace_after_send() 134 #if CONFIG_IS_ENABLED(MMC_VERBOSE) || defined(DEBUG) 153 if (mode >= MMC_MODES_END) in mmc_mode_name() 178 if (mode == MMC_LEGACY) in mmc_mode2freq() 180 else if (mode >= MMC_MODES_END) in mmc_mode2freq() [all …]
|
| H A D | sdhci.c | 16 #if defined(CONFIG_FIXED_SDHCI_ALIGNED_BUFFER) 30 if (timeout == 0) { in sdhci_reset() 43 if (cmd->resp_type & MMC_RSP_136) { in sdhci_cmd_done() 48 if (i != 3) in sdhci_cmd_done() 63 if (data->flags == MMC_DATA_READ) in sdhci_transfer_pio() 87 if (stat & SDHCI_INT_ERROR) { in sdhci_transfer_data() 92 if (!transfer_done && (stat & rdy)) { in sdhci_transfer_data() 93 if (!(sdhci_readl(host, SDHCI_PRESENT_STATE) & mask)) in sdhci_transfer_data() 98 if (++block >= data->blocks) { in sdhci_transfer_data() 100 * cleared, even if we finished sending all the in sdhci_transfer_data() [all …]
|
| /openbmc/qemu/target/arm/tcg/ |
| H A D | hflags.c | 22 * Assuming fine-grained-traps are active, return true if we in fgt_svc() 25 * because if this is AArch32 EL1 then arm_fgt_active() is false. in fgt_svc() 33 /* Return true if memory alignment should be enforced. */ 40 if (sctlr & SCTLR_A) { in aprofile_require_alignment() 48 if (arm_feature(env, ARM_FEATURE_PMSA)) { in aprofile_require_alignment() 53 * With VMSA, if translation is disabled, then the default memory type in aprofile_require_alignment() 58 if (sctlr & SCTLR_M) { in aprofile_require_alignment() 62 if (el < 2 && (arm_hcr_el2_eff(env) & (HCR_DC | HCR_VM))) { in aprofile_require_alignment() 86 if (arm_singlestep_active(env)) { in rebuild_hflags_common() 99 if (sctlr_b) { in rebuild_hflags_common_32() [all …]
|
| /openbmc/libpldm/src/dsp/ |
| H A D | platform.c | 27 if (!effecter || !possible_states || !actual_size) { in encode_state_effecter_pdr() 31 if (SIZE_MAX - (sizeof(*effecter) - sizeof(effecter->possible_states)) < in encode_state_effecter_pdr() 36 if (allocation_size < in encode_state_effecter_pdr() 65 if (possible_states_size != calculated_possible_states_size) { in encode_state_effecter_pdr() 108 if (!sensor || !possible_states || !actual_size) { in encode_state_sensor_pdr() 112 if (SIZE_MAX - (sizeof(*sensor) - sizeof(sensor->possible_states)) < in encode_state_sensor_pdr() 117 if (allocation_size < in encode_state_sensor_pdr() 145 if (possible_states_size != calculated_possible_states_size) { in encode_state_sensor_pdr() 181 if (msg == NULL) { in encode_set_state_effecter_states_resp() 192 if (rc != PLDM_SUCCESS) { in encode_set_state_effecter_states_resp() [all …]
|
| H A D | firmware_update.c | 21 * @return true if string type value is valid, false if not 42 * @return length of the descriptor type if descriptor type is valid else 112 * @return true if ComponentResponse is valid, false if not 128 * @return true if ComponentResponseCode is valid, false if not 148 if (comp_resp_code >= in is_comp_resp_code_valid() 160 * @return true if ComponentCompatibilityResponse is valid, false if not 176 * @return true if ComponentCompatibilityResponse Code is valid, false if not 197 if (comp_compatibility_resp_code >= in is_comp_compatibility_resp_code_valid() 209 * @return true if SelfContainedActivationRequest is valid, false if not 224 /** @brief Check if current or previous status in GetStatus command response is [all …]
|
| /openbmc/u-boot/common/ |
| H A D | console.c | 30 if (strcmp(name, "stdin") == 0) in on_console() 32 else if (strcmp(name, "stdout") == 0) in on_console() 34 else if (strcmp(name, "stderr") == 0) in on_console() 37 /* if not actually setting a console variable, we don't care */ in on_console() 38 if (console == -1 || (gd->flags & GD_FLG_DEVINIT) == 0) in on_console() 45 #if CONFIG_IS_ENABLED(CONSOLE_MUX) in on_console() 46 if (iomux_doenv(console, value)) in on_console() 50 if (console_assign(console, value) < 0) in on_console() 56 if ((flags & H_FORCE) == 0) in on_console() 70 #if !CONFIG_IS_ENABLED(SILENT_CONSOLE_UPDATE_ON_SET) in on_silent() [all …]
|
| H A D | menu.c | 46 * in m, with m, a pointer to the item, and extra being passed to callback. If 65 if (ret) in menu_items_iter() 73 * Print a menu_item. If the consumer provided an item_data_print function 81 if (!m->item_data_print) { in menu_item_print() 99 if (item->key) in menu_item_destroy() 113 * title, if any, and then each item in the menu. 117 if (m->title) { in menu_display() 127 * Check if an item's key matches a provided string, pointed to by extra. If 131 * This is called via menu_items_iter, so it returns a pointer to the item if 139 if (!item_key || !item->key) { in menu_item_key_match() [all …]
|
| /openbmc/qemu/block/ |
| H A D | qapi-system.c | 47 if (!blk_name == !qdev_id) { in qmp_get_blk() 52 if (qdev_id) { in qmp_get_blk() 56 if (blk == NULL) { in qmp_get_blk() 67 * If @force, ignore its tray lock. 68 * Else, if the tray is locked, don't open it, but ask the guest to open it. 70 * If @device does not exist, return -ENODEV. 71 * If it has no removable media, return -ENOTSUP. 72 * If it has no tray, return -ENOSYS. 73 * If the guest was asked to open the tray, return -EINPROGRESS. 84 if (!blk) { in do_open_tray() [all …]
|
| /openbmc/u-boot/post/lib_powerpc/ |
| H A D | cpu.c | 22 #if CONFIG_POST & CONFIG_SYS_POST_CPU 48 if (v < 0) in cpu_post_makecr() 50 if (v > 0) in cpu_post_makecr() 52 if (v == 0) in cpu_post_makecr() 64 if (ic) in cpu_post_test() 67 if (ret == 0) in cpu_post_test() 69 if (ret == 0) in cpu_post_test() 71 if (ret == 0) in cpu_post_test() 73 if (ret == 0) in cpu_post_test() 76 if (ret == 0) in cpu_post_test() [all …]
|
| /openbmc/openbmc/poky/bitbake/contrib/vim/indent/ |
| H A D | bitbake.vim | 8 if exists("b:did_indent") 12 if exists("*BitbakeIndent") 24 if len(stack) == 0 45 " If this line is explicitly joined: If the previous line was also joined, 47 if getline(a:lnum - 1) =~ '\\$' 48 if a:lnum > 1 && getline(a:lnum - 2) =~ '\\$' 54 " If the start of the line is in a string don't change the indent. 55 if has('syntax_items') 63 if plnum == 0 71 " timeout, so let the user disable this feature if he doesn't need it [all …]
|
| /openbmc/openbmc/poky/bitbake/lib/bb/ |
| H A D | data_smart.py | 54 if 'ignore' in loginfo and loginfo['ignore']: 56 # If nothing was provided, mark this as possibly unneeded. 57 if not loginfo: 68 if parent: 73 if varval and ('variable' not in loginfo or 'detail' not in loginfo): 74 if not above: 78 if k == 'value' and 'detail' not in loginfo: 80 if k == 'var' and 'variable' not in loginfo: 85 if 'file' not in loginfo: 86 if not above: [all …]
|