Lines Matching +full:- +full:- +full:id
3 * Texas Instruments Incorporated - http://www.ti.com/
4 * SPDX-License-Identifier: GPL-2.0+
14 * print_remoteproc_list() - print all the remote processor devices
37 switch (uc_pdata->mem_type) { in print_remoteproc_list()
45 printf("%d - Name:'%s' type:'%s' supports: %s%s%s%s%s%s\n", in print_remoteproc_list()
46 dev->seq, in print_remoteproc_list()
47 uc_pdata->name, in print_remoteproc_list()
49 ops->load ? "load " : "", in print_remoteproc_list()
50 ops->start ? "start " : "", in print_remoteproc_list()
51 ops->stop ? "stop " : "", in print_remoteproc_list()
52 ops->reset ? "reset " : "", in print_remoteproc_list()
53 ops->is_running ? "is_running " : "", in print_remoteproc_list()
54 ops->ping ? "ping " : ""); in print_remoteproc_list()
60 * do_rproc_init() - do basic initialization
83 * do_remoteproc_list() - print list of remote proc devices.
106 * do_remoteproc_load() - Load a remote processor with binary image
118 int id, ret; in do_remoteproc_load() local
123 id = (int)simple_strtoul(argv[1], NULL, 3); in do_remoteproc_load()
138 ret = rproc_load(id, addr, size); in do_remoteproc_load()
140 id, addr, size, ret ? " Failed!" : " Success!"); in do_remoteproc_load()
146 * do_remoteproc_wrapper() - wrapper for various rproc commands
152 * Most of the commands just take id as a parameter andinvoke various
161 int id, ret = CMD_RET_USAGE; in do_remoteproc_wrapper() local
166 id = (int)simple_strtoul(argv[1], NULL, 3); in do_remoteproc_wrapper()
174 ret = rproc_start(id); in do_remoteproc_wrapper()
176 ret = rproc_stop(id); in do_remoteproc_wrapper()
178 ret = rproc_reset(id); in do_remoteproc_wrapper()
180 ret = rproc_is_running(id); in do_remoteproc_wrapper()
189 ret = rproc_ping(id); in do_remoteproc_wrapper()
212 "<id> [addr] [size]\n"
213 "- id: ID of the remote processor(see 'list' cmd)\n"
214 "- addr: Address in memory of the image to loadup\n"
215 "- size: Size of the image to loadup\n"),
218 "id - ID of the remote processor (see 'list' cmd)\n"),
221 "id - ID of the remote processor (see 'list' cmd)\n"),
224 "id - ID of the remote processor (see 'list' cmd)\n"),
227 "id - ID of the remote processor (see 'list' cmd)\n"),
230 "id - ID of the remote processor (see 'list' cmd)\n"),
234 * do_remoteproc() - (replace: short desc)
250 argc--; in do_remoteproc()
257 return c->cmd(cmdtp, flag, argc, argv); in do_remoteproc()
267 "\t\t<id> is a numerical identifier for the remote processor\n"
273 "\tinit - Enumerate and initalize the remote processors\n"
274 "\tlist - list available remote processors\n"
275 "\tload <id> [addr] [size]- Load the remote processor with binary\n"
277 "\tstart <id> - Start the remote processor(must be loaded)\n"
278 "\tstop <id> - Stop the remote processor\n"
279 "\treset <id> - Reset the remote processor\n"
280 "\tis_running <id> - Reports if the remote processor is running\n"
281 "\tping <id> - Ping the remote processor for communication\n");