/openbmc/u-boot/test/ |
H A D | unicode_ut.c | 53 static int unicode_test_u16_strdup(struct unit_test_state *uts) in unicode_test_u16_strdup() 64 static int unicode_test_u16_strcpy(struct unit_test_state *uts) in unicode_test_u16_strcpy() 78 static int unicode_test_string16(struct unit_test_state *uts) in unicode_test_string16() 119 static int unicode_test_utf8_get(struct unit_test_state *uts) in unicode_test_utf8_get() 157 static int unicode_test_utf8_put(struct unit_test_state *uts) in unicode_test_utf8_put() 195 static int unicode_test_utf8_utf16_strlen(struct unit_test_state *uts) in unicode_test_utf8_utf16_strlen() 211 static int unicode_test_utf8_utf16_strnlen(struct unit_test_state *uts) in unicode_test_utf8_utf16_strnlen() 248 static int unicode_test_utf8_utf16_strcpy(struct unit_test_state *uts) in unicode_test_utf8_utf16_strcpy() 293 static int unicode_test_utf8_utf16_strncpy(struct unit_test_state *uts) in unicode_test_utf8_utf16_strncpy() 337 static int unicode_test_utf16_get(struct unit_test_state *uts) in unicode_test_utf16_get() [all …]
|
H A D | compression.c | 126 static int compress_using_gzip(struct unit_test_state *uts, in compress_using_gzip() 141 static int uncompress_using_gzip(struct unit_test_state *uts, in uncompress_using_gzip() 156 static int compress_using_bzip2(struct unit_test_state *uts, in compress_using_bzip2() 175 static int uncompress_using_bzip2(struct unit_test_state *uts, in uncompress_using_bzip2() 191 static int compress_using_lzma(struct unit_test_state *uts, in compress_using_lzma() 210 static int uncompress_using_lzma(struct unit_test_state *uts, in uncompress_using_lzma() 225 static int compress_using_lzo(struct unit_test_state *uts, in compress_using_lzo() 244 static int uncompress_using_lzo(struct unit_test_state *uts, in uncompress_using_lzo() 260 static int compress_using_lz4(struct unit_test_state *uts, in compress_using_lz4() 279 static int uncompress_using_lz4(struct unit_test_state *uts, in uncompress_using_lz4() [all …]
|
/openbmc/u-boot/test/dm/ |
H A D | core.c | 73 void dm_leak_check_start(struct unit_test_state *uts) in dm_leak_check_start() 80 int dm_leak_check_end(struct unit_test_state *uts) in dm_leak_check_end() 107 static int dm_test_autobind(struct unit_test_state *uts) in dm_test_autobind() 142 static int dm_test_autobind_uclass_pdata_alloc(struct unit_test_state *uts) in dm_test_autobind_uclass_pdata_alloc() 171 static int dm_test_autobind_uclass_pdata_valid(struct unit_test_state *uts) in dm_test_autobind_uclass_pdata_valid() 197 static int dm_test_autoprobe(struct unit_test_state *uts) in dm_test_autoprobe() 265 static int dm_test_platdata(struct unit_test_state *uts) in dm_test_platdata() 283 static int dm_test_lifecycle(struct unit_test_state *uts) in dm_test_lifecycle() 339 static int dm_test_ordering(struct unit_test_state *uts) in dm_test_ordering() 395 int dm_check_operations(struct unit_test_state *uts, struct udevice *dev, in dm_check_operations() [all …]
|
H A D | test-fdt.c | 156 int dm_check_devices(struct unit_test_state *uts, int num_devices) in dm_check_devices() 191 static int dm_test_fdt(struct unit_test_state *uts) in dm_test_fdt() 222 static int dm_test_alias_highest_id(struct unit_test_state *uts) in dm_test_alias_highest_id() 245 static int dm_test_fdt_pre_reloc(struct unit_test_state *uts) in dm_test_fdt_pre_reloc() 268 static int dm_test_fdt_uclass_seq(struct unit_test_state *uts) in dm_test_fdt_uclass_seq() 323 static int dm_test_fdt_offset(struct unit_test_state *uts) in dm_test_fdt_offset() 356 static int dm_test_first_next_device(struct unit_test_state *uts) in dm_test_first_next_device() 406 static int check_devices(struct unit_test_state *uts, in check_devices() 429 static int dm_test_first_next_ok_device(struct unit_test_state *uts) in dm_test_first_next_ok_device() 490 static int dm_test_fdt_translation(struct unit_test_state *uts) in dm_test_fdt_translation() [all …]
|
H A D | video.c | 27 static int dm_test_video_base(struct unit_test_state *uts) in dm_test_video_base() 87 static int select_vidconsole(struct unit_test_state *uts, const char *drv_name) in select_vidconsole() 109 static int dm_test_video_text(struct unit_test_state *uts) in dm_test_video_text() 144 static int dm_test_video_chars(struct unit_test_state *uts) in dm_test_video_chars() 162 static int dm_test_video_ansi(struct unit_test_state *uts) in dm_test_video_ansi() 202 static int check_vidconsole_output(struct unit_test_state *uts, int rot, in check_vidconsole_output() 239 static int dm_test_video_context(struct unit_test_state *uts) in dm_test_video_context() 249 static int dm_test_video_rotation1(struct unit_test_state *uts) in dm_test_video_rotation1() 258 static int dm_test_video_rotation2(struct unit_test_state *uts) in dm_test_video_rotation2() 267 static int dm_test_video_rotation3(struct unit_test_state *uts) in dm_test_video_rotation3() [all …]
|
H A D | eth.c | 22 static int dm_test_eth(struct unit_test_state *uts) in dm_test_eth() 42 static int dm_test_eth_alias(struct unit_test_state *uts) in dm_test_eth_alias() 66 static int dm_test_eth_prime(struct unit_test_state *uts) in dm_test_eth_prime() 100 static int dm_test_eth_act(struct unit_test_state *uts) in dm_test_eth_act() 148 static int _dm_test_eth_rotate1(struct unit_test_state *uts) in _dm_test_eth_rotate1() 164 static int _dm_test_eth_rotate2(struct unit_test_state *uts) in _dm_test_eth_rotate2() 179 static int dm_test_eth_rotate(struct unit_test_state *uts) in dm_test_eth_rotate() 220 static int _dm_test_net_retry(struct unit_test_state *uts) in _dm_test_net_retry() 246 static int dm_test_net_retry(struct unit_test_state *uts) in dm_test_net_retry() 269 struct unit_test_state *uts = priv->priv; in sb_check_arp_reply() local [all …]
|
H A D | bus.c | 118 static int dm_test_bus_children(struct unit_test_state *uts) in dm_test_bus_children() 141 static int dm_test_bus_children_funcs(struct unit_test_state *uts) in dm_test_bus_children_funcs() 179 static int dm_test_bus_children_of_offset(struct unit_test_state *uts) in dm_test_bus_children_of_offset() 204 static int dm_test_bus_children_iterators(struct unit_test_state *uts) in dm_test_bus_children_iterators() 235 static int test_bus_parent_data(struct unit_test_state *uts) in test_bus_parent_data() 295 static int dm_test_bus_parent_data(struct unit_test_state *uts) in dm_test_bus_parent_data() 302 static int dm_test_bus_parent_data_uclass(struct unit_test_state *uts) in dm_test_bus_parent_data_uclass() 332 static int dm_test_bus_parent_ops(struct unit_test_state *uts) in dm_test_bus_parent_ops() 370 static int test_bus_parent_platdata(struct unit_test_state *uts) in test_bus_parent_platdata() 443 static int dm_test_bus_parent_platdata(struct unit_test_state *uts) in dm_test_bus_parent_platdata() [all …]
|
H A D | adc.c | 22 static int dm_test_adc_bind(struct unit_test_state *uts) in dm_test_adc_bind() 37 static int dm_test_adc_wrong_channel_selection(struct unit_test_state *uts) in dm_test_adc_wrong_channel_selection() 48 static int dm_test_adc_supply(struct unit_test_state *uts) in dm_test_adc_supply() 91 static int dm_test_adc_single_channel_conversion(struct unit_test_state *uts) in dm_test_adc_single_channel_conversion() 109 static int dm_test_adc_multi_channel_conversion(struct unit_test_state *uts) in dm_test_adc_multi_channel_conversion() 132 static int dm_test_adc_single_channel_shot(struct unit_test_state *uts) in dm_test_adc_single_channel_shot() 148 static int dm_test_adc_multi_channel_shot(struct unit_test_state *uts) in dm_test_adc_multi_channel_shot() 179 static int dm_test_adc_raw_to_uV(struct unit_test_state *uts) in dm_test_adc_raw_to_uV()
|
H A D | led.c | 14 static int dm_test_led_base(struct unit_test_state *uts) in dm_test_led_base() 31 static int dm_test_led_default_state(struct unit_test_state *uts) in dm_test_led_default_state() 50 static int dm_test_led_gpio(struct unit_test_state *uts) in dm_test_led_gpio() 75 static int dm_test_led_toggle(struct unit_test_state *uts) in dm_test_led_toggle() 100 static int dm_test_led_label(struct unit_test_state *uts) in dm_test_led_label() 122 static int dm_test_led_blink(struct unit_test_state *uts) in dm_test_led_blink()
|
H A D | i2c.c | 24 static int dm_test_i2c_find(struct unit_test_state *uts) in dm_test_i2c_find() 45 static int dm_test_i2c_read_write(struct unit_test_state *uts) in dm_test_i2c_read_write() 62 static int dm_test_i2c_speed(struct unit_test_state *uts) in dm_test_i2c_speed() 84 static int dm_test_i2c_offset_len(struct unit_test_state *uts) in dm_test_i2c_offset_len() 101 static int dm_test_i2c_probe_empty(struct unit_test_state *uts) in dm_test_i2c_probe_empty() 116 static int dm_test_i2c_bytewise(struct unit_test_state *uts) in dm_test_i2c_bytewise() 171 static int dm_test_i2c_offset(struct unit_test_state *uts) in dm_test_i2c_offset()
|
H A D | pmic.c | 26 static inline int power_pmic_get(struct unit_test_state *uts, char *name) in power_pmic_get() 40 static int dm_test_power_pmic_get(struct unit_test_state *uts) in dm_test_power_pmic_get() 49 static int dm_test_power_pmic_mc34708_get(struct unit_test_state *uts) in dm_test_power_pmic_mc34708_get() 59 static int dm_test_power_pmic_io(struct unit_test_state *uts) in dm_test_power_pmic_io() 89 static int dm_test_power_pmic_mc34708_regs_check(struct unit_test_state *uts) in dm_test_power_pmic_mc34708_regs_check() 105 static int dm_test_power_pmic_mc34708_rw_val(struct unit_test_state *uts) in dm_test_power_pmic_mc34708_rw_val()
|
H A D | pci.c | 14 static int dm_test_pci_base(struct unit_test_state *uts) in dm_test_pci_base() 25 static int dm_test_pci_busdev(struct unit_test_state *uts) in dm_test_pci_busdev() 60 static int dm_test_pci_swapcase(struct unit_test_state *uts) in dm_test_pci_swapcase() 113 static int dm_test_pci_drvdata(struct unit_test_state *uts) in dm_test_pci_drvdata() 135 static int dm_test_pci_mixed(struct unit_test_state *uts) in dm_test_pci_mixed() 198 static int dm_test_pci_cap(struct unit_test_state *uts) in dm_test_pci_cap()
|
H A D | usb.c | 19 static int dm_test_usb_base(struct unit_test_state *uts) in dm_test_usb_base() 36 static int dm_test_usb_flash(struct unit_test_state *uts) in dm_test_usb_flash() 59 static int dm_test_usb_multi(struct unit_test_state *uts) in dm_test_usb_multi() 100 static int dm_test_usb_stop(struct unit_test_state *uts) in dm_test_usb_stop() 118 static int dm_test_usb_keyb(struct unit_test_state *uts) in dm_test_usb_keyb()
|
H A D | gpio.c | 16 static int dm_test_gpio(struct unit_test_state *uts) in dm_test_gpio() 110 static int dm_test_gpio_anon(struct unit_test_state *uts) in dm_test_gpio_anon() 132 static int dm_test_gpio_requestf(struct unit_test_state *uts) in dm_test_gpio_requestf() 150 static int dm_test_gpio_copy(struct unit_test_state *uts) in dm_test_gpio_copy() 172 static int dm_test_gpio_leak(struct unit_test_state *uts) in dm_test_gpio_leak() 184 static int dm_test_gpio_phandles(struct unit_test_state *uts) in dm_test_gpio_phandles()
|
H A D | regulator.c | 49 static int dm_test_power_regulator_get(struct unit_test_state *uts) in dm_test_power_regulator_get() 94 static int dm_test_power_regulator_set_get_voltage(struct unit_test_state *uts) in dm_test_power_regulator_set_get_voltage() 121 static int dm_test_power_regulator_set_get_current(struct unit_test_state *uts) in dm_test_power_regulator_set_get_current() 160 static int dm_test_power_regulator_set_get_enable(struct unit_test_state *uts) in dm_test_power_regulator_set_get_enable() 180 int dm_test_power_regulator_set_enable_if_allowed(struct unit_test_state *uts) in dm_test_power_regulator_set_enable_if_allowed() 200 static int dm_test_power_regulator_set_get_mode(struct unit_test_state *uts) in dm_test_power_regulator_set_get_mode() 219 static int dm_test_power_regulator_autoset(struct unit_test_state *uts) in dm_test_power_regulator_autoset() 299 static int dm_test_power_regulator_autoset_list(struct unit_test_state *uts) in dm_test_power_regulator_autoset_list()
|
H A D | sysreset.c | 15 static int dm_test_sysreset_base(struct unit_test_state *uts) in dm_test_sysreset_base() 48 static int dm_test_sysreset_get_status(struct unit_test_state *uts) in dm_test_sysreset_get_status() 68 static int dm_test_sysreset_walk(struct unit_test_state *uts) in dm_test_sysreset_walk() 95 static int dm_test_sysreset_get_last(struct unit_test_state *uts) in dm_test_sysreset_get_last()
|
H A D | blk.c | 16 static int dm_test_blk_base(struct unit_test_state *uts) in dm_test_blk_base() 64 static int dm_test_blk_usb(struct unit_test_state *uts) in dm_test_blk_usb() 93 static int dm_test_blk_find(struct unit_test_state *uts) in dm_test_blk_find() 114 static int dm_test_blk_devnum(struct unit_test_state *uts) in dm_test_blk_devnum() 149 static int dm_test_blk_get_from_parent(struct unit_test_state *uts) in dm_test_blk_get_from_parent()
|
H A D | regmap.c | 16 static int dm_test_regmap_base(struct unit_test_state *uts) in dm_test_regmap_base() 70 static int dm_test_regmap_syscon(struct unit_test_state *uts) in dm_test_regmap_syscon() 96 static int dm_test_regmap_rw(struct unit_test_state *uts) in dm_test_regmap_rw() 121 static int dm_test_regmap_getset(struct unit_test_state *uts) in dm_test_regmap_getset() 149 static int dm_test_regmap_poll(struct unit_test_state *uts) in dm_test_regmap_poll()
|
H A D | test-main.c | 24 static int dm_test_init(struct unit_test_state *uts, bool of_live) in dm_test_init() 44 static int do_autoprobe(struct unit_test_state *uts) in do_autoprobe() 58 static int dm_test_destroy(struct unit_test_state *uts) in dm_test_destroy() 78 static int dm_do_test(struct unit_test_state *uts, struct unit_test *test, in dm_do_test() 131 struct unit_test_state *uts = &global_dm_test_state; in dm_test_main() local
|
H A D | virtio.c | 18 static int dm_test_virtio_base(struct unit_test_state *uts) in dm_test_virtio_base() 39 static int dm_test_virtio_all_ops(struct unit_test_state *uts) in dm_test_virtio_all_ops() 85 static int dm_test_virtio_missing_ops(struct unit_test_state *uts) in dm_test_virtio_missing_ops() 103 static int dm_test_virtio_remove(struct unit_test_state *uts) in dm_test_virtio_remove()
|
/openbmc/u-boot/test/lib/ |
H A D | lmb.c | 11 static int check_lmb(struct unit_test_state *uts, struct lmb *lmb, in check_lmb() 50 static int test_multi_alloc(struct unit_test_state *uts, const phys_addr_t ram, in test_multi_alloc() 172 static int test_multi_alloc_512mb(struct unit_test_state *uts, in test_multi_alloc_512mb() 178 static int test_multi_alloc_512mb_x2(struct unit_test_state *uts, in test_multi_alloc_512mb_x2() 187 static int lib_test_lmb_simple(struct unit_test_state *uts) in lib_test_lmb_simple() 203 static int lib_test_lmb_simple_x2(struct unit_test_state *uts) in lib_test_lmb_simple_x2() 219 static int test_bigblock(struct unit_test_state *uts, const phys_addr_t ram) in test_bigblock() 270 static int lib_test_lmb_big(struct unit_test_state *uts) in lib_test_lmb_big() 286 static int test_noreserved(struct unit_test_state *uts, const phys_addr_t ram, in test_noreserved() 345 static int lib_test_lmb_noreserved(struct unit_test_state *uts) in lib_test_lmb_noreserved() [all …]
|
H A D | string.c | 51 static int test_memset(struct unit_test_state *uts, u8 buf[], u8 mask, in test_memset() 74 static int lib_memset(struct unit_test_state *uts) in lib_memset() 108 static int test_memmove(struct unit_test_state *uts, u8 buf[], u8 mask, in test_memmove() 131 static int lib_memcpy(struct unit_test_state *uts) in lib_memcpy() 169 static int lib_memmove(struct unit_test_state *uts) in lib_memmove()
|
H A D | hexdump.c | 12 static int lib_test_hex_to_bin(struct unit_test_state *uts) in lib_test_hex_to_bin() 37 static int lib_test_hex2bin(struct unit_test_state *uts) in lib_test_hex2bin() 67 static int lib_test_bin2hex(struct unit_test_state *uts) in lib_test_bin2hex()
|
/openbmc/u-boot/test/overlay/ |
H A D | cmd_ut_overlay.c | 70 static int fdt_overlay_change_int_property(struct unit_test_state *uts) in fdt_overlay_change_int_property() 82 static int fdt_overlay_change_str_property(struct unit_test_state *uts) in fdt_overlay_change_str_property() 94 static int fdt_overlay_add_str_property(struct unit_test_state *uts) in fdt_overlay_add_str_property() 106 static int fdt_overlay_add_node_by_phandle(struct unit_test_state *uts) in fdt_overlay_add_node_by_phandle() 119 static int fdt_overlay_add_node_by_path(struct unit_test_state *uts) in fdt_overlay_add_node_by_path() 132 static int fdt_overlay_add_subnode_property(struct unit_test_state *uts) in fdt_overlay_add_subnode_property() 146 static int fdt_overlay_local_phandle(struct unit_test_state *uts) in fdt_overlay_local_phandle() 170 static int fdt_overlay_local_phandles(struct unit_test_state *uts) in fdt_overlay_local_phandles() 200 static int fdt_overlay_stacked(struct unit_test_state *uts) in fdt_overlay_stacked() 217 struct unit_test_state *uts; in do_ut_overlay() local
|
/openbmc/u-boot/test/env/ |
H A D | hashtable.c | 17 static int htab_fill(struct unit_test_state *uts, in htab_fill() 37 static int htab_check_fill(struct unit_test_state *uts, in htab_check_fill() 60 static int htab_create_delete(struct unit_test_state *uts, in htab_create_delete() 89 static int env_test_htab_fill(struct unit_test_state *uts) in env_test_htab_fill() 109 static int env_test_htab_deletes(struct unit_test_state *uts) in env_test_htab_deletes()
|