Home
last modified time | relevance | path

Searched refs:c_token (Results 1 – 6 of 6) sorted by relevance

/Zephyr-Core-3.5.0/include/zephyr/sip_svc/
Dsip_svc.h59 typedef void (*sip_svc_cb_fn)(uint32_t c_token, struct sip_svc_response *res);
95 int sip_svc_unregister(void *ctrl, uint32_t c_token);
119 int sip_svc_open(void *ctrl, uint32_t c_token, k_timeout_t k_timeout);
135 int sip_svc_close(void *ctrl, uint32_t c_token, struct sip_svc_request *pre_close_req);
163 int sip_svc_send(void *ctrl, uint32_t c_token, struct sip_svc_request *req, sip_svc_cb_fn cb);
176 void *sip_svc_get_priv_data(void *ctrl, uint32_t c_token);
/Zephyr-Core-3.5.0/subsys/sip_svc/
Dsip_svc_shell.c43 uint32_t c_token; in cmd_reg() local
51 c_token = sip_svc_register(ctrl, NULL); in cmd_reg()
52 if (c_token == SIP_SVC_ID_INVALID) { in cmd_reg()
56 shell_print(sh, "%s: register success: client token %08x\n", ctrl->method, c_token); in cmd_reg()
66 uint32_t c_token; in cmd_unreg() local
76 c_token = strtoul(argv[2], &endptr, 16); in cmd_unreg()
85 err = sip_svc_unregister(ctrl, (uint32_t)c_token); in cmd_unreg()
88 (uint32_t)c_token); in cmd_unreg()
91 (uint32_t)c_token); in cmd_unreg()
100 uint32_t c_token; in cmd_open() local
[all …]
Dsip_svc_subsys.c122 uint32_t c_token = k_cycle_get_32(); in sip_svc_generate_c_token() local
123 return c_token; in sip_svc_generate_c_token()
140 static uint32_t sip_svc_get_c_idx(struct sip_svc_controller *ctrl, uint32_t c_token) in sip_svc_get_c_idx() argument
149 if (ctrl->clients[i].token == c_token) { in sip_svc_get_c_idx()
189 int sip_svc_unregister(void *ct, uint32_t c_token) in sip_svc_unregister() argument
206 c_idx = sip_svc_get_c_idx(ctrl, c_token); in sip_svc_unregister()
263 int sip_svc_open(void *ct, uint32_t c_token, k_timeout_t k_timeout) in sip_svc_open() argument
290 LOG_WRN("0x%x didn't get data lock", c_token); in sip_svc_open()
294 c_idx = sip_svc_get_c_idx(ctrl, c_token); in sip_svc_open()
304 LOG_DBG("client with token 0x%x is already open", c_token); in sip_svc_open()
[all …]
Dsip_svc_agilex_mailbox_shell.c159 static void cmd_send_callback(uint32_t c_token, struct sip_svc_response *response) in cmd_send_callback() argument
/Zephyr-Core-3.5.0/samples/subsys/sip_svc/src/
Dmain.c27 void get_voltage_callback(uint32_t c_token, struct sip_svc_response *response) in get_voltage_callback() argument
/Zephyr-Core-3.5.0/tests/subsys/sip_svc/src/
Dmain.c33 static void get_sync_callback(uint32_t c_token, struct sip_svc_response *response) in get_sync_callback() argument
93 static void get_async_callback(uint32_t c_token, struct sip_svc_response *response) in get_async_callback() argument