Home
last modified time | relevance | path

Searched full:if (Results 1 – 25 of 5187) sorted by relevance

12345678910>>...208

/rk3399_rockchip-uboot/arch/arm/mach-socfpga/
H A DKconfig1 if ARCH_SOCFPGA
13 default y if DM_MMC
16 default y if SPL_NAND_DENALI
22 default y if SPL_SPI_SUPPORT
25 default y if DM_SPI
42 select SPL_BOARD_INIT if SPL
108 default "arria5-socdk" if TARGET_SOCFPGA_ARRIA5_SOCDK
109 default "arria10-socdk" if TARGET_SOCFPGA_ARRIA10_SOCDK
110 default "cyclone5-socdk" if TARGET_SOCFPGA_CYCLONE5_SOCDK
111 default "de0-nano-soc" if TARGET_SOCFPGA_TERASIC_DE0_NANO
[all …]
/rk3399_rockchip-uboot/common/
H A Dconfig.h4 /* Define if on AIX 3.
11 /* Define if using alloca.c. */
14 /* Define to empty if the keyword does not work. */
21 /* Define if you have alloca, as a function or macro. */
24 /* Define if you have <alloca.h> and it should be used (not on Ultrix). */
27 /* Define if you have a working `mmap' system call. */
30 /* Define if your struct stat has st_rdev. */
33 /* Define as __inline if that's what the C compiler calls it. */
36 /* Define if on MINIX. */
39 /* Define to `int' if <sys/types.h> doesn't define. */
[all …]
H A Dmenu.c47 * in m, with m, a pointer to the item, and extra being passed to callback. If
66 if (ret) in menu_items_iter()
74 * Print a menu_item. If the consumer provided an item_data_print function
82 if (!m->item_data_print) { in menu_item_print()
100 if (item->key) in menu_item_destroy()
114 * title, if any, and then each item in the menu.
118 if (m->title) { in menu_display()
128 * Check if an item's key matches a provided string, pointed to by extra. If
132 * This is called via menu_items_iter, so it returns a pointer to the item if
140 if (!item_key || !item->key) { in menu_item_key_match()
[all …]
/rk3399_rockchip-uboot/arch/arm/mach-mvebu/
H A DKconfig1 if ARCH_MVEBU
49 default "2000000000" if ARMADA_XP || ARMADA_3700 || ARMADA_8K
50 default "1000000000" if ARMADA_38X || ARMADA_375
119 select BOARD_LATE_INIT if USB
130 default "clearfog" if TARGET_CLEARFOG
131 default "mvebu_armada-37xx" if TARGET_MVEBU_ARMADA_37XX
132 default "db-88f6720" if TARGET_DB_88F6720
133 default "db-88f6820-gp" if TARGET_DB_88F6820_GP
134 default "db-88f6820-amc" if TARGET_DB_88F6820_AMC
135 default "turris_omnia" if TARGET_TURRIS_OMNIA
[all …]
/rk3399_rockchip-uboot/arch/arm/mach-rockchip/
H A DKconfig1 if ARCH_ROCKCHIP
5 select ARM64 if !ARM64_BOOT_AARCH32
10 select SPL if !ARM64_BOOT_AARCH32
11 select TPL if !ARM64_BOOT_AARCH32
12 select TPL_TINY_FRAMEWORK if TPL
23 if ROCKCHIP_PX30
58 select TPL_NEEDS_SEPARATE_TEXT_BASE if TPL
59 select TPL_NEEDS_SEPARATE_STACK if TPL
80 if ROCKCHIP_RK3128
115 select SPL_BOARD_INIT if SPL
[all …]
/rk3399_rockchip-uboot/fs/yaffs2/
H A Dyaffsfs.c121 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 …]
/rk3399_rockchip-uboot/arch/arm/cpu/armv8/fsl-layerscape/
H A DKconfig115 default "fsl,ls1012a-pcie" if ARCH_LS1012A
116 default "fsl,ls1043a-pcie" if ARCH_LS1043A
117 default "fsl,ls1046a-pcie" if ARCH_LS1046A
118 default "fsl,ls2080a-pcie" if ARCH_LS2080A
125 default y if ARCH_LS1043A
129 default y if ARCH_LS1043A
137 select ARMV8_SEC_FIRMWARE_ERET_ADDR_REVERT if FSL_LSCH2
149 select ARMV8_SEC_FIRMWARE_ERET_ADDR_REVERT if FSL_LSCH2
159 default SYS_LS_PPA_FW_IN_MMC if SD_BOOT
160 default SYS_LS_PPA_FW_IN_NAND if NAND_BOOT
[all …]
/rk3399_rockchip-uboot/disk/
H A DKconfig7 select SPL_SPRINTF if SPL
8 select TPL_SPRINTF if TPL
9 select SPL_STRTO if SPL
10 select TPL_STRTO if TPL
22 If IDE or SCSI support is enabled (CONFIG_CMD_IDE or CONFIG_SCSI)
30 Say Y here if you would like to use device under U-Boot which
36 default y if MAC_PARTITION
41 default y if DISTRO_DEFAULTS
42 default y if x86 || CMD_FAT || USB_STORAGE
49 default y if DOS_PARTITION
[all …]
/rk3399_rockchip-uboot/drivers/core/
H A Ddevice.c43 if (devp) in device_bind_common()
45 if (!name) in device_bind_common()
49 if (ret) { in device_bind_common()
54 #if defined(CONFIG_USING_KERNEL_DTB) && !defined(CONFIG_USING_KERNEL_DTB_V2) in device_bind_common()
55 if (gd->flags & GD_FLG_RELOC) { in device_bind_common()
57 if (drv->id == UCLASS_MMC || drv->id == UCLASS_RKNAND || in device_bind_common()
66 if ((gd->flags & GD_FLG_KDTB_READY) && in device_bind_common()
71 if (!strcmp(name, dev->name)) { in device_bind_common()
90 if (!strcmp(name, dev->name) && in device_bind_common()
95 if (drv->id == UCLASS_CRYPTO || in device_bind_common()
[all …]
H A Droot.c39 if (!gd->dm_root) { in dm_root()
50 if (gd->dm_root) { in dm_fixup_for_gd_move()
72 #if defined(CONFIG_NEEDS_MANUAL_RELOC)
81 if (entry->of_match) in fix_drivers()
84 if (entry->bind) in fix_drivers()
86 if (entry->probe) in fix_drivers()
88 if (entry->remove) in fix_drivers()
90 if (entry->unbind) in fix_drivers()
92 if (entry->ofdata_to_platdata) in fix_drivers()
94 if (entry->child_post_bind) in fix_drivers()
[all …]
H A Ddevice-remove.c39 if (ret && !saved_ret) in device_chld_unbind()
49 * @pre_os_remove: Flag, if this functions is called in the pre-OS stage
61 if (ret) in device_chld_remove()
73 if (!dev) in device_unbind()
76 if (dev->flags & DM_FLAG_ACTIVATED) in device_unbind()
79 if (!(dev->flags & DM_FLAG_BOUND)) in device_unbind()
85 if (drv->unbind) { in device_unbind()
87 if (ret) in device_unbind()
92 if (ret) in device_unbind()
95 if (dev->flags & DM_FLAG_ALLOC_PDATA) { in device_unbind()
[all …]
H A Duclass.c27 if (!gd->dm_root) in uclass_find()
35 if (uc->uc_drv->id == key) in uclass_find()
38 if (uc->uc_drv->id == UCLASS_ROOT) in uclass_find()
62 if (!uc_drv) { in uclass_add()
73 if (!uc) in uclass_add()
75 if (uc_drv->priv_auto_alloc_size) { in uclass_add()
77 if (!uc->priv) { in uclass_add()
90 if (uc_drv->init) { in uclass_add()
92 if (ret) in uclass_add()
100 if (uc_drv->priv_auto_alloc_size) { in uclass_add()
[all …]
/rk3399_rockchip-uboot/env/
H A Denv.c21 if (loc == entry->location) in env_driver_lookup()
31 if IS_ENABLED(CONFIG_ENV_IS_IN_EEPROM) in env_get_default_location()
33 else if IS_ENABLED(CONFIG_ENV_IS_IN_FAT) in env_get_default_location()
35 else if IS_ENABLED(CONFIG_ENV_IS_IN_FLASH) in env_get_default_location()
37 else if IS_ENABLED(CONFIG_ENV_IS_IN_MMC) in env_get_default_location()
39 else if IS_ENABLED(CONFIG_ENV_IS_IN_NAND) in env_get_default_location()
41 else if IS_ENABLED(CONFIG_ENV_IS_IN_NVRAM) in env_get_default_location()
43 else if IS_ENABLED(CONFIG_ENV_IS_IN_REMOTE) in env_get_default_location()
45 else if IS_ENABLED(CONFIG_ENV_IS_IN_SPI_FLASH) in env_get_default_location()
47 else if IS_ENABLED(CONFIG_ENV_IS_IN_UBI) in env_get_default_location()
[all …]
H A Dsf.c62 if (ret) { in setup_flash_device()
70 if (!env_flash) { in setup_flash_device()
74 if (!env_flash) { in setup_flash_device()
83 #if defined(CONFIG_ENV_OFFSET_REDUND)
93 if (ret) in env_sf_save()
97 if (ret) in env_sf_save()
101 if (gd->env_valid == ENV_VALID) { in env_sf_save()
110 if (CONFIG_ENV_SECT_SIZE > CONFIG_ENV_SIZE) { in env_sf_save()
114 if (!saved_buffer) { in env_sf_save()
120 if (ret) in env_sf_save()
[all …]
/rk3399_rockchip-uboot/drivers/serial/
H A Dserial-uclass.c22 #if !CONFIG_VAL(SYS_MALLOC_F_LEN)
38 if (node < 0) { in serial_check_stdout()
49 if (str) { in serial_check_stdout()
53 if (name) in serial_check_stdout()
57 if (node < 0) in serial_check_stdout()
59 if (!uclass_get_device_by_of_offset(UCLASS_SERIAL, node, devp)) in serial_check_stdout()
63 * If the console is not marked to be bound before relocation, bind it in serial_check_stdout()
66 if (node > 0 && !lists_bind_fdt(gd->dm_root, offset_to_ofnode(node), in serial_check_stdout()
68 if (!device_probe(*devp)) in serial_check_stdout()
80 if (CONFIG_IS_ENABLED(OF_PLATDATA)) { in serial_find_console_or_panic()
[all …]
/rk3399_rockchip-uboot/drivers/net/phy/
H A Dphy.c35 * what is supported. Returns < 0 on error, 0 if the PHY's advertisement
36 * hasn't changed, and > 0 if it has changed.
52 if (adv < 0) in genphy_config_advert()
57 if (advertise & ADVERTISED_10baseT_Half) in genphy_config_advert()
59 if (advertise & ADVERTISED_10baseT_Full) in genphy_config_advert()
61 if (advertise & ADVERTISED_100baseT_Half) in genphy_config_advert()
63 if (advertise & ADVERTISED_100baseT_Full) in genphy_config_advert()
65 if (advertise & ADVERTISED_Pause) in genphy_config_advert()
67 if (advertise & ADVERTISED_Asym_Pause) in genphy_config_advert()
69 if (advertise & ADVERTISED_1000baseX_Half) in genphy_config_advert()
[all …]
/rk3399_rockchip-uboot/post/lib_powerpc/
H A Dcpu.c23 #if CONFIG_POST & CONFIG_SYS_POST_CPU
51 if (v < 0) in cpu_post_makecr()
53 if (v > 0) in cpu_post_makecr()
55 if (v == 0) in cpu_post_makecr()
67 if (ic) in cpu_post_test()
70 if (ret == 0) in cpu_post_test()
72 if (ret == 0) in cpu_post_test()
74 if (ret == 0) in cpu_post_test()
76 if (ret == 0) in cpu_post_test()
79 if (ret == 0) in cpu_post_test()
[all …]
/rk3399_rockchip-uboot/drivers/video/drm/
H A Drockchip_connector.c51 if (conn->dev == dev) in get_rockchip_connector_by_device()
64 if (conn->funcs->pre_init) { in rockchip_connector_pre_init()
66 if (ret) in rockchip_connector_pre_init()
68 if (state->conn_state.secondary) { in rockchip_connector_pre_init()
71 if (ret) in rockchip_connector_pre_init()
84 if (conn->panel) in rockchip_connector_path_init()
87 if (conn->bridge) in rockchip_connector_path_init()
90 if (conn->funcs->init) { in rockchip_connector_path_init()
92 if (ret) in rockchip_connector_path_init()
96 if (conn->phy) in rockchip_connector_path_init()
[all …]
H A Drockchip_bridge.c13 if (!bridge) in rockchip_bridge_init()
19 if (bridge->bus_format) in rockchip_bridge_init()
22 if (bridge->next_bridge) in rockchip_bridge_init()
28 if (!bridge) in rockchip_bridge_pre_enable()
31 if (bridge->funcs && bridge->funcs->pre_enable) in rockchip_bridge_pre_enable()
34 if (bridge->next_bridge) in rockchip_bridge_pre_enable()
40 if (!bridge) in rockchip_bridge_post_disable()
43 if (bridge->next_bridge) in rockchip_bridge_post_disable()
46 if (bridge->funcs && bridge->funcs->post_disable) in rockchip_bridge_post_disable()
52 if (!bridge) in rockchip_bridge_enable()
[all …]
/rk3399_rockchip-uboot/lib/avb/libavb/
H A Davb_slot_verify.c56 /* Helper function to see if we should continue with verification in
57 * allow_verification_error=true mode if something goes wrong. See the
94 if (image_size != (size_t)(image_size)) { in load_full_partition()
100 if (ops->get_preloaded_partition != NULL) { in load_full_partition()
104 if (io_ret == AVB_IO_RESULT_ERROR_OOM) { in load_full_partition()
106 } else if (io_ret != AVB_IO_RESULT_OK) { in load_full_partition()
111 if (*out_image_buf != NULL) { in load_full_partition()
112 if (part_num_read != image_size) { in load_full_partition()
121 if (!*out_image_preloaded) { in load_full_partition()
123 if (*out_image_buf == NULL) { in load_full_partition()
[all …]
/rk3399_rockchip-uboot/cmd/
H A Dcros_ec.c31 if (argc > 0) { in cros_ec_decode_region()
32 if (0 == strcmp(*argv, "rw")) in cros_ec_decode_region()
34 else if (0 == strcmp(*argv, "ro")) in cros_ec_decode_region()
65 if (region == -1) in do_read_write()
67 if (argc < 4) in do_read_write()
70 if (*argv[3] == 0 || *endp != 0) in do_read_write()
72 if (argc > 4) { in do_read_write()
74 if (*argv[4] == 0 || *endp != 0) in do_read_write()
79 if (ret) { in do_read_write()
83 if (size == -1U) in do_read_write()
[all …]
/rk3399_rockchip-uboot/drivers/mmc/
H A Dmmc.c35 #if CONFIG_IS_ENABLED(MMC_TINY)
48 if (m->preinit) in mmc_do_preinit()
58 #if !CONFIG_IS_ENABLED(DM_MMC)
70 if (wp < 0) { in mmc_getwp()
71 if (mmc->cfg->ops->getwp) in mmc_getwp()
98 if (ret) { in mmmc_trace_after_send()
154 #if !CONFIG_IS_ENABLED(DM_MMC)
174 if (!mmc_host_is_spi(mmc)) in mmc_send_status()
179 if (!err) { in mmc_send_status()
180 if ((cmd.response[0] & MMC_STATUS_RDY_FOR_DATA) && in mmc_send_status()
[all …]
/rk3399_rockchip-uboot/common/spl/
H A Dspl_fit.c48 if (conf_node < 0) { in spl_fit_get_image_name()
62 if (!name) { in spl_fit_get_image_name()
70 if (!str || (str - name >= len)) { in spl_fit_get_image_name()
100 if (err) in spl_fit_get_image_node()
106 if (node < 0) { in spl_fit_get_image_node()
117 * If it is a FS read, get the first address before offset which is in get_aligned_image_offset()
118 * aligned to ARCH_DMA_MINALIGN. If it is raw read return the in get_aligned_image_offset()
121 if (info->filename) in get_aligned_image_offset()
130 * If it is a FS read, get the difference between the offset and in get_aligned_image_overhead()
132 * ARCH_DMA_MINALIGN. If it is raw read return the offset within the in get_aligned_image_overhead()
[all …]
/rk3399_rockchip-uboot/include/android_avb/
H A Drk_avb_ops_user.h50 * @return 0 if the command succeeded, -1 if it failed
60 * @return 0 if the command succeeded, -1 if it failed
69 * @return 0 if the command succeeded, -1 if it failed
78 * @return 0 if the command succeeded, -1 if it failed
86 * @param slot given slot suffix, auto append current slot if NULL
89 * @return 0 if the command succeeded, -1 if it failed
102 * @return 0 if the command succeeded, -1 if it failed
115 * @return 0 if the command succeeded, -1 if it failed
125 * @return 0 if the command succeeded, -1 if it failed
134 * @return 0 if the command succeeded, -1 if it failed
[all …]
/rk3399_rockchip-uboot/scripts/kconfig/
H A Dconfdata.c65 if (conf_message_callback) in conf_message()
118 if (env) { in conf_get_default_confname()
120 if (!stat(fullname, &buf)) in conf_get_default_confname()
132 if (p[0] == 'm') { in conf_set_sym_val()
139 if (p[0] == 'y') { in conf_set_sym_val()
144 if (p[0] == 'n') { in conf_set_sym_val()
149 if (def != S_DEF_AUTO) in conf_set_sym_val()
154 if (*p != '"') { in conf_set_sym_val()
162 if (*p++ != '"') in conf_set_sym_val()
165 if (p[strlen(p) - 1] != '"') { in conf_set_sym_val()
[all …]

12345678910>>...208