Lines Matching refs:req
59 struct sip_svc_request req = {0}; in sip_svc_send_sync_request() local
72 req.header = SIP_SVC_PROTO_HEADER(SIP_SVC_PROTO_CMD_SYNC, 0); in sip_svc_send_sync_request()
73 req.a0 = SMC_FUNC_ID_GET_SVC_VERSION; in sip_svc_send_sync_request()
74 req.priv_data = (void *)&priv; in sip_svc_send_sync_request()
77 trans_id = sip_svc_send(ctrl, token, &req, get_sync_callback); in sip_svc_send_sync_request()
130 struct sip_svc_request req = {0}; in sip_svc_send_async_request() local
152 req.header = SIP_SVC_PROTO_HEADER(SIP_SVC_PROTO_CMD_ASYNC, 0); in sip_svc_send_async_request()
153 req.a0 = SMC_FUNC_ID_MAILBOX_SEND_COMMAND; in sip_svc_send_async_request()
154 req.a2 = (uint64_t)cmd_addr; in sip_svc_send_async_request()
155 req.a3 = (uint64_t)cmd_size; in sip_svc_send_async_request()
156 req.resp_data_addr = (uint64_t)resp_addr; in sip_svc_send_async_request()
157 req.resp_data_size = (uint64_t)resp_size; in sip_svc_send_async_request()
158 req.priv_data = (void *)&priv; in sip_svc_send_async_request()
161 trans_id = sip_svc_send(ctrl, token, &req, get_async_callback); in sip_svc_send_async_request()