/u-boot/test/ |
A D | unicode_ut.c | 60 static int unicode_test_u16_strlen(struct unit_test_state *uts) in unicode_test_u16_strlen() 70 static int unicode_test_u16_strdup(struct unit_test_state *uts) in unicode_test_u16_strdup() 82 static int unicode_test_u16_strcpy(struct unit_test_state *uts) in unicode_test_u16_strcpy() 97 static int unicode_test_string16(struct unit_test_state *uts) in unicode_test_string16() 138 static int unicode_test_utf8_get(struct unit_test_state *uts) in unicode_test_utf8_get() 182 static int unicode_test_utf8_put(struct unit_test_state *uts) in unicode_test_utf8_put() 362 static int unicode_test_utf16_get(struct unit_test_state *uts) in unicode_test_utf16_get() 388 static int unicode_test_utf16_put(struct unit_test_state *uts) in unicode_test_utf16_put() 585 static int unicode_test_u16_strncmp(struct unit_test_state *uts) in unicode_test_u16_strncmp() 598 static int unicode_test_u16_strsize(struct unit_test_state *uts) in unicode_test_u16_strsize() [all …]
|
A D | ut.c | 20 void ut_fail(struct unit_test_state *uts, const char *fname, int line, in ut_fail() 28 void ut_failf(struct unit_test_state *uts, const char *fname, int line, in ut_failf() 54 int ut_check_console_line(struct unit_test_state *uts, const char *fmt, ...) in ut_check_console_line() 66 int ut_check_console_linen(struct unit_test_state *uts, const char *fmt, ...) in ut_check_console_linen() 79 int ut_check_skipline(struct unit_test_state *uts) in ut_check_skipline() 88 int ut_check_console_end(struct unit_test_state *uts) in ut_check_console_end() 98 int ut_check_console_dump(struct unit_test_state *uts, int total_bytes) in ut_check_console_dump() 122 void ut_silence_console(struct unit_test_state *uts) in ut_silence_console() 132 void ut_unsilence_console(struct unit_test_state *uts) in ut_unsilence_console()
|
A D | bootm.c | 26 static int bootm_test_nop(struct unit_test_state *uts) in bootm_test_nop() 43 static int bootm_test_nospace(struct unit_test_state *uts) in bootm_test_nospace() 70 static int bootm_test_silent(struct unit_test_state *uts) in bootm_test_silent() 121 static int bootm_test_subst(struct unit_test_state *uts) in bootm_test_subst() 194 static int bootm_test_silent_var(struct unit_test_state *uts) in bootm_test_silent_var() 209 static int bootm_test_subst_var(struct unit_test_state *uts) in bootm_test_subst_var() 225 static int bootm_test_subst_both(struct unit_test_state *uts) in bootm_test_subst_both()
|
A D | compression.c | 130 static int compress_using_gzip(struct unit_test_state *uts, in compress_using_gzip() 145 static int uncompress_using_gzip(struct unit_test_state *uts, in uncompress_using_gzip() 160 static int compress_using_bzip2(struct unit_test_state *uts, in compress_using_bzip2() 195 static int compress_using_lzma(struct unit_test_state *uts, in compress_using_lzma() 214 static int uncompress_using_lzma(struct unit_test_state *uts, in uncompress_using_lzma() 229 static int compress_using_lzo(struct unit_test_state *uts, in compress_using_lzo() 248 static int uncompress_using_lzo(struct unit_test_state *uts, in uncompress_using_lzo() 264 static int compress_using_lz4(struct unit_test_state *uts, in compress_using_lz4() 283 static int uncompress_using_lz4(struct unit_test_state *uts, in uncompress_using_lz4() 378 static int run_test(struct unit_test_state *uts, char *name, in run_test() [all …]
|
/u-boot/test/dm/ |
A D | acpigen.c | 78 static int dm_test_acpi_emit_simple(struct unit_test_state *uts) in dm_test_acpi_emit_simple() 144 static int dm_test_acpi_interrupt(struct unit_test_state *uts) in dm_test_acpi_interrupt() 174 static int dm_test_acpi_gpio(struct unit_test_state *uts) in dm_test_acpi_gpio() 304 static int dm_test_acpi_i2c(struct unit_test_state *uts) in dm_test_acpi_i2c() 336 static int dm_test_acpi_spi(struct unit_test_state *uts) in dm_test_acpi_spi() 372 static int dm_test_acpi_len(struct unit_test_state *uts) in dm_test_acpi_len() 480 static int dm_test_acpi_string(struct unit_test_state *uts) in dm_test_acpi_string() 507 static int dm_test_acpi_name(struct unit_test_state *uts) in dm_test_acpi_name() 600 static int dm_test_acpi_uuid(struct unit_test_state *uts) in dm_test_acpi_uuid() 633 static int dm_test_acpi_misc(struct unit_test_state *uts) in dm_test_acpi_misc() [all …]
|
A D | video.c | 30 static int dm_test_video_base(struct unit_test_state *uts) in dm_test_video_base() 62 static int compress_frame_buffer(struct unit_test_state *uts, in compress_frame_buffer() 117 static int dm_test_video_text(struct unit_test_state *uts) in dm_test_video_text() 152 static int dm_test_video_chars(struct unit_test_state *uts) in dm_test_video_chars() 170 static int dm_test_video_ansi(struct unit_test_state *uts) in dm_test_video_ansi() 248 static int dm_test_video_context(struct unit_test_state *uts) in dm_test_video_context() 258 static int dm_test_video_rotation1(struct unit_test_state *uts) in dm_test_video_rotation1() 267 static int dm_test_video_rotation2(struct unit_test_state *uts) in dm_test_video_rotation2() 307 static int dm_test_video_bmp(struct unit_test_state *uts) in dm_test_video_bmp() 323 static int dm_test_video_bmp_comp(struct unit_test_state *uts) in dm_test_video_bmp_comp() [all …]
|
A D | core.c | 84 void dm_leak_check_start(struct unit_test_state *uts) in dm_leak_check_start() 91 int dm_leak_check_end(struct unit_test_state *uts) in dm_leak_check_end() 118 static int dm_test_autobind(struct unit_test_state *uts) in dm_test_autobind() 208 static int dm_test_autoprobe(struct unit_test_state *uts) in dm_test_autoprobe() 276 static int dm_test_plat(struct unit_test_state *uts) in dm_test_plat() 294 static int dm_test_lifecycle(struct unit_test_state *uts) in dm_test_lifecycle() 350 static int dm_test_ordering(struct unit_test_state *uts) in dm_test_ordering() 464 static int dm_test_remove(struct unit_test_state *uts) in dm_test_remove() 486 static int dm_test_leak(struct unit_test_state *uts) in dm_test_leak() 517 static int dm_test_uclass(struct unit_test_state *uts) in dm_test_uclass() [all …]
|
A D | test-fdt.c | 151 static int dm_test_fdt(struct unit_test_state *uts) in dm_test_fdt() 182 static int dm_test_alias_highest_id(struct unit_test_state *uts) in dm_test_alias_highest_id() 205 static int dm_test_fdt_pre_reloc(struct unit_test_state *uts) in dm_test_fdt_pre_reloc() 228 static int dm_test_fdt_uclass_seq(struct unit_test_state *uts) in dm_test_fdt_uclass_seq() 366 static int dm_test_fdt_offset(struct unit_test_state *uts) in dm_test_fdt_offset() 470 static int check_devices(struct unit_test_state *uts, in check_devices() 886 static int dm_test_fdt_phandle(struct unit_test_state *uts) in dm_test_fdt_phandle() 908 static int dm_test_first_child(struct unit_test_state *uts) in dm_test_first_child() 935 static int dm_test_read_int(struct unit_test_state *uts) in dm_test_read_int() 1008 static int dm_test_read_phandle(struct unit_test_state *uts) in dm_test_read_phandle() [all …]
|
A D | bus.c | 24 static int dm_test_bus_children(struct unit_test_state *uts) in dm_test_bus_children() 47 static int dm_test_bus_children_funcs(struct unit_test_state *uts) in dm_test_bus_children_funcs() 86 static int dm_test_bus_children_of_offset(struct unit_test_state *uts) in dm_test_bus_children_of_offset() 111 static int dm_test_bus_children_iterators(struct unit_test_state *uts) in dm_test_bus_children_iterators() 142 static int test_bus_parent_data(struct unit_test_state *uts) in test_bus_parent_data() 202 static int dm_test_bus_parent_data(struct unit_test_state *uts) in dm_test_bus_parent_data() 209 static int dm_test_bus_parent_data_uclass(struct unit_test_state *uts) in dm_test_bus_parent_data_uclass() 239 static int dm_test_bus_parent_ops(struct unit_test_state *uts) in dm_test_bus_parent_ops() 275 static int test_bus_parent_plat(struct unit_test_state *uts) in test_bus_parent_plat() 344 static int dm_test_bus_parent_plat(struct unit_test_state *uts) in dm_test_bus_parent_plat() [all …]
|
A D | eth.c | 25 static int dm_test_eth(struct unit_test_state *uts) in dm_test_eth() 45 static int dm_test_eth_alias(struct unit_test_state *uts) in dm_test_eth_alias() 69 static int dm_test_eth_prime(struct unit_test_state *uts) in dm_test_eth_prime() 103 static int dm_test_eth_act(struct unit_test_state *uts) in dm_test_eth_act() 151 static int _dm_test_eth_rotate1(struct unit_test_state *uts) in _dm_test_eth_rotate1() 167 static int _dm_test_eth_rotate2(struct unit_test_state *uts) in _dm_test_eth_rotate2() 182 static int dm_test_eth_rotate(struct unit_test_state *uts) in dm_test_eth_rotate() 223 static int _dm_test_net_retry(struct unit_test_state *uts) in _dm_test_net_retry() 249 static int dm_test_net_retry(struct unit_test_state *uts) in dm_test_net_retry() 272 struct unit_test_state *uts = priv->priv; in sb_check_arp_reply() local [all …]
|
A D | ofnode.c | 11 static int dm_test_ofnode_compatible(struct unit_test_state *uts) in dm_test_ofnode_compatible() 22 static int dm_test_ofnode_get_by_phandle(struct unit_test_state *uts) in dm_test_ofnode_get_by_phandle() 38 static int dm_test_ofnode_by_prop_value(struct unit_test_state *uts) in dm_test_ofnode_by_prop_value() 65 static int dm_test_ofnode_fmap(struct unit_test_state *uts) in dm_test_ofnode_fmap() 80 static int dm_test_ofnode_read(struct unit_test_state *uts) in dm_test_ofnode_read() 106 static int dm_test_ofnode_phandle(struct unit_test_state *uts) in dm_test_ofnode_phandle() 181 static int dm_test_ofnode_read_chosen(struct unit_test_state *uts) in dm_test_ofnode_read_chosen() 210 static int dm_test_ofnode_read_aliases(struct unit_test_state *uts) in dm_test_ofnode_read_aliases() 232 static int dm_test_ofnode_get_child_count(struct unit_test_state *uts) in dm_test_ofnode_get_child_count() 253 static int dm_test_ofnode_is_enabled(struct unit_test_state *uts) in dm_test_ofnode_is_enabled()
|
A D | pci.c | 15 static int dm_test_pci_base(struct unit_test_state *uts) in dm_test_pci_base() 26 static int dm_test_pci_busdev(struct unit_test_state *uts) in dm_test_pci_busdev() 61 static int dm_test_pci_swapcase(struct unit_test_state *uts) in dm_test_pci_swapcase() 114 static int dm_test_pci_drvdata(struct unit_test_state *uts) in dm_test_pci_drvdata() 136 static int dm_test_pci_mixed(struct unit_test_state *uts) in dm_test_pci_mixed() 199 static int dm_test_pci_cap(struct unit_test_state *uts) in dm_test_pci_cap() 251 static int dm_test_pci_ea(struct unit_test_state *uts) in dm_test_pci_ea() 300 static int dm_test_pci_addr_flat(struct unit_test_state *uts) in dm_test_pci_addr_flat() 329 static int dm_test_pci_addr_live(struct unit_test_state *uts) in dm_test_pci_addr_live() 345 static int dm_test_pci_on_bus(struct unit_test_state *uts) in dm_test_pci_on_bus() [all …]
|
A D | scmi.c | 25 static int ut_assert_scmi_state_preprobe(struct unit_test_state *uts) in ut_assert_scmi_state_preprobe() 36 static int ut_assert_scmi_state_postprobe(struct unit_test_state *uts, in ut_assert_scmi_state_postprobe() 69 static int load_sandbox_scmi_test_devices(struct unit_test_state *uts, in load_sandbox_scmi_test_devices() 85 static int release_sandbox_scmi_test_devices(struct unit_test_state *uts, in release_sandbox_scmi_test_devices() 98 static int dm_test_scmi_sandbox_agent(struct unit_test_state *uts) in dm_test_scmi_sandbox_agent() 112 static int dm_test_scmi_clocks(struct unit_test_state *uts) in dm_test_scmi_clocks() 174 static int dm_test_scmi_resets(struct unit_test_state *uts) in dm_test_scmi_resets()
|
A D | acpi.c | 124 static int dm_test_acpi_get_name(struct unit_test_state *uts) in dm_test_acpi_get_name() 187 static int dm_test_acpi_create_dmar(struct unit_test_state *uts) in dm_test_acpi_create_dmar() 203 static int dm_test_acpi_fill_header(struct unit_test_state *uts) in dm_test_acpi_fill_header() 230 static int dm_test_acpi_write_tables(struct unit_test_state *uts) in dm_test_acpi_write_tables() 271 static int dm_test_acpi_basic(struct unit_test_state *uts) in dm_test_acpi_basic() 347 static int dm_test_acpi_cmd_list(struct unit_test_state *uts) in dm_test_acpi_cmd_list() 389 static int dm_test_acpi_cmd_dump(struct unit_test_state *uts) in dm_test_acpi_cmd_dump() 420 static int dm_test_acpi_device_path(struct unit_test_state *uts) in dm_test_acpi_device_path() 469 static int dm_test_acpi_fill_ssdt(struct unit_test_state *uts) in dm_test_acpi_fill_ssdt() 500 static int dm_test_acpi_inject_dsdt(struct unit_test_state *uts) in dm_test_acpi_inject_dsdt() [all …]
|
A D | led.c | 15 static int dm_test_led_base(struct unit_test_state *uts) in dm_test_led_base() 32 static int dm_test_led_default_state(struct unit_test_state *uts) in dm_test_led_default_state() 52 static int dm_test_led_gpio(struct unit_test_state *uts) in dm_test_led_gpio() 77 static int dm_test_led_toggle(struct unit_test_state *uts) in dm_test_led_toggle() 102 static int dm_test_led_label(struct unit_test_state *uts) in dm_test_led_label() 124 static int dm_test_led_blink(struct unit_test_state *uts) in dm_test_led_blink()
|
A D | i2c.c | 26 static int dm_test_i2c_find(struct unit_test_state *uts) in dm_test_i2c_find() 44 static int dm_test_i2c_read_write(struct unit_test_state *uts) in dm_test_i2c_read_write() 61 static int dm_test_i2c_speed(struct unit_test_state *uts) in dm_test_i2c_speed() 83 static int dm_test_i2c_offset_len(struct unit_test_state *uts) in dm_test_i2c_offset_len() 100 static int dm_test_i2c_probe_empty(struct unit_test_state *uts) in dm_test_i2c_probe_empty() 115 static int dm_test_i2c_bytewise(struct unit_test_state *uts) in dm_test_i2c_bytewise() 170 static int dm_test_i2c_offset(struct unit_test_state *uts) in dm_test_i2c_offset() 243 static int dm_test_i2c_addr_offset(struct unit_test_state *uts) in dm_test_i2c_addr_offset()
|
A D | pmic.c | 27 static inline int power_pmic_get(struct unit_test_state *uts, char *name) in power_pmic_get() 41 static int dm_test_power_pmic_get(struct unit_test_state *uts) in dm_test_power_pmic_get() 50 static int dm_test_power_pmic_mc34708_get(struct unit_test_state *uts) in dm_test_power_pmic_mc34708_get() 60 static int dm_test_power_pmic_io(struct unit_test_state *uts) in dm_test_power_pmic_io() 90 static int dm_test_power_pmic_mc34708_regs_check(struct unit_test_state *uts) in dm_test_power_pmic_mc34708_regs_check() 106 static int dm_test_power_pmic_mc34708_rw_val(struct unit_test_state *uts) in dm_test_power_pmic_mc34708_rw_val()
|
A D | cros_ec.c | 13 static int dm_test_cros_ec_hello(struct unit_test_state *uts) in dm_test_cros_ec_hello() 34 static int dm_test_cros_ec_sku_id(struct unit_test_state *uts) in dm_test_cros_ec_sku_id() 51 static int dm_test_cros_ec_features(struct unit_test_state *uts) in dm_test_cros_ec_features() 81 static int dm_test_cros_ec_switches(struct unit_test_state *uts) in dm_test_cros_ec_switches() 107 static int dm_test_cros_ec_events(struct unit_test_state *uts) in dm_test_cros_ec_events() 144 static int dm_test_cros_ec_vstore(struct unit_test_state *uts) in dm_test_cros_ec_vstore()
|
A D | irq.c | 17 static int dm_test_irq_base(struct unit_test_state *uts) in dm_test_irq_base() 37 static int dm_test_irq_type(struct unit_test_state *uts) in dm_test_irq_type() 49 static int dm_test_read_and_clear(struct unit_test_state *uts) in dm_test_read_and_clear() 66 static int dm_test_request(struct unit_test_state *uts) in dm_test_request() 81 static int dm_test_irq_get_acpi(struct unit_test_state *uts) in dm_test_irq_get_acpi()
|
A D | gpio.c | 21 static int dm_test_gpio(struct unit_test_state *uts) in dm_test_gpio() 152 static int dm_test_gpio_opendrain_opensource(struct unit_test_state *uts) in dm_test_gpio_opendrain_opensource() 241 static int dm_test_gpio_anon(struct unit_test_state *uts) in dm_test_gpio_anon() 263 static int dm_test_gpio_requestf(struct unit_test_state *uts) in dm_test_gpio_requestf() 281 static int dm_test_gpio_copy(struct unit_test_state *uts) in dm_test_gpio_copy() 303 static int dm_test_gpio_leak(struct unit_test_state *uts) in dm_test_gpio_leak() 315 static int dm_test_gpio_phandles(struct unit_test_state *uts) in dm_test_gpio_phandles() 389 static int dm_test_gpio_get_dir_flags(struct unit_test_state *uts) in dm_test_gpio_get_dir_flags() 425 static int dm_test_gpio_get_acpi(struct unit_test_state *uts) in dm_test_gpio_get_acpi() 454 static int dm_test_gpio_get_acpi_irq(struct unit_test_state *uts) in dm_test_gpio_get_acpi_irq() [all …]
|
/u-boot/test/log/ |
A D | log_test.c | 102 int log_test_cat_allow(struct unit_test_state *uts) in log_test_cat_allow() 147 int log_test_file(struct unit_test_state *uts) in log_test_file() 185 int log_test_file_mid(struct unit_test_state *uts) in log_test_file_mid() 203 int log_test_level(struct unit_test_state *uts) in log_test_level() 221 int log_test_double(struct unit_test_state *uts) in log_test_double() 241 int log_test_triple(struct unit_test_state *uts) in log_test_triple() 285 int log_test_helpers(struct unit_test_state *uts) in log_test_helpers() 312 int log_test_disable(struct unit_test_state *uts) in log_test_disable() 324 int log_test_cat_deny(struct unit_test_state *uts) in log_test_cat_deny() 391 int log_test_min(struct unit_test_state *uts) in log_test_min() [all …]
|
A D | nolog_test.c | 23 static int log_test_nolog_err(struct unit_test_state *uts) in log_test_nolog_err() 37 static int log_test_nolog_warning(struct unit_test_state *uts) in log_test_nolog_warning() 51 static int log_test_nolog_notice(struct unit_test_state *uts) in log_test_nolog_notice() 65 static int log_test_nolog_info(struct unit_test_state *uts) in log_test_nolog_info() 81 static int nolog_test_nodebug(struct unit_test_state *uts) in nolog_test_nodebug() 94 static int log_test_nolog_nodebug(struct unit_test_state *uts) in log_test_nolog_nodebug() 110 static int nolog_test_debug(struct unit_test_state *uts) in nolog_test_debug() 124 static int log_test_nolog_debug(struct unit_test_state *uts) in log_test_nolog_debug()
|
A D | syslog_test.c | 31 struct unit_test_state *uts = env->uts; in sb_log_tx_handler() local 60 int syslog_test_setup(struct unit_test_state *uts) in syslog_test_setup() 67 int syslog_test_finish(struct unit_test_state *uts) in syslog_test_finish() 80 static int log_test_syslog_err(struct unit_test_state *uts) in log_test_syslog_err() 113 static int log_test_syslog_warning(struct unit_test_state *uts) in log_test_syslog_warning() 147 static int log_test_syslog_notice(struct unit_test_state *uts) in log_test_syslog_notice() 181 static int log_test_syslog_info(struct unit_test_state *uts) in log_test_syslog_info() 215 static int log_test_syslog_debug(struct unit_test_state *uts) in log_test_syslog_debug()
|
/u-boot/test/cmd/ |
A D | mem_search.c | 21 static int mem_test_ms_b(struct unit_test_state *uts) in mem_test_ms_b() 50 static int mem_test_ms_w(struct unit_test_state *uts) in mem_test_ms_w() 75 static int mem_test_ms_l(struct unit_test_state *uts) in mem_test_ms_l() 109 static int mem_test_ms_cont(struct unit_test_state *uts) in mem_test_ms_cont() 159 static int mem_test_ms_cont_end(struct unit_test_state *uts) in mem_test_ms_cont_end() 203 static int mem_test_ms_mult(struct unit_test_state *uts) in mem_test_ms_mult() 232 static int mem_test_ms_s(struct unit_test_state *uts) in mem_test_ms_s() 275 static int mem_test_ms_limit(struct unit_test_state *uts) in mem_test_ms_limit() 304 static int mem_test_ms_quiet(struct unit_test_state *uts) in mem_test_ms_quiet()
|
A D | setexpr.c | 22 static int setexpr_test_int(struct unit_test_state *uts) in setexpr_test_int() 70 static int setexpr_test_plus(struct unit_test_state *uts) in setexpr_test_plus() 112 static int setexpr_test_oper(struct unit_test_state *uts) in setexpr_test_oper() 155 static int setexpr_test_regex(struct unit_test_state *uts) in setexpr_test_regex() 189 static int setexpr_test_regex_inc(struct unit_test_state *uts) in setexpr_test_regex_inc() 206 static int setexpr_test_sub(struct unit_test_state *uts) in setexpr_test_sub() 246 static int setexpr_test_backref(struct unit_test_state *uts) in setexpr_test_backref() 291 static int setexpr_test_str(struct unit_test_state *uts) in setexpr_test_str() 323 static int setexpr_test_str_oper(struct unit_test_state *uts) in setexpr_test_str_oper() 357 static int setexpr_test_str_long(struct unit_test_state *uts) in setexpr_test_str_long()
|