| /rk3399_rockchip-uboot/drivers/usb/gadget/ |
| H A D | gadget_chips.h | 19 #else 25 #else 31 #else 37 #else 43 #else 50 #else 57 #else 64 #else 70 #else 77 #else [all …]
|
| H A D | f_fastboot.c | 67 * (64 or 512 or 1024), else we break on certain controllers like DWC3 202 /* else: Fall trough */ in fb_ep_desc() 208 /* else: fall through */ in fb_ep_desc() 618 } else { in name_check_match() 674 else in fb_read_var() 707 #else in fb_read_var() 723 } else if (!strncmp(PARTITION_TYPE_STRINGS, cmd, in fb_read_var() 728 } else { in fb_read_var() 732 } else if (!strncmp("partition-size", cmd, 14)) { in fb_read_var() 739 #else in fb_read_var() [all …]
|
| /rk3399_rockchip-uboot/drivers/clk/rockchip/ |
| H A D | clk_rv1106.c | 87 else if (sel == ACLK_PERI_SEL_200M) in rv1106_peri_get_clk() 89 else if (sel == ACLK_PERI_SEL_100M) in rv1106_peri_get_clk() 91 else in rv1106_peri_get_clk() 99 else if (sel == HCLK_PERI_SEL_100M) in rv1106_peri_get_clk() 101 else if (sel == HCLK_PERI_SEL_50M) in rv1106_peri_get_clk() 103 else in rv1106_peri_get_clk() 111 else if (sel == PCLK_PERI_SEL_50M) in rv1106_peri_get_clk() 113 else in rv1106_peri_get_clk() 121 else if (sel == ACLK_BUS_SEL_200M) in rv1106_peri_get_clk() 123 else if (sel == ACLK_BUS_SEL_100M) in rv1106_peri_get_clk() [all …]
|
| H A D | clk_rk3588.c | 163 else if (sel == ACLK_CENTER_ROOT_SEL_400M) in rk3588_center_get_clk() 165 else if (sel == ACLK_CENTER_ROOT_SEL_200M) in rk3588_center_get_clk() 167 else in rk3588_center_get_clk() 176 else if (sel == ACLK_CENTER_LOW_ROOT_SEL_250M) in rk3588_center_get_clk() 178 else if (sel == ACLK_CENTER_LOW_ROOT_SEL_100M) in rk3588_center_get_clk() 180 else in rk3588_center_get_clk() 189 else if (sel == HCLK_CENTER_ROOT_SEL_200M) in rk3588_center_get_clk() 191 else if (sel == HCLK_CENTER_ROOT_SEL_100M) in rk3588_center_get_clk() 193 else in rk3588_center_get_clk() 202 else if (sel == PCLK_CENTER_ROOT_SEL_100M) in rk3588_center_get_clk() [all …]
|
| H A D | clk_rk3576.c | 48 #else 183 else in rk3576_bus_get_clk() 192 else if (sel == HCLK_BUS_ROOT_SEL_100M) in rk3576_bus_get_clk() 194 else if (sel == HCLK_BUS_ROOT_SEL_50M) in rk3576_bus_get_clk() 196 else in rk3576_bus_get_clk() 205 else if (sel == PCLK_BUS_ROOT_SEL_50M) in rk3576_bus_get_clk() 207 else in rk3576_bus_get_clk() 228 } else { in rk3576_bus_set_clk() 246 else if (rate >= 99 * MHz) in rk3576_bus_set_clk() 248 else if (rate >= 50 * MHz) in rk3576_bus_set_clk() [all …]
|
| H A D | clk_rk3568.c | 296 else in rk3568_pwm_get_pmuclk() 320 } else { in rk3568_pwm_set_pmuclk() 346 else in rk3568_pmu_get_pmuclk() 465 else in rk3568_rtc32k_set_parent() 526 } else { in rk3568_pmuclk_bind() 599 } else if (old_rate < hz) { in rk3568_armclk_set_clk() 729 else in rk3568_cpll_div_set_rate() 747 else if (sel == ACLK_BUS_SEL_150M) in rk3568_bus_get_clk() 749 else if (sel == ACLK_BUS_SEL_100M) in rk3568_bus_get_clk() 751 else in rk3568_bus_get_clk() [all …]
|
| H A D | clk_rk3562.c | 178 } else if (old_rate > new_rate) { in rk3562_armclk_set_rate() 187 } else if (old_rate < new_rate) { in rk3562_armclk_set_rate() 230 else in rk3562_bus_get_rate() 245 } else { in rk3562_bus_set_rate() 304 else in rk3562_peri_get_rate() 319 } else { in rk3562_peri_set_rate() 362 else if (sel == CLK_PMU0_I2C0_SEL_24M) in rk3562_i2c_get_rate() 364 else in rk3562_i2c_get_rate() 379 else if (sel == CLK_I2C_SEL_100M) in rk3562_i2c_get_rate() 381 else if (sel == CLK_I2C_SEL_50M) in rk3562_i2c_get_rate() [all …]
|
| /rk3399_rockchip-uboot/fs/yaffs2/ |
| H A D | yaffsfs.c | 231 else in yaffsfs_CountHandles() 392 else in yaffs_toupper() 400 #else 430 } else if (nameLength > YAFFS_MAX_NAME_LENGTH) { in yaffsfs_CheckNameLength() 520 } else { in yaffsfs_FindDevice() 558 } else in yaffsfs_CheckPath() 604 else in yaffsfs_FollowLink() 640 } else in yaffsfs_DoFindDirectory() 667 else { in yaffsfs_DoFindDirectory() 670 } else if (yaffs_strcmp(str, _Y("..")) == 0) { in yaffsfs_DoFindDirectory() [all …]
|
| /rk3399_rockchip-uboot/drivers/pinctrl/rockchip/ |
| H A D | pinctrl-rk3576.c | 65 else if (bank->bank_num == 0) in rk3576_calc_drv_reg_and_bit() 67 else if (bank->bank_num == 1) in rk3576_calc_drv_reg_and_bit() 69 else if (bank->bank_num == 2) in rk3576_calc_drv_reg_and_bit() 71 else if (bank->bank_num == 3) in rk3576_calc_drv_reg_and_bit() 73 else if (bank->bank_num == 4 && pin_num < 16) in rk3576_calc_drv_reg_and_bit() 75 else if (bank->bank_num == 4 && pin_num < 24) in rk3576_calc_drv_reg_and_bit() 77 else if (bank->bank_num == 4) in rk3576_calc_drv_reg_and_bit() 79 else { in rk3576_calc_drv_reg_and_bit() 128 else if (bank->bank_num == 0) in rk3576_calc_pull_reg_and_bit() 130 else if (bank->bank_num == 1) in rk3576_calc_pull_reg_and_bit() [all …]
|
| H A D | pinctrl-rk3506.c | 25 else in rockchip_set_rmio() 32 else in rockchip_set_rmio() 34 } else if (bank->bank_num == 1) { in rockchip_set_rmio() 37 else if (pin >= 18 && pin <= 19) in rockchip_set_rmio() 39 else if (pin >= 25 && pin <= 27) in rockchip_set_rmio() 41 else in rockchip_set_rmio() 43 } else { in rockchip_set_rmio() 79 else in rk3506_set_mux() 84 else if (bank->bank_num == 4) in rk3506_set_mux() 126 } else if (pin_num < 24) { in rk3506_calc_drv_reg_and_bit() [all …]
|
| /rk3399_rockchip-uboot/env/ |
| H A D | env.c | 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() 49 else if IS_ENABLED(CONFIG_ENV_IS_IN_BLK_DEV) in env_get_default_location() 51 else if IS_ENABLED(CONFIG_ENV_IS_NOWHERE) in env_get_default_location() [all …]
|
| H A D | nand.c | 47 #else /* ! ENV_IS_EMBEDDED */ 85 } else if (crc1_ok && !crc2_ok) { in env_nand_init() 89 else if (!crc1_ok && crc2_ok) { in env_nand_init() 91 } else { in env_nand_init() 95 else if (tmp_env2->flags == 255 && tmp_env1->flags == 0) in env_nand_init() 97 else if (tmp_env1->flags > tmp_env2->flags) in env_nand_init() 99 else if (tmp_env2->flags > tmp_env1->flags) in env_nand_init() 101 else /* flags are equal - almost impossible */ in env_nand_init() 107 else in env_nand_init() 114 #else /* ENV_IS_EMBEDDED || CONFIG_NAND_ENV_DST */ in env_nand_init() [all …]
|
| /rk3399_rockchip-uboot/board/toradex/common/ |
| H A D | tdx-cfg-block.c | 12 #else 17 #else 43 #else 132 } else { in tdx_cfg_block_mmc_storage() 213 #else in read_tdx_cfg_block() 273 else in get_cfgblock_interactive() 285 else in get_cfgblock_interactive() 287 else in get_cfgblock_interactive() 290 else in get_cfgblock_interactive() 292 #else in get_cfgblock_interactive() [all …]
|
| /rk3399_rockchip-uboot/arch/powerpc/include/asm/ |
| H A D | iopin_8xx.h | 38 } else if (iopin->port == IOPIN_PORTB) { in iopin_set_high() 42 } else if (iopin->port == IOPIN_PORTC) { in iopin_set_high() 46 } else if (iopin->port == IOPIN_PORTD) { in iopin_set_high() 61 } else if (iopin->port == IOPIN_PORTB) { in iopin_set_low() 65 } else if (iopin->port == IOPIN_PORTC) { in iopin_set_low() 69 } else if (iopin->port == IOPIN_PORTD) { in iopin_set_low() 84 } else if (iopin->port == IOPIN_PORTB) { in iopin_is_high() 88 } else if (iopin->port == IOPIN_PORTC) { in iopin_is_high() 92 } else if (iopin->port == IOPIN_PORTD) { in iopin_is_high() 108 } else if (iopin->port == IOPIN_PORTB) { in iopin_is_low() [all …]
|
| /rk3399_rockchip-uboot/drivers/power/regulator/ |
| H A D | lp87565_regulator.c | 42 else in lp87565_buck_enable() 46 } else if (op == PMIC_OP_SET) { in lp87565_buck_enable() 49 else in lp87565_buck_enable() 63 else if (uV > 1400000) in lp87565_buck_volt2val() 65 else if (uV > 730000) in lp87565_buck_volt2val() 67 else if (uV >= 500000) in lp87565_buck_volt2val() 69 else in lp87565_buck_volt2val() 77 else if (val > 0x9D) in lp87565_buck_val2volt() 79 else if (val > 0x17) in lp87565_buck_val2volt() 81 else if (val >= 0x0) in lp87565_buck_val2volt() [all …]
|
| /rk3399_rockchip-uboot/cmd/ |
| H A D | cros_ec.c | 34 else if (0 == strcmp(*argv, "ro")) in cros_ec_decode_region() 38 } else { in cros_ec_decode_region() 136 } else if (0 == strcmp("info", cmd)) { in do_cros_ec() 146 } else if (0 == strcmp("curimage", cmd)) { in do_cros_ec() 154 } else if (0 == strcmp("hash", cmd)) { in do_cros_ec() 165 else in do_cros_ec() 175 } else if (0 == strcmp("reboot", cmd)) { in do_cros_ec() 181 } else { in do_cros_ec() 185 else if (region == EC_FLASH_REGION_RW) in do_cros_ec() 187 else in do_cros_ec() [all …]
|
| /rk3399_rockchip-uboot/include/configs/ |
| H A D | mx6sabre_common.h | 47 "else " \ 57 #else 83 "else " \ 108 "else " \ 111 "else " \ 115 "else " \ 125 "else " \ 132 "else " \ 135 "else " \ 139 "else " \ [all …]
|
| H A D | tegra-common-post.h | 18 #else 32 #else 38 #else 45 #else 51 #else 57 #else 63 #else 86 #else
|
| H A D | mx6qarm2.h | 56 "else " \ 59 "else " \ 63 "else " \ 73 "else " \ 80 "else " \ 83 "else " \ 87 "else " \ 96 "else " \ 99 "else run netboot; " \ 102 "else run netboot; fi"
|
| H A D | mx6slevk.h | 70 "else " \ 73 "else " \ 77 "else " \ 87 "else " \ 94 "else " \ 97 "else " \ 101 "else " \ 110 "else " \ 113 "else run netboot; " \ 116 "else run netboot; fi" [all …]
|
| /rk3399_rockchip-uboot/drivers/fpga/ |
| H A D | fpga.c | 31 else if (msg) in fpga_no_sup() 33 else in fpga_no_sup() 91 #else in fpga_dev_info() 99 #else in fpga_dev_info() 107 #else in fpga_dev_info() 115 } else { in fpga_dev_info() 153 } else if ((devtype > fpga_min_type) && (devtype < fpga_undefined)) { in fpga_add() 159 } else { in fpga_add() 163 } else { in fpga_add() 166 } else { in fpga_add() [all …]
|
| /rk3399_rockchip-uboot/board/boundary/nitrogen6x/ |
| H A D | 6x_bootscript_android.txt | 13 else 17 else 25 else 29 else 37 else 41 else 49 else 53 else
|
| H A D | 6x_bootscript.txt | 8 else 17 else 21 else 29 else 33 else 41 else 45 else 59 else
|
| H A D | 6x_bootscript_android_recovery.txt | 13 else 17 else 25 else 29 else 37 else 41 else 49 else 53 else
|
| /rk3399_rockchip-uboot/net/ |
| H A D | fastboot.c | 170 } else if (!strcmp("getvar", cmd_string)) { in fastboot_send() 172 } else if (!strcmp("download", cmd_string)) { in fastboot_send() 174 } else if (!strcmp("flash", cmd_string)) { in fastboot_send() 176 } else if (!strcmp("erase", cmd_string)) { in fastboot_send() 178 } else if (!strcmp("boot", cmd_string)) { in fastboot_send() 180 } else if (!strcmp("continue", cmd_string)) { in fastboot_send() 182 } else if (!strncmp("reboot", cmd_string, 6)) { in fastboot_send() 184 } else if (!strcmp("set_active", cmd_string)) { in fastboot_send() 187 } else { in fastboot_send() 218 } else if (!strcmp("continue", cmd_string)) { in fastboot_send() [all …]
|