Lines Matching refs:c_token

122 	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()
312 LOG_DBG("client with token 0x%x is not idle", c_token); in sip_svc_open()
323 LOG_DBG("0x%x didn't get open lock, wait for it to be released", c_token); in sip_svc_open()
331 LOG_INF("0x%x successfully opened a connection with sip_svc", c_token); in sip_svc_open()
338 LOG_ERR("Timedout at %s for 0x%x", __func__, c_token); in sip_svc_open()
342 int sip_svc_close(void *ct, uint32_t c_token, struct sip_svc_request *pre_close_req) in sip_svc_close() argument
355 err = sip_svc_send(ct, c_token, pre_close_req, NULL); in sip_svc_close()
368 c_idx = sip_svc_get_c_idx(ctrl, c_token); in sip_svc_close()
670 int sip_svc_send(void *ct, uint32_t c_token, struct sip_svc_request *request, sip_svc_cb_fn cb) in sip_svc_send() argument
695 c_idx = sip_svc_get_c_idx(ctrl, c_token); in sip_svc_send()
765 void *sip_svc_get_priv_data(void *ct, uint32_t c_token) in sip_svc_get_priv_data() argument
782 c_idx = sip_svc_get_c_idx(ctrl, c_token); in sip_svc_get_priv_data()