Home
last modified time | relevance | path

Searched refs:sandbox_state (Results 1 – 24 of 24) sorted by relevance

/openbmc/u-boot/arch/sandbox/cpu/
H A Dstart.c20 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 Dstate.c13 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 Dcpu.c44 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 Dspl.c17 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 Dos.c287 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 Dsdl.c79 struct sandbox_state *state = state_get_current(); in sandbox_sdl_init_display()
/openbmc/u-boot/arch/sandbox/include/asm/
H A Dstate.h66 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 Dgetopt.h12 struct sandbox_state;
31 int (*callback)(struct sandbox_state *state, const char *opt);
/openbmc/u-boot/drivers/watchdog/
H A Dsandbox_wdt.c13 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 Dsysreset_sandbox.c17 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 Dsandbox_hwspinlock.c13 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 Dsandbox_testproc.c20 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 Dspi_flash.h150 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 Dos.h17 struct sandbox_state;
174 int os_parse_args(struct sandbox_state *state, int argc, char *argv[]);
H A Dspi.h563 struct sandbox_state;
579 int sandbox_spi_get_emul(struct sandbox_state *state,
/openbmc/u-boot/drivers/spi/
H A Dsandbox_spi.c45 __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 Dsysreset.c17 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 Dhwspinlock.c17 struct sandbox_state *state = state_get_current(); in dm_test_hwspinlock_base()
H A Dwdt.c17 struct sandbox_state *state = state_get_current(); in dm_test_wdt_base()
H A Dspi.c21 struct sandbox_state *state = state_get_current(); in dm_test_spi_find()
H A Dtest-main.c81 struct sandbox_state *state = state_get_current(); in dm_do_test()
/openbmc/u-boot/drivers/mtd/spi/
H A Dsandbox.c127 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 Dsb.c32 struct sandbox_state *state; in do_sb_state()
/openbmc/u-boot/drivers/serial/
H A Dsandbox.c68 struct sandbox_state *state = state_get_current(); in sandbox_serial_probe()