/openbmc/u-boot/arch/sandbox/cpu/ |
H A D | start.c | 20 struct sandbox_state *state = state_get_current(); in sandbox_early_getopt_check() 74 static int sandbox_cmdline_cb_help(struct sandbox_state *state, const char *arg) in sandbox_cmdline_cb_help() 84 struct sandbox_state *state = state_get_current(); in sandbox_main_loop_init() 108 static int sandbox_cmdline_cb_boot(struct sandbox_state *state, in sandbox_cmdline_cb_boot() 116 static int sandbox_cmdline_cb_command(struct sandbox_state *state, in sandbox_cmdline_cb_command() 124 static int sandbox_cmdline_cb_fdt(struct sandbox_state *state, const char *arg) in sandbox_cmdline_cb_fdt() 131 static int sandbox_cmdline_cb_default_fdt(struct sandbox_state *state, in sandbox_cmdline_cb_default_fdt() 150 static int sandbox_cmdline_cb_interactive(struct sandbox_state *state, in sandbox_cmdline_cb_interactive() 159 static int sandbox_cmdline_cb_jump(struct sandbox_state *state, in sandbox_cmdline_cb_jump() 169 static int sandbox_cmdline_cb_memory(struct sandbox_state *state, in sandbox_cmdline_cb_memory() [all …]
|
H A D | state.c | 13 static struct sandbox_state main_state; 14 static struct sandbox_state *state; /* Pointer to current state record */ 45 static int state_read_file(struct sandbox_state *state, const char *fname) in state_read_file() 98 int sandbox_read_state_nodes(struct sandbox_state *state, in sandbox_read_state_nodes() 141 int sandbox_read_state(struct sandbox_state *state, const char *fname) in sandbox_read_state() 188 int sandbox_write_state_node(struct sandbox_state *state, in sandbox_write_state_node() 234 int sandbox_write_state(struct sandbox_state *state, const char *fname) in sandbox_write_state() 334 struct sandbox_state *state_get_current(void) in state_get_current() 342 struct sandbox_state *state = state_get_current(); in state_set_skip_delays() 349 struct sandbox_state *state = state_get_current(); in state_get_skip_delays() [all …]
|
H A D | cpu.c | 44 struct sandbox_state *state = state_get_current(); in __udelay() 95 struct sandbox_state *state; in phys_to_virt() 125 struct sandbox_state *state = state_get_current(); in find_tag() 207 struct sandbox_state *state = state_get_current(); in map_to_sysmem() 243 struct sandbox_state *state = state_get_current(); in sandbox_read_fdt_from_file()
|
H A D | spl.c | 17 struct sandbox_state *state = state_get_current(); in board_init_f() 51 struct sandbox_state *state = state_get_current(); in spl_board_init()
|
H A D | os.c | 287 int os_parse_args(struct sandbox_state *state, int argc, char *argv[]) in os_parse_args() 512 struct sandbox_state *state = state_get_current(); in os_write_ram_buf() 528 struct sandbox_state *state = state_get_current(); in os_read_ram_buf() 626 struct sandbox_state *state = state_get_current(); in os_jump_to_file() 692 struct sandbox_state *state = state_get_current(); in os_find_u_boot()
|
H A D | sdl.c | 79 struct sandbox_state *state = state_get_current(); in sandbox_sdl_init_display()
|
/openbmc/u-boot/arch/sandbox/include/asm/ |
H A D | state.h | 66 struct sandbox_state { struct 186 struct sandbox_state *state_get_current(void); 198 int sandbox_read_state(struct sandbox_state *state, const char *fname); 212 int sandbox_write_state(struct sandbox_state *state, const char *fname); 254 void state_reset_for_test(struct sandbox_state *state); 261 void state_show(struct sandbox_state *state);
|
H A D | getopt.h | 12 struct sandbox_state; 31 int (*callback)(struct sandbox_state *state, const char *opt);
|
/openbmc/u-boot/drivers/watchdog/ |
H A D | sandbox_wdt.c | 13 struct sandbox_state *state = state_get_current(); in sandbox_wdt_start() 23 struct sandbox_state *state = state_get_current(); in sandbox_wdt_stop() 32 struct sandbox_state *state = state_get_current(); in sandbox_wdt_reset()
|
/openbmc/u-boot/drivers/sysreset/ |
H A D | sysreset_sandbox.c | 17 struct sandbox_state *state = state_get_current(); in sandbox_warm_sysreset_request() 46 struct sandbox_state *state = state_get_current(); in sandbox_sysreset_request() 87 struct sandbox_state *state = state_get_current(); in sandbox_sysreset_get_last()
|
/openbmc/u-boot/drivers/hwspinlock/ |
H A D | sandbox_hwspinlock.c | 13 struct sandbox_state *state = state_get_current(); in sandbox_lock() 28 struct sandbox_state *state = state_get_current(); in sandbox_unlock()
|
/openbmc/u-boot/drivers/remoteproc/ |
H A D | sandbox_testproc.c | 20 enum sandbox_state { enum 33 enum sandbox_state current_state; 73 enum sandbox_state next_state) in sandbox_dev_move_to_state()
|
/openbmc/u-boot/include/ |
H A D | spi_flash.h | 150 struct sandbox_state; 152 int sandbox_sf_bind_emul(struct sandbox_state *state, int busnum, int cs, 155 void sandbox_sf_unbind_emul(struct sandbox_state *state, int busnum, int cs);
|
H A D | os.h | 17 struct sandbox_state; 174 int os_parse_args(struct sandbox_state *state, int argc, char *argv[]);
|
H A D | spi.h | 563 struct sandbox_state; 579 int sandbox_spi_get_emul(struct sandbox_state *state,
|
/openbmc/u-boot/drivers/spi/ |
H A D | sandbox_spi.c | 45 __weak int sandbox_spi_get_emul(struct sandbox_state *state, in sandbox_spi_get_emul() 56 struct sandbox_state *state = state_get_current(); in sandbox_spi_xfer()
|
/openbmc/u-boot/test/dm/ |
H A D | sysreset.c | 17 struct sandbox_state *state = state_get_current(); in dm_test_sysreset_base() 70 struct sandbox_state *state = state_get_current(); in dm_test_sysreset_walk()
|
H A D | hwspinlock.c | 17 struct sandbox_state *state = state_get_current(); in dm_test_hwspinlock_base()
|
H A D | wdt.c | 17 struct sandbox_state *state = state_get_current(); in dm_test_wdt_base()
|
H A D | spi.c | 21 struct sandbox_state *state = state_get_current(); in dm_test_spi_find()
|
H A D | test-main.c | 81 struct sandbox_state *state = state_get_current(); in dm_do_test()
|
/openbmc/u-boot/drivers/mtd/spi/ |
H A D | sandbox.c | 127 struct sandbox_state *state = state_get_current(); in sandbox_sf_probe() 522 int sandbox_sf_bind_emul(struct sandbox_state *state, int busnum, int cs, in sandbox_sf_bind_emul() 554 void sandbox_sf_unbind_emul(struct sandbox_state *state, int busnum, int cs) in sandbox_sf_unbind_emul() 564 int sandbox_spi_get_emul(struct sandbox_state *state, in sandbox_spi_get_emul()
|
/openbmc/u-boot/cmd/ |
H A D | sb.c | 32 struct sandbox_state *state; in do_sb_state()
|
/openbmc/u-boot/drivers/serial/ |
H A D | sandbox.c | 68 struct sandbox_state *state = state_get_current(); in sandbox_serial_probe()
|