Home
last modified time | relevance | path

Searched refs:cmd_addr (Results 1 – 3 of 3) sorted by relevance

/Zephyr-Core-3.5.0/subsys/sip_svc/
Dsip_svc_agilex_mailbox_shell.c127 uint32_t *cmd_addr = k_malloc(cmd_size); in cmd_close() local
129 if (!cmd_addr) { in cmd_close()
133 *cmd_addr = MAILBOX_CANCEL_COMMAND; in cmd_close()
138 request.a2 = (uint64_t)cmd_addr; in cmd_close()
150 k_free(cmd_addr); in cmd_close()
201 static int parse_mb_data(const struct shell *sh, char *hex_list, char **cmd_addr, in parse_mb_data() argument
211 if (!hex_list || !cmd_addr || !cmd_size) { in parse_mb_data()
215 *cmd_addr = k_malloc(SIP_SVP_MB_MAX_WORD_SIZE * 4); in parse_mb_data()
216 if (!*cmd_addr) { in parse_mb_data()
221 buffer = (uint32_t *)*cmd_addr; in parse_mb_data()
[all …]
/Zephyr-Core-3.5.0/samples/subsys/sip_svc/src/
Dmain.c50 uint32_t *cmd_addr = NULL, *resp_addr = NULL; in main() local
79 cmd_addr = (uint32_t *)k_malloc(cmd_size); in main()
80 __ASSERT(cmd_addr != NULL, "Failed to get memory"); in main()
87 cmd_addr[0] = ((cmd_size / 4 - 1) << 12) | GET_VOLTAGE_CMD; in main()
88 cmd_addr[1] = SET_VOLTAGE_CHANNEL(2); in main()
95 request.a2 = (uint64_t)cmd_addr; in main()
/Zephyr-Core-3.5.0/tests/subsys/sip_svc/src/
Dmain.c126 uint32_t *cmd_addr, *resp_addr; in sip_svc_send_async_request() local
146 cmd_addr = (uint32_t *)k_malloc(cmd_size); in sip_svc_send_async_request()
147 __ASSERT(cmd_addr != NULL, "couldn't get memory"); in sip_svc_send_async_request()
149 cmd_addr[0] = (1 << 12) | ECHO_CMD; in sip_svc_send_async_request()
150 cmd_addr[1] = 0xDEADBEEF; in sip_svc_send_async_request()
154 req.a2 = (uint64_t)cmd_addr; in sip_svc_send_async_request()