Lines Matching +full:proc +full:- +full:id
3 * Texas Instruments Incorporated - http://www.ti.com/
4 * SPDX-License-Identifier: GPL-2.0+
16 #include <dm/platdata.h> /* For platform data support - non dt world */
19 * enum rproc_mem_type - What type of memory model does the rproc use
32 * struct dm_rproc_uclass_pdata - platform data for a CPU
33 * @name: Platform-specific way of naming the Remote proc
48 * struct dm_rproc_ops - Operations that are provided by remote proc driver
50 * Return 0 on success, -ve error on fail
53 * addr- Address of the binary image to be loaded
54 * size- Size of the binary image to be loaded
55 * Return 0 on success, -ve error on fail
57 * Return 0 on success, -ve error on fail
59 * Return 0 on success, -ve error on fail
60 * @reset: Reset the remote proc device (optional)
61 * Return 0 on success, -ve error on fail
63 * Return 0 on success, 1 if not running, -ve on others errors
65 * Return 0 on success, 1 if not responding, -ve on other errors
78 #define rproc_get_ops(dev) ((struct dm_rproc_ops *)(dev)->driver->ops)
82 * rproc_init() - Initialize all bound remote proc devices
89 * rproc_is_initialized() - check to see if remoteproc devices are initialized
96 * rproc_load() - load binary to a remote processor
97 * @id: id of the remote processor
103 int rproc_load(int id, ulong addr, ulong size);
106 * rproc_start() - Start a remote processor
107 * @id: id of the remote processor
111 int rproc_start(int id);
114 * rproc_stop() - Stop a remote processor
115 * @id: id of the remote processor
119 int rproc_stop(int id);
122 * rproc_reset() - reset a remote processor
123 * @id: id of the remote processor
127 int rproc_reset(int id);
130 * rproc_ping() - ping a remote processor to check if it can communicate
131 * @id: id of the remote processor
134 * as part of remoteproc framework - hook on to appropriate bus architecture to
139 int rproc_ping(int id);
142 * rproc_is_running() - check to see if remote processor is running
143 * @id: id of the remote processor
150 int rproc_is_running(int id);
152 static inline int rproc_init(void) { return -ENOSYS; } in rproc_init()
154 static inline int rproc_load(int id, ulong addr, ulong size) { return -ENOSYS; } in rproc_load() argument
155 static inline int rproc_start(int id) { return -ENOSYS; } in rproc_start() argument
156 static inline int rproc_stop(int id) { return -ENOSYS; } in rproc_stop() argument
157 static inline int rproc_reset(int id) { return -ENOSYS; } in rproc_reset() argument
158 static inline int rproc_ping(int id) { return -ENOSYS; } in rproc_ping() argument
159 static inline int rproc_is_running(int id) { return -ENOSYS; } in rproc_is_running() argument