Lines Matching refs:cb_data
199 struct stratix10_svc_cb_data *cb_data) in svc_thread_cmd_data_claim() argument
217 cb_data->status = BIT(SVC_STATUS_BUFFER_DONE); in svc_thread_cmd_data_claim()
218 cb_data->kaddr1 = svc_pa_to_va(res.a1); in svc_thread_cmd_data_claim()
219 cb_data->kaddr2 = (res.a2) ? in svc_thread_cmd_data_claim()
221 cb_data->kaddr3 = (res.a3) ? in svc_thread_cmd_data_claim()
224 cb_data); in svc_thread_cmd_data_claim()
245 struct stratix10_svc_cb_data *cb_data) in svc_thread_cmd_config_status() argument
250 cb_data->kaddr1 = NULL; in svc_thread_cmd_config_status()
251 cb_data->kaddr2 = NULL; in svc_thread_cmd_config_status()
252 cb_data->kaddr3 = NULL; in svc_thread_cmd_config_status()
253 cb_data->status = BIT(SVC_STATUS_ERROR); in svc_thread_cmd_config_status()
274 cb_data->status = BIT(SVC_STATUS_COMPLETED); in svc_thread_cmd_config_status()
276 p_data->chan->scl->receive_cb(p_data->chan->scl, cb_data); in svc_thread_cmd_config_status()
288 struct stratix10_svc_cb_data *cb_data, in svc_thread_recv_status_ok() argument
291 cb_data->kaddr1 = NULL; in svc_thread_recv_status_ok()
292 cb_data->kaddr2 = NULL; in svc_thread_recv_status_ok()
293 cb_data->kaddr3 = NULL; in svc_thread_recv_status_ok()
299 cb_data->status = BIT(SVC_STATUS_OK); in svc_thread_recv_status_ok()
302 cb_data->status = BIT(SVC_STATUS_BUFFER_SUBMITTED); in svc_thread_recv_status_ok()
305 cb_data->status = BIT(SVC_STATUS_COMPLETED); in svc_thread_recv_status_ok()
309 cb_data->status = BIT(SVC_STATUS_OK); in svc_thread_recv_status_ok()
310 cb_data->kaddr1 = &res.a1; in svc_thread_recv_status_ok()
313 cb_data->status = BIT(SVC_STATUS_OK); in svc_thread_recv_status_ok()
314 cb_data->kaddr1 = &res.a1; in svc_thread_recv_status_ok()
315 cb_data->kaddr2 = &res.a2; in svc_thread_recv_status_ok()
323 p_data->chan->scl->receive_cb(p_data->chan->scl, cb_data); in svc_thread_recv_status_ok()