Lines Matching defs:msg
34 sc_rpc_msg_t msg;
37 RPC_VER(&msg) = SC_RPC_VERSION;
38 RPC_SVC(&msg) = (uint8_t)SC_RPC_SVC_PAD;
39 RPC_FUNC(&msg) = (uint8_t)PAD_FUNC_SET_MUX;
40 RPC_U16(&msg, 0U) = (uint16_t)pad;
41 RPC_U8(&msg, 2U) = (uint8_t)mux;
42 RPC_U8(&msg, 3U) = (uint8_t)config;
43 RPC_U8(&msg, 4U) = (uint8_t)iso;
44 RPC_SIZE(&msg) = 3U;
46 sc_call_rpc(ipc, &msg, SC_FALSE);
48 result = RPC_R8(&msg);
56 sc_rpc_msg_t msg;
59 RPC_VER(&msg) = SC_RPC_VERSION;
60 RPC_SVC(&msg) = (uint8_t)SC_RPC_SVC_PAD;
61 RPC_FUNC(&msg) = (uint8_t)PAD_FUNC_GET_MUX;
62 RPC_U16(&msg, 0U) = (uint16_t)pad;
63 RPC_SIZE(&msg) = 2U;
65 sc_call_rpc(ipc, &msg, SC_FALSE);
67 result = RPC_R8(&msg);
69 *mux = RPC_U8(&msg, 0U);
73 *config = RPC_U8(&msg, 1U);
77 *iso = RPC_U8(&msg, 2U);
85 sc_rpc_msg_t msg;
88 RPC_VER(&msg) = SC_RPC_VERSION;
89 RPC_SVC(&msg) = (uint8_t)SC_RPC_SVC_PAD;
90 RPC_FUNC(&msg) = (uint8_t)PAD_FUNC_SET_GP;
91 RPC_U32(&msg, 0U) = (uint32_t)ctrl;
92 RPC_U16(&msg, 4U) = (uint16_t)pad;
93 RPC_SIZE(&msg) = 3U;
95 sc_call_rpc(ipc, &msg, SC_FALSE);
97 result = RPC_R8(&msg);
103 sc_rpc_msg_t msg;
106 RPC_VER(&msg) = SC_RPC_VERSION;
107 RPC_SVC(&msg) = (uint8_t)SC_RPC_SVC_PAD;
108 RPC_FUNC(&msg) = (uint8_t)PAD_FUNC_GET_GP;
109 RPC_U16(&msg, 0U) = (uint16_t)pad;
110 RPC_SIZE(&msg) = 2U;
112 sc_call_rpc(ipc, &msg, SC_FALSE);
115 *ctrl = RPC_U32(&msg, 0U);
118 result = RPC_R8(&msg);
124 sc_rpc_msg_t msg;
127 RPC_VER(&msg) = SC_RPC_VERSION;
128 RPC_SVC(&msg) = (uint8_t)SC_RPC_SVC_PAD;
129 RPC_FUNC(&msg) = (uint8_t)PAD_FUNC_SET_WAKEUP;
130 RPC_U16(&msg, 0U) = (uint16_t)pad;
131 RPC_U8(&msg, 2U) = (uint8_t)wakeup;
132 RPC_SIZE(&msg) = 2U;
134 sc_call_rpc(ipc, &msg, SC_FALSE);
136 result = RPC_R8(&msg);
142 sc_rpc_msg_t msg;
145 RPC_VER(&msg) = SC_RPC_VERSION;
146 RPC_SVC(&msg) = (uint8_t)SC_RPC_SVC_PAD;
147 RPC_FUNC(&msg) = (uint8_t)PAD_FUNC_GET_WAKEUP;
148 RPC_U16(&msg, 0U) = (uint16_t)pad;
149 RPC_SIZE(&msg) = 2U;
151 sc_call_rpc(ipc, &msg, SC_FALSE);
153 result = RPC_R8(&msg);
155 *wakeup = RPC_U8(&msg, 0U);
165 sc_rpc_msg_t msg;
168 RPC_VER(&msg) = SC_RPC_VERSION;
169 RPC_SVC(&msg) = (uint8_t)SC_RPC_SVC_PAD;
170 RPC_FUNC(&msg) = (uint8_t)PAD_FUNC_SET_ALL;
171 RPC_U32(&msg, 0U) = (uint32_t)ctrl;
172 RPC_U16(&msg, 4U) = (uint16_t)pad;
173 RPC_U8(&msg, 6U) = (uint8_t)mux;
174 RPC_U8(&msg, 7U) = (uint8_t)config;
175 RPC_U8(&msg, 8U) = (uint8_t)iso;
176 RPC_U8(&msg, 9U) = (uint8_t)wakeup;
177 RPC_SIZE(&msg) = 4U;
179 sc_call_rpc(ipc, &msg, SC_FALSE);
181 result = RPC_R8(&msg);
189 sc_rpc_msg_t msg;
192 RPC_VER(&msg) = SC_RPC_VERSION;
193 RPC_SVC(&msg) = (uint8_t)SC_RPC_SVC_PAD;
194 RPC_FUNC(&msg) = (uint8_t)PAD_FUNC_GET_ALL;
195 RPC_U16(&msg, 0U) = (uint16_t)pad;
196 RPC_SIZE(&msg) = 2U;
198 sc_call_rpc(ipc, &msg, SC_FALSE);
201 *ctrl = RPC_U32(&msg, 0U);
204 result = RPC_R8(&msg);
206 *mux = RPC_U8(&msg, 4U);
210 *config = RPC_U8(&msg, 5U);
214 *iso = RPC_U8(&msg, 6U);
218 *wakeup = RPC_U8(&msg, 7U);
226 sc_rpc_msg_t msg;
229 RPC_VER(&msg) = SC_RPC_VERSION;
230 RPC_SVC(&msg) = (uint8_t)SC_RPC_SVC_PAD;
231 RPC_FUNC(&msg) = (uint8_t)PAD_FUNC_SET;
232 RPC_U32(&msg, 0U) = (uint32_t)val;
233 RPC_U16(&msg, 4U) = (uint16_t)pad;
234 RPC_SIZE(&msg) = 3U;
236 sc_call_rpc(ipc, &msg, SC_FALSE);
238 result = RPC_R8(&msg);
244 sc_rpc_msg_t msg;
247 RPC_VER(&msg) = SC_RPC_VERSION;
248 RPC_SVC(&msg) = (uint8_t)SC_RPC_SVC_PAD;
249 RPC_FUNC(&msg) = (uint8_t)PAD_FUNC_GET;
250 RPC_U16(&msg, 0U) = (uint16_t)pad;
251 RPC_SIZE(&msg) = 2U;
253 sc_call_rpc(ipc, &msg, SC_FALSE);
256 *val = RPC_U32(&msg, 0U);
259 result = RPC_R8(&msg);
266 sc_rpc_msg_t msg;
269 RPC_VER(&msg) = SC_RPC_VERSION;
270 RPC_SVC(&msg) = (uint8_t)SC_RPC_SVC_PAD;
271 RPC_FUNC(&msg) = (uint8_t)PAD_FUNC_SET_GP_28FDSOI;
272 RPC_U16(&msg, 0U) = (uint16_t)pad;
273 RPC_U8(&msg, 2U) = (uint8_t)dse;
274 RPC_U8(&msg, 3U) = (uint8_t)ps;
275 RPC_SIZE(&msg) = 2U;
277 sc_call_rpc(ipc, &msg, SC_FALSE);
279 result = RPC_R8(&msg);
287 sc_rpc_msg_t msg;
290 RPC_VER(&msg) = SC_RPC_VERSION;
291 RPC_SVC(&msg) = (uint8_t)SC_RPC_SVC_PAD;
292 RPC_FUNC(&msg) = (uint8_t)PAD_FUNC_GET_GP_28FDSOI;
293 RPC_U16(&msg, 0U) = (uint16_t)pad;
294 RPC_SIZE(&msg) = 2U;
296 sc_call_rpc(ipc, &msg, SC_FALSE);
298 result = RPC_R8(&msg);
300 *dse = RPC_U8(&msg, 0U);
304 *ps = RPC_U8(&msg, 1U);
315 sc_rpc_msg_t msg;
318 RPC_VER(&msg) = SC_RPC_VERSION;
319 RPC_SVC(&msg) = (uint8_t)SC_RPC_SVC_PAD;
320 RPC_FUNC(&msg) = (uint8_t)PAD_FUNC_SET_GP_28FDSOI_HSIC;
321 RPC_U16(&msg, 0U) = (uint16_t)pad;
322 RPC_U8(&msg, 2U) = (uint8_t)dse;
323 RPC_U8(&msg, 3U) = (uint8_t)pus;
324 RPC_U8(&msg, 4U) = (uint8_t)hys;
325 RPC_U8(&msg, 5U) = (uint8_t)pke;
326 RPC_U8(&msg, 6U) = (uint8_t)pue;
327 RPC_SIZE(&msg) = 3U;
329 sc_call_rpc(ipc, &msg, SC_FALSE);
331 result = RPC_R8(&msg);
340 sc_rpc_msg_t msg;
343 RPC_VER(&msg) = SC_RPC_VERSION;
344 RPC_SVC(&msg) = (uint8_t)SC_RPC_SVC_PAD;
345 RPC_FUNC(&msg) = (uint8_t)PAD_FUNC_GET_GP_28FDSOI_HSIC;
346 RPC_U16(&msg, 0U) = (uint16_t)pad;
347 RPC_SIZE(&msg) = 2U;
349 sc_call_rpc(ipc, &msg, SC_FALSE);
351 result = RPC_R8(&msg);
353 *dse = RPC_U8(&msg, 0U);
357 *pus = RPC_U8(&msg, 1U);
361 *hys = RPC_U8(&msg, 2U);
365 *pke = RPC_U8(&msg, 3U);
369 *pue = RPC_U8(&msg, 4U);
380 sc_rpc_msg_t msg;
383 RPC_VER(&msg) = SC_RPC_VERSION;
384 RPC_SVC(&msg) = (uint8_t)SC_RPC_SVC_PAD;
385 RPC_FUNC(&msg) = (uint8_t)PAD_FUNC_SET_GP_28FDSOI_COMP;
386 RPC_U16(&msg, 0U) = (uint16_t)pad;
387 RPC_U8(&msg, 2U) = (uint8_t)compen;
388 RPC_U8(&msg, 3U) = (uint8_t)rasrcp;
389 RPC_U8(&msg, 4U) = (uint8_t)rasrcn;
390 RPC_U8(&msg, 5U) = (uint8_t)fastfrz;
391 RPC_U8(&msg, 6U) = (uint8_t)nasrc_sel;
392 RPC_U8(&msg, 7U) = (uint8_t)psw_ovr;
393 RPC_SIZE(&msg) = 3U;
395 sc_call_rpc(ipc, &msg, SC_FALSE);
397 result = RPC_R8(&msg);
407 sc_rpc_msg_t msg;
410 RPC_VER(&msg) = SC_RPC_VERSION;
411 RPC_SVC(&msg) = (uint8_t)SC_RPC_SVC_PAD;
412 RPC_FUNC(&msg) = (uint8_t)PAD_FUNC_GET_GP_28FDSOI_COMP;
413 RPC_U16(&msg, 0U) = (uint16_t)pad;
414 RPC_SIZE(&msg) = 2U;
416 sc_call_rpc(ipc, &msg, SC_FALSE);
418 result = RPC_R8(&msg);
420 *compen = RPC_U8(&msg, 0U);
424 *rasrcp = RPC_U8(&msg, 1U);
428 *rasrcn = RPC_U8(&msg, 2U);
432 *nasrc = RPC_U8(&msg, 3U);
436 *fastfrz = RPC_U8(&msg, 4U);
440 *nasrc_sel = RPC_U8(&msg, 5U);
444 *compok = RPC_U8(&msg, 6U);
448 *psw_ovr = RPC_U8(&msg, 7U);