Lines Matching full:request
65 struct sip_svc_request request; in svc_client_close() local
80 /* Fill the SiP SVC buffer with CANCEL request */ in svc_client_close()
83 request.header = SIP_SVC_PROTO_HEADER(SIP_SVC_PROTO_CMD_ASYNC, 0); in svc_client_close()
84 request.a0 = SMC_FUNC_ID_MAILBOX_SEND_COMMAND; in svc_client_close()
85 request.a1 = 0; in svc_client_close()
86 request.a2 = (uint64_t)cmd_addr; in svc_client_close()
87 request.a3 = (uint64_t)cmd_size; in svc_client_close()
88 request.a4 = 0; in svc_client_close()
89 request.a5 = 0; in svc_client_close()
90 request.a6 = 0; in svc_client_close()
91 request.a7 = 0; in svc_client_close()
92 request.resp_data_addr = (uint64_t)NULL; in svc_client_close()
93 request.resp_data_size = 0; in svc_client_close()
94 request.priv_data = NULL; in svc_client_close()
96 err = sip_svc_close(data->mailbox_smc_dev, data->mailbox_client_token, &request); in svc_client_close()
194 struct sip_svc_request request; in smc_send() local
222 request.a2 = (uint64_t)cmd_addr; in smc_send()
223 request.a3 = sizeof(uint32_t); in smc_send()
224 request.resp_data_addr = (uint64_t)resp_addr; in smc_send()
225 request.resp_data_size = FPGA_MB_RESPONSE_MEM_SIZE; in smc_send()
228 for (int32_t mbox_idx = 0; mbox_idx < request.a3 / 4; mbox_idx++) { in smc_send()
234 request.a2 = cmd_request[SMC_REQUEST_A2_INDEX]; in smc_send()
235 request.a3 = cmd_request[SMC_REQUEST_A3_INDEX]; in smc_send()
236 request.resp_data_addr = 0; in smc_send()
237 request.resp_data_size = 0; in smc_send()
240 /* Fill SiP SVC request buffer */ in smc_send()
241 request.header = SIP_SVC_PROTO_HEADER(cmd_type, 0); in smc_send()
242 request.a0 = function_identifier; in smc_send()
243 request.a1 = 0; in smc_send()
244 request.a4 = 0; in smc_send()
245 request.a5 = 0; in smc_send()
246 request.a6 = 0; in smc_send()
247 request.a7 = 0; in smc_send()
248 request.priv_data = (void *)private_data; in smc_send()
250 /* Send SiP SVC request */ in smc_send()
251 trans_id = sip_svc_send(data->mailbox_smc_dev, data->mailbox_client_token, &request, in smc_send()
255 LOG_ERR("SiP SVC send request fail"); in smc_send()