Lines Matching refs:cbdata
341 struct stratix10_svc_cb_data *cbdata; in svc_normal_to_secure_thread() local
350 cbdata = kmalloc(sizeof(*cbdata), GFP_KERNEL); in svc_normal_to_secure_thread()
351 if (!cbdata) { in svc_normal_to_secure_thread()
377 svc_thread_cmd_data_claim(ctrl, pdata, cbdata); in svc_normal_to_secure_thread()
443 cbdata->status = BIT(SVC_STATUS_ERROR); in svc_normal_to_secure_thread()
445 cbdata->status = BIT(SVC_STATUS_OK); in svc_normal_to_secure_thread()
447 cbdata->kaddr1 = &res; in svc_normal_to_secure_thread()
448 cbdata->kaddr2 = NULL; in svc_normal_to_secure_thread()
449 cbdata->kaddr3 = NULL; in svc_normal_to_secure_thread()
450 pdata->chan->scl->receive_cb(pdata->chan->scl, cbdata); in svc_normal_to_secure_thread()
456 svc_thread_recv_status_ok(pdata, cbdata, res); in svc_normal_to_secure_thread()
462 pdata, cbdata); in svc_normal_to_secure_thread()
466 pdata, cbdata); in svc_normal_to_secure_thread()
479 cbdata->status = BIT(SVC_STATUS_ERROR); in svc_normal_to_secure_thread()
480 cbdata->kaddr1 = NULL; in svc_normal_to_secure_thread()
481 cbdata->kaddr2 = NULL; in svc_normal_to_secure_thread()
482 cbdata->kaddr3 = NULL; in svc_normal_to_secure_thread()
483 pdata->chan->scl->receive_cb(pdata->chan->scl, cbdata); in svc_normal_to_secure_thread()
495 cbdata->status = in svc_normal_to_secure_thread()
497 cbdata->kaddr1 = NULL; in svc_normal_to_secure_thread()
498 cbdata->kaddr2 = NULL; in svc_normal_to_secure_thread()
499 cbdata->kaddr3 = NULL; in svc_normal_to_secure_thread()
501 pdata->chan->scl, cbdata); in svc_normal_to_secure_thread()
508 kfree(cbdata); in svc_normal_to_secure_thread()