Home
last modified time | relevance | path

Searched refs:mb_smc_ctrl (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.5.0/samples/subsys/sip_svc/src/
Dmain.c47 void *mb_smc_ctrl = NULL; in main() local
61 mb_smc_ctrl = sip_svc_get_controller(SVC_METHOD); in main()
62 __ASSERT(mb_smc_ctrl != NULL, "Failed to get the controller from sip_svc"); in main()
64 mb_c_token = sip_svc_register(mb_smc_ctrl, NULL); in main()
76 err = sip_svc_open(mb_smc_ctrl, mb_c_token, K_FOREVER); in main()
98 trans_id = sip_svc_send(mb_smc_ctrl, mb_c_token, &request, get_voltage_callback); in main()
110 err = sip_svc_close(mb_smc_ctrl, mb_c_token, NULL); in main()
/Zephyr-Core-3.5.0/subsys/sip_svc/
Dsip_svc_agilex_mailbox_shell.c25 static void *mb_smc_ctrl; variable
32 if (mb_smc_ctrl) { in cmd_reg()
37 mb_smc_ctrl = sip_svc_get_controller(argv[1]); in cmd_reg()
38 if (!mb_smc_ctrl) { in cmd_reg()
43 mb_c_token = sip_svc_register(mb_smc_ctrl, NULL); in cmd_reg()
45 mb_smc_ctrl = NULL; in cmd_reg()
60 if (!mb_smc_ctrl) { in cmd_unreg()
65 err = sip_svc_unregister(mb_smc_ctrl, mb_c_token); in cmd_unreg()
71 mb_smc_ctrl = NULL; in cmd_unreg()
84 if (!mb_smc_ctrl) { in cmd_open()
[all …]