/u-boot/post/ |
A D | tests.c | 55 NULL, 56 NULL, 67 NULL, 68 NULL, 82 NULL, 83 NULL, 95 NULL, 96 NULL, 107 NULL, 108 NULL, [all …]
|
/u-boot/cmd/ |
A D | legacy_led.c | 30 { "0", CONFIG_LED_STATUS_BIT, NULL, NULL, NULL }, 33 { "1", CONFIG_LED_STATUS_BIT1, NULL, NULL, NULL }, 36 { "2", CONFIG_LED_STATUS_BIT2, NULL, NULL, NULL }, 39 { "3", CONFIG_LED_STATUS_BIT3, NULL, NULL, NULL }, 42 { "4", CONFIG_LED_STATUS_BIT4, NULL, NULL, NULL }, 45 { "5", CONFIG_LED_STATUS_BIT5, NULL, NULL, NULL }, 53 NULL }, 56 { "red", CONFIG_LED_STATUS_RED, red_led_off, red_led_on, NULL }, 59 { "blue", CONFIG_LED_STATUS_BLUE, blue_led_off, blue_led_on, NULL }, 61 { NULL, 0, NULL, NULL, NULL } [all …]
|
A D | pwm.c | 23 const char *str_cmd, *str_channel = NULL, *str_enable = NULL; in do_pwm() 24 const char *str_pwm = NULL, *str_period = NULL, *str_duty = NULL; in do_pwm() 69 pwm_dev = simple_strtoul(str_pwm, NULL, 10); in do_pwm() 77 channel = simple_strtoul(str_channel, NULL, 10); in do_pwm() 83 pwm_enable = simple_strtoul(str_enable, NULL, 10); in do_pwm() 89 period_ns = simple_strtoul(str_period, NULL, 10); in do_pwm() 92 duty_ns = simple_strtoul(str_duty, NULL, 10); in do_pwm()
|
A D | smccc.c | 31 fid = simple_strtoul(argv[1], NULL, 16); in do_call() 33 a1 = argc > 2 ? simple_strtoul(argv[2], NULL, 16) : 0; in do_call() 34 a2 = argc > 3 ? simple_strtoul(argv[3], NULL, 16) : 0; in do_call() 35 a3 = argc > 4 ? simple_strtoul(argv[4], NULL, 16) : 0; in do_call() 36 a4 = argc > 5 ? simple_strtoul(argv[5], NULL, 16) : 0; in do_call() 37 a5 = argc > 6 ? simple_strtoul(argv[6], NULL, 16) : 0; in do_call() 38 a6 = argc > 7 ? simple_strtoul(argv[7], NULL, 16) : 0; in do_call() 39 a7 = argc > 8 ? simple_strtoul(argv[8], NULL, 16) : 0; in do_call()
|
A D | unzip.c | 21 dst_len = simple_strtoul(argv[3], NULL, 16); in do_unzip() 24 src = simple_strtoul(argv[1], NULL, 16); in do_unzip() 25 dst = simple_strtoul(argv[2], NULL, 16); in do_unzip() 63 addr = (unsigned char *)simple_strtoul(argv[3], NULL, 16); in do_gzwrite() 64 length = simple_strtoul(argv[4], NULL, 16); in do_gzwrite() 67 writebuf = simple_strtoul(argv[5], NULL, 16); in do_gzwrite() 69 startoffs = simple_strtoull(argv[6], NULL, 16); in do_gzwrite() 72 NULL, 16); in do_gzwrite()
|
A D | test.c | 118 expr = simple_strtol(ap[0], NULL, 0) == in do_test() 119 simple_strtol(ap[2], NULL, 0); in do_test() 123 simple_strtol(ap[2], NULL, 0); in do_test() 126 expr = simple_strtol(ap[0], NULL, 0) < in do_test() 127 simple_strtol(ap[2], NULL, 0); in do_test() 131 simple_strtol(ap[2], NULL, 0); in do_test() 134 expr = simple_strtol(ap[0], NULL, 0) > in do_test() 135 simple_strtol(ap[2], NULL, 0); in do_test() 139 simple_strtol(ap[2], NULL, 0); in do_test() 204 NULL [all …]
|
/u-boot/board/compulab/common/ |
A D | eeprom.c | 156 board_rev = simple_strtoul(str, NULL, 10); in cl_eeprom_get_board_rev() 175 if (buf == NULL) in cl_eeprom_get_product_name() 236 if (tok == NULL) in eeprom_field_update_bin_ver() 243 tok = strtok(NULL, ""); in eeprom_field_update_bin_ver() 244 if (tok == NULL) in eeprom_field_update_bin_ver() 349 char *tok2 = strtok(NULL, "/"); in eeprom_field_update_date() 350 char *tok3 = strtok(NULL, "/"); in eeprom_field_update_date() 352 if (tok1 == NULL || tok2 == NULL || tok3 == NULL) { in eeprom_field_update_date() 403 { "MAC address", 6, NULL, DEFINE_PRINT_UPDATE(mac) }, 418 { "1st MAC Address", 6, NULL, DEFINE_PRINT_UPDATE(mac) }, [all …]
|
/u-boot/scripts/dtc/ |
A D | dtc.c | 86 {NULL, no_argument, NULL, 0x0}, 119 NULL, 127 if (s == NULL) in guess_type_by_name() 152 if (f == NULL) in guess_input_format() 169 const char *inform = NULL; in main() 170 const char *outform = NULL; in main() 176 FILE *outf = NULL; in main() 264 usage(NULL); in main() 289 if (inform == NULL) in main() 291 if (outform == NULL) { in main() [all …]
|
/u-boot/lib/libavb/ |
A D | avb_slot_verify.c | 231 NULL); in initialize_persistent_digest() 238 NULL); in initialize_persistent_digest() 256 NULL); in initialize_persistent_digest() 308 if (found == NULL) { in load_and_verify_hash_partition() 430 NULL); in load_and_verify_hash_partition() 454 image_buf = NULL; in load_and_verify_hash_partition() 524 image_buf = NULL; in load_requested_partitions() 669 NULL); in load_and_verify_vbmeta() 674 NULL); in load_and_verify_vbmeta() 865 NULL); in load_and_verify_vbmeta() [all …]
|
/u-boot/env/ |
A D | callback.c | 25 if (name == NULL) in find_env_callback() 26 return NULL; in find_env_callback() 36 return NULL; in find_env_callback() 62 if (callback_list != NULL) in env_callback_init() 73 if (clbkp != NULL) in env_callback_init() 88 entry->callback = NULL; in clear_callback() 102 e.data = NULL; in set_callback() 103 e.callback = NULL; in set_callback() 107 if (ep != NULL) { in set_callback() 110 ep->callback = NULL; in set_callback() [all …]
|
/u-boot/drivers/mtd/nand/spi/ |
A D | gigadevice.c | 27 SPINAND_PAGE_READ_FROM_CACHE_QUADIO_OP(0, 1, NULL, 0), 28 SPINAND_PAGE_READ_FROM_CACHE_X4_OP(0, 1, NULL, 0), 29 SPINAND_PAGE_READ_FROM_CACHE_DUALIO_OP(0, 1, NULL, 0), 30 SPINAND_PAGE_READ_FROM_CACHE_X2_OP(0, 1, NULL, 0), 31 SPINAND_PAGE_READ_FROM_CACHE_OP(true, 0, 1, NULL, 0), 37 SPINAND_PAGE_READ_FROM_CACHE_X4_OP(0, 1, NULL, 0), 39 SPINAND_PAGE_READ_FROM_CACHE_X2_OP(0, 1, NULL, 0), 44 SPINAND_PROG_LOAD_X4(true, 0, NULL, 0), 45 SPINAND_PROG_LOAD(true, 0, NULL, 0)); 48 SPINAND_PROG_LOAD_X4(false, 0, NULL, 0), [all …]
|
A D | winbond.c | 23 SPINAND_PAGE_READ_FROM_CACHE_QUADIO_OP(0, 2, NULL, 0), 24 SPINAND_PAGE_READ_FROM_CACHE_X4_OP(0, 1, NULL, 0), 25 SPINAND_PAGE_READ_FROM_CACHE_DUALIO_OP(0, 1, NULL, 0), 26 SPINAND_PAGE_READ_FROM_CACHE_X2_OP(0, 1, NULL, 0), 27 SPINAND_PAGE_READ_FROM_CACHE_OP(true, 0, 1, NULL, 0), 31 SPINAND_PROG_LOAD_X4(true, 0, NULL, 0), 32 SPINAND_PROG_LOAD(true, 0, NULL, 0)); 35 SPINAND_PROG_LOAD_X4(false, 0, NULL, 0), 36 SPINAND_PROG_LOAD(false, 0, NULL, 0)); 89 SPINAND_ECCINFO(&w25m02gv_ooblayout, NULL), [all …]
|
/u-boot/examples/api/ |
A D | glue.c | 19 if (sig == NULL) in valid_sig() 48 if (sig == NULL) in api_search_sig() 67 *sig = NULL; in api_search_sig() 99 syscall(API_PUTC, NULL, &c); in ub_putc() 104 syscall(API_PUTS, NULL, s); in ub_puts() 115 syscall(API_RESET, NULL); in ub_reset() 131 return NULL; in ub_get_sys_info() 349 return NULL; in ub_env_get() 366 env = NULL; in ub_env_enum() 374 return NULL; in ub_env_enum() [all …]
|
/u-boot/api/ |
A D | api.c | 119 do_reset(NULL, 0, 0, NULL); in API_reset() 138 if (si == NULL) in API_get_sys_info() 170 if (cur == NULL) in API_get_timer() 205 if (di == NULL) in API_dev_enum() 239 if (di == NULL) in API_dev_open() 271 if (di == NULL) in API_dev_close() 329 if (di == NULL) in API_dev_write() 410 if (di == NULL) in API_dev_read() 528 var = NULL; in API_env_enum() 555 var = NULL; in API_env_enum() [all …]
|
/u-boot/lib/bzip2/ |
A D | bzlib.c | 233 if (s->arr1 == NULL || s->arr2 == NULL || s->ftab == NULL) { in BZ_API() 1003 if (bzf == NULL || buf == NULL || len < 0) in BZ_API() 1046 nbytes_in, NULL, nbytes_out, NULL ); in BZ_API() 1201 if (bzf == NULL || buf == NULL || len < 0) in BZ_API() 1261 if (unused == NULL || nUnused == NULL) in BZ_API() 1288 if (dest == NULL || destLen == NULL || in BZ_API() 1339 if (destLen == NULL || source == NULL) in BZ_API() 1428 if (mode == NULL) return NULL; in bzopen_or_bzdopen() 1461 if (fp == NULL) return NULL; in bzopen_or_bzdopen() 1548 BZ2_bzWriteClose(&bzerr,b,0,NULL,NULL); in BZ_API() [all …]
|
/u-boot/scripts/coccinelle/iterators/ |
A D | itnull.cocci | 29 - if (x == NULL && ...) S 31 - if (x != NULL || ...) 34 - (x == NULL) || 37 - (x != NULL) && 40 - (x == NULL && ...) ? E1 : 43 - (x != NULL || ...) ? 50 - if (x != NULL || ...) 55 x == NULL 59 x != NULL 73 * x@p2 == NULL [all …]
|
/u-boot/net/ |
A D | eth_common.c | 51 return skip_state != NULL; in eth_mac_skip() 65 if ((ethrotate != NULL) && (strcmp(ethrotate, "no") == 0)) in eth_current_changed() 70 if (act == NULL || strcmp(act, eth_get_name()) != 0) in eth_current_changed() 77 else if (act != NULL) in eth_current_changed() 78 env_set("ethact", NULL); in eth_current_changed() 91 if ((ethrotate != NULL) && (strcmp(ethrotate, "no") == 0)) in eth_try_another() 115 if ((act == NULL) || (env_changed_id != env_id)) { in eth_set_current() 120 if (act == NULL) { in eth_set_current() 122 void *dev = NULL; in eth_set_current() 129 eth_set_dev(NULL); in eth_set_current()
|
/u-boot/lib/efi_selftest/ |
A D | efi_selftest_hii.c | 82 NULL, &handle); in test_hii_database_new_package_list() 117 NULL, &handle); in test_hii_database_update_package_list() 159 efi_hii_handle_t handle1 = NULL, handle2 = NULL, *handles; in test_hii_database_list_package_lists() 184 handles = NULL; in test_hii_database_list_package_lists() 215 handles = NULL; in test_hii_database_list_package_lists() 249 handles = NULL; in test_hii_database_list_package_lists() 284 handles = NULL; in test_hii_database_list_package_lists() 388 efi_hii_handle_t handle1 = NULL, handle2 = NULL; in test_hii_database_find_keyboard_layouts() 413 guids = NULL; in test_hii_database_find_keyboard_layouts() 473 efi_hii_handle_t handle1 = NULL, handle2 = NULL; in test_hii_database_get_keyboard_layout() [all …]
|
/u-boot/arch/x86/lib/ |
A D | acpi.c | 15 return NULL; in acpi_valid_rsdp() 20 return NULL; in acpi_valid_rsdp() 25 return NULL; in acpi_valid_rsdp() 34 struct acpi_rsdp *rsdp = NULL; in acpi_find_fadt() 36 struct acpi_fadt *fadt = NULL; in acpi_find_fadt() 47 return NULL; in acpi_find_fadt() 59 fadt = NULL; in acpi_find_fadt() 63 return NULL; in acpi_find_fadt() 80 return NULL; in acpi_find_wakeup_vector()
|
/u-boot/board/Marvell/octeontx2/ |
A D | board-fdt.c | 51 const char *str = NULL; in fdt_get_board_mac_addr() 60 mac_addr = simple_strtol(str, NULL, 16); in fdt_get_board_mac_addr() 67 const char *str = NULL; in fdt_get_board_mac_cnt() 86 if (simple_strtol(str, NULL, 10) >= 0) in fdt_get_board_mac_cnt() 99 const char *str = NULL; in fdt_get_board_serial() 103 return NULL; in fdt_get_board_serial() 115 const char *str = NULL; in fdt_get_board_revision() 119 return NULL; in fdt_get_board_revision() 130 const char *str = NULL; in fdt_get_board_model() 135 return NULL; in fdt_get_board_model() [all …]
|
/u-boot/board/kmc/kzm9g/ |
A D | kzm9g.c | 312 gpio_request(GPIO_PORT224, NULL); in board_init() 316 gpio_request(GPIO_FN_CS4_, NULL); in board_init() 319 gpio_request(GPIO_FN_MMCCLK0, NULL); in board_init() 331 gpio_request(GPIO_FN_SDHIWP0, NULL); in board_init() 332 gpio_request(GPIO_FN_SDHICD0, NULL); in board_init() 333 gpio_request(GPIO_FN_SDHICMD0, NULL); in board_init() 334 gpio_request(GPIO_FN_SDHICLK0, NULL); in board_init() 335 gpio_request(GPIO_FN_SDHID0_3, NULL); in board_init() 336 gpio_request(GPIO_FN_SDHID0_2, NULL); in board_init() 337 gpio_request(GPIO_FN_SDHID0_1, NULL); in board_init() [all …]
|
/u-boot/tools/env/ |
A D | fw_env_main.c | 46 {"config", required_argument, NULL, 'c'}, 47 {"help", no_argument, NULL, 'h'}, 48 {"script", required_argument, NULL, 's'}, 49 {"noheader", no_argument, NULL, 'n'}, 50 {"lock", required_argument, NULL, 'l'}, 51 {"version", no_argument, NULL, 'v'}, 52 {NULL, 0, NULL, 0} 123 while ((c = getopt_long(argc, argv, ":a:c:l:h:v", long_options, NULL)) != in parse_common_args() 159 while ((c = getopt_long(argc, argv, "a:c:ns:l:h:v", long_options, NULL)) in parse_printenv_args() 186 while ((c = getopt_long(argc, argv, "a:c:ns:l:h:v", long_options, NULL)) in parse_setenv_args() [all …]
|
/u-boot/drivers/clk/imx/ |
A D | clk.h | 67 return clk_register_gate2(NULL, name, parent, in imx_clk_gate4() 76 return clk_register_gate2(NULL, name, parent, in imx_clk_gate4_flags() 84 return clk_register_fixed_factor(NULL, name, parent, in imx_clk_fixed_factor() 106 return clk_register_divider(NULL, name, parent, in imx_clk_divider2() 123 return clk_register_mux(NULL, name, parents, num_parents, in imx_clk_mux_flags() 133 return clk_register_mux(NULL, name, parents, num_parents, in imx_clk_mux2_flags() 142 return clk_register_mux(NULL, name, parents, num_parents, in imx_clk_mux() 170 shift, 0, NULL); in imx_clk_gate() 177 shift, 0, NULL); in imx_clk_gate_flags() 183 return clk_register_gate(NULL, name, parent, in imx_clk_gate3() [all …]
|
/u-boot/arch/arm/mach-imx/imx8/ |
A D | snvs_security_sc.c | 322 check_write_secvio_config(id, _p1, NULL, NULL, NULL, NULL, 1) 371 &cnf->lp.tamper_filt2_cfg, NULL, in apply_snvs_config() 372 NULL, 3); in apply_snvs_config() 390 NULL, NULL, NULL, 2); in apply_snvs_config() 409 &cnf->lp.tamper_det_cfg2, NULL, NULL, in apply_snvs_config() 410 NULL, 2); in apply_snvs_config() 729 conf.pad = simple_strtoul(argv[++idx], NULL, 10); in do_tamper_pin_cfg() 768 &conf.lp.status, NULL, NULL, NULL, in do_snvs_clear_status() 769 NULL, 1); in do_snvs_clear_status() 774 &conf.lp.tamper_det_status, NULL, in do_snvs_clear_status() [all …]
|
/u-boot/test/dm/ |
A D | soc.c | 35 .data = NULL, in dm_test_soc() 41 .data = NULL, in dm_test_soc() 53 .data = NULL, in dm_test_soc() 62 .data = NULL, in dm_test_soc() 72 .data = NULL, in dm_test_soc() 81 .data = NULL, in dm_test_soc() 86 .data = NULL, in dm_test_soc() 115 ut_asserteq_ptr(soc_data, NULL); in dm_test_soc()
|