| /rk3399_rockchip-uboot/board/compulab/common/ |
| H A D | omap3_display.c | 276 if (!strncmp(setting, "mode:", 5)) { in parse_setting() 278 } else if (!strncmp(setting, "pixclock:", 9)) { in parse_setting() 280 } else if (!strncmp(setting, "left:", 5)) { in parse_setting() 283 } else if (!strncmp(setting, "right:", 6)) { in parse_setting() 286 } else if (!strncmp(setting, "upper:", 6)) { in parse_setting() 289 } else if (!strncmp(setting, "lower:", 6)) { in parse_setting() 292 } else if (!strncmp(setting, "hsynclen:", 9)) { in parse_setting() 295 } else if (!strncmp(setting, "vsynclen:", 9)) { in parse_setting() 298 } else if (!strncmp(setting, "hsync:", 6)) { in parse_setting() 303 } else if (!strncmp(setting, "vsync:", 6)) { in parse_setting() [all …]
|
| /rk3399_rockchip-uboot/cmd/ |
| H A D | mp.c | 33 if (argc == 2 && strncmp(argv[1], "status", 6) == 0) in cpu_cmd() 47 if (strncmp(argv[2], "reset", 5) == 0) in cpu_cmd() 49 else if (strncmp(argv[2], "status", 6) == 0) in cpu_cmd() 51 else if (strncmp(argv[2], "disable", 7) == 0) in cpu_cmd() 60 if (strncmp(argv[2], "release", 7) != 0) in cpu_cmd()
|
| H A D | blk_common.c | 26 if (strncmp(argv[1], "inf", 3) == 0) { in blk_common_cmd() 29 } else if (strncmp(argv[1], "dev", 3) == 0) { in blk_common_cmd() 35 } else if (strncmp(argv[1], "part", 4) == 0) { in blk_common_cmd() 42 if (strncmp(argv[1], "dev", 3) == 0) { in blk_common_cmd() 52 } else if (strncmp(argv[1], "part", 4) == 0) { in blk_common_cmd()
|
| H A D | nvme.c | 20 if (strncmp(argv[1], "scan", 4) == 0) { in do_nvme() 27 if (strncmp(argv[1], "deta", 4) == 0) { in do_nvme()
|
| H A D | rksfc.c | 24 if (strncmp(argv[1], "scan", 4) == 0) { in do_rksfc() 34 if (strncmp(argv[1], "dev", 3) == 0) { in do_rksfc()
|
| H A D | scsi.c | 33 if (strncmp(argv[1], "res", 3) == 0) { in do_scsi() 43 if (strncmp(argv[1], "scan", 4) == 0) { in do_scsi()
|
| H A D | fdt.c | 88 if (strncmp(argv[1], "ad", 2) == 0) { in do_fdt() 162 if (strncmp(argv[1], "mo", 2) == 0) { in do_fdt() 207 } else if (strncmp(argv[1], "sys", 3) == 0) { in do_fdt() 219 } else if (strncmp(argv[1], "mk", 2) == 0) { in do_fdt() 452 } else if (strncmp(argv[1], "rm", 2) == 0) { in do_fdt() 522 } else if (strncmp(argv[1], "boo", 3) == 0) { in do_fdt() 529 } else if (strncmp(argv[1], "me", 2) == 0) { in do_fdt() 541 } else if (strncmp(argv[1], "rs", 2) == 0) { in do_fdt() 590 else if (strncmp(argv[1], "boa", 3) == 0) { in do_fdt() 601 else if (strncmp(argv[1], "cho", 3) == 0) { in do_fdt() [all …]
|
| H A D | aes.c | 40 if (!strncmp(argv[1], "enc", 3)) in do_aes() 42 else if (!strncmp(argv[1], "dec", 3)) in do_aes()
|
| H A D | blob.c | 64 if (!strncmp(argv[1], "enc", 3)) in do_blob() 66 else if (!strncmp(argv[1], "dec", 3)) in do_blob()
|
| H A D | nand.c | 476 if (strncmp(cmd, "erase", 5) == 0 || strncmp(cmd, "scrub", 5) == 0) { in do_nand() 482 int scrub = !strncmp(cmd, "scrub", 5); in do_nand() 554 if (strncmp(cmd, "dump", 4) == 0) { in do_nand() 564 if (strncmp(cmd, "read", 4) == 0 || strncmp(cmd, "write", 5) == 0) { in do_nand() 576 read = strncmp(cmd, "read", 4) == 0; /* 1 = read, 0 = write */ in do_nand() 581 if (s && !strncmp(s, ".raw", 4)) { in do_nand() 602 if (strncmp(cmd, "readbyte", 8) == 0 || strncmp(cmd, "writebyte", 9) == 0) { in do_nand() 782 if (strncmp(cmd, "unlock", 5) == 0) { in do_nand()
|
| H A D | ubi.c | 565 if (argc > 2 && !strncmp(argv[2], "l", 1)) in do_ubi() 578 if (strncmp(argv[1], "create", 6) == 0) { in do_ubi() 593 if (strncmp(argv[4], "s", 1) == 0) in do_ubi() 595 else if (strncmp(argv[4], "d", 1) != 0) { in do_ubi() 617 if (strncmp(argv[1], "remove", 6) == 0) { in do_ubi() 623 if (strncmp(argv[1], "write", 5) == 0) { in do_ubi() 635 strncmp(argv[1] + 5, ".part", 5) == 0) { in do_ubi() 656 if (strncmp(argv[1], "read", 4) == 0) { in do_ubi()
|
| H A D | usb.c | 644 if (strncmp(argv[1], "start", 5) == 0) { 652 if (strncmp(argv[1], "reset", 5) == 0) { 660 if (strncmp(argv[1], "stop", 4) == 0) { 673 if (strncmp(argv[1], "tree", 4) == 0) { 678 if (strncmp(argv[1], "inf", 3) == 0) { 712 if (strncmp(argv[1], "test", 4) == 0) { 725 if (strncmp(argv[1], "stor", 4) == 0)
|
| H A D | mtd.c | 251 if (!strncmp(mtd_name, g_devname, strlen(mtd_name)) && g_mtd) { in do_mtd() 270 if (!strncmp(cmd, "read", 4) || !strncmp(cmd, "dump", 4) || in do_mtd() 271 !strncmp(cmd, "write", 5)) { in do_mtd() 282 dump = !strncmp(cmd, "dump", 4); in do_mtd() 283 read = dump || !strncmp(cmd, "read", 4); in do_mtd()
|
| /rk3399_rockchip-uboot/board/ti/am335x/ |
| H A D | board.h | 39 return board_is_bone_lt() && !strncmp(board_ti_get_rev(), "BBG1", 4); in board_is_bbg1() 54 return !strncmp(board_ti_get_config(), "SKU#02", 6); in board_is_idk() 65 strncmp("1.5", board_ti_get_rev(), 3) <= 0); in board_is_evm_15_or_later() 70 return board_ti_is("A335_ICE") && !strncmp("2", board_ti_get_rev(), 1); in board_is_icev2()
|
| /rk3399_rockchip-uboot/board/ti/sdp4430/ |
| H A D | cmd_bat.c | 16 if (strncmp(argv[1], "startcharge", 12) == 0) in do_vbat() 18 else if (strncmp(argv[1], "stopcharge", 11) == 0) in do_vbat() 20 else if (strncmp(argv[1], "status", 7) == 0) { in do_vbat()
|
| /rk3399_rockchip-uboot/lib/avb/libavb_user/ |
| H A D | avb_ops_user.c | 465 if (!strncmp(partition, ANDROID_PARTITION_BOOT, 4) || in get_preloaded_partition() 466 !strncmp(partition, ANDROID_PARTITION_RECOVERY, 8)) { in get_preloaded_partition() 474 if (!strncmp(partition, ANDROID_PARTITION_BOOT, 4) || in get_preloaded_partition() 475 !strncmp(partition, ANDROID_PARTITION_RECOVERY, 8)) in get_preloaded_partition() 477 else if (!strncmp(partition, ANDROID_PARTITION_VENDOR_BOOT, 11)) in get_preloaded_partition() 479 else if (!strncmp(partition, ANDROID_PARTITION_INIT_BOOT, 9)) in get_preloaded_partition() 481 else if (!strncmp(partition, ANDROID_PARTITION_RESOURCE, 8)) in get_preloaded_partition() 507 if (!strncmp(partition, ANDROID_PARTITION_INIT_BOOT, 9) || in get_preloaded_partition() 508 !strncmp(partition, ANDROID_PARTITION_VENDOR_BOOT, 11) || in get_preloaded_partition() 509 !strncmp(partition, ANDROID_PARTITION_BOOT, 4) || in get_preloaded_partition() [all …]
|
| /rk3399_rockchip-uboot/arch/arm/mach-keystone/ |
| H A D | cmd_clock.c | 28 if (strncmp(argv[1], "pa", 2) == 0) in do_pll_cmd() 31 else if (strncmp(argv[1], "arm", 3) == 0) in do_pll_cmd() 35 else if (strncmp(argv[1], "ddr3a", 5) == 0) in do_pll_cmd() 37 else if (strncmp(argv[1], "ddr3b", 5) == 0) in do_pll_cmd() 40 else if (strncmp(argv[1], "ddr3", 4) == 0) in do_pll_cmd()
|
| /rk3399_rockchip-uboot/test/ |
| H A D | print_ut.c | 61 assert(!strncmp(version_string, s, big_str_len - 3)); in do_ut_print() 70 assert(!strncmp(version_string, s, len)); in do_ut_print() 71 assert(!strncmp(", Build: ", s + len, 9)); in do_ut_print() 72 assert(!strncmp(FAKE_BUILD_TAG, s + 9 + len, 12)); in do_ut_print()
|
| /rk3399_rockchip-uboot/common/ |
| H A D | hwconfig.c | 169 return !strncmp(argstr, arg, arglen); in hwconfig_arg_cmp_f() 237 return !strncmp(argstr, subarg, arglen); in hwconfig_subarg_cmp_f() 253 assert(!strncmp(ret, "subkey1=value1,subkey2=value2", len)); in main() 259 assert(!strncmp(ret, "value1", len)); in main() 265 assert(!strncmp(ret, "value2", len)); in main() 271 assert(!strncmp(ret, "value3", len)); in main()
|
| /rk3399_rockchip-uboot/arch/arm/mach-omap2/omap3/ |
| H A D | board.c | 290 if (strncmp(argv[1], "hw", 2) == 0) { in do_switch_ecc() 293 if (strncmp(argv[2], "bch8", 4) == 0) in do_switch_ecc() 295 else if (strncmp(argv[2], "bch16", 5) == 0) in do_switch_ecc() 297 else if (strncmp(argv[2], "hamming", 7) != 0) in do_switch_ecc() 300 } else if (strncmp(argv[1], "sw", 2) == 0) { in do_switch_ecc() 303 if (strncmp(argv[2], "bch8", 4) == 0) in do_switch_ecc() 305 else if (strncmp(argv[2], "hamming", 7) != 0) in do_switch_ecc()
|
| /rk3399_rockchip-uboot/net/ |
| H A D | fastboot.c | 182 } else if (!strncmp("reboot", cmd_string, 6)) { in fastboot_send() 215 if (!strncmp("OKAY", response, 4)) { in fastboot_send() 220 } else if (!strncmp("reboot", cmd_string, 6)) { in fastboot_send() 227 if (!strncmp("OKAY", response, 4) || in fastboot_send() 228 !strncmp("FAIL", response, 4)) { in fastboot_send() 274 } else if (!strncmp("has-slot", cmd_parameter, 8)) { in fb_getvar() 283 } else if (!strncmp("partition-type", cmd_parameter, 14) || in fb_getvar() 284 !strncmp("partition-size", cmd_parameter, 14)) { in fb_getvar() 296 } else if (!strncmp("partition-type", cmd_parameter, 14)) { in fb_getvar() 298 } else if (!strncmp("partition-size", cmd_parameter, 14)) { in fb_getvar()
|
| /rk3399_rockchip-uboot/board/ti/am43xx/ |
| H A D | board.h | 52 return board_is_evm() && strncmp("1.4", board_ti_get_rev(), 3) <= 0; in board_is_evm_14_or_later() 57 return board_is_evm() && strncmp("1.2", board_ti_get_rev(), 3) <= 0; in board_is_evm_12_or_later()
|
| /rk3399_rockchip-uboot/drivers/usb/gadget/ |
| H A D | f_fastboot.c | 585 return strncmp(s1, s2, strlen(s1)); in strcmp_l1() 723 } else if (!strncmp(PARTITION_TYPE_STRINGS, cmd, in fb_read_var() 732 } else if (!strncmp("partition-size", cmd, 14)) { in fb_read_var() 1444 if (strncmp("_a", cmd, 2) == 0) { in get_current_slot() 1446 } else if (strncmp("_b", cmd, 2) == 0) { in get_current_slot() 1522 (strncmp(cmd, str_read_all, len) == 0)) { in cb_getvar() 1766 if (strncmp("a", cmd, 1) == 0) { in cb_set_active() 1769 } else if (strncmp("b", cmd, 1) == 0) { in cb_set_active() 1842 if (strncmp("lock", cmd + 9, 4) == 0) { in cb_flashing() 1854 } else if (strncmp("unlock", cmd + 9, 6) == 0) { in cb_flashing() [all …]
|
| /rk3399_rockchip-uboot/board/freescale/mpc8610hpcd/ |
| H A D | mpc8610hpcd_diu.c | 50 if (strncmp(port, "dlvds", 5) == 0) { in platform_diu_init() 55 } else if (strncmp(port, "lvds", 4) == 0) { in platform_diu_init()
|
| /rk3399_rockchip-uboot/arch/arm/cpu/arm926ejs/spear/ |
| H A D | cpu.c | 94 if (strncmp(argv[1], "hw", 2) == 0) { in do_switch_ecc() 98 } else if (strncmp(argv[1], "bch4", 2) == 0) { in do_switch_ecc()
|