Home
last modified time | relevance | path

Searched refs:user_cb (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.10/drivers/misc/habanalabs/common/
Dcommand_submission.c159 parser.user_cb = job->user_cb; in cs_parser()
183 spin_lock(&job->user_cb->lock); in cs_parser()
184 job->user_cb->cs_cnt--; in cs_parser()
185 spin_unlock(&job->user_cb->lock); in cs_parser()
186 hl_cb_put(job->user_cb); in cs_parser()
187 job->user_cb = NULL; in cs_parser()
221 spin_lock(&job->user_cb->lock); in free_job()
222 job->user_cb->cs_cnt--; in free_job()
223 spin_unlock(&job->user_cb->lock); in free_job()
225 hl_cb_put(job->user_cb); in free_job()
[all …]
Dhw_queue.c336 bd.ptr = cpu_to_le64((u64) (uintptr_t) job->user_cb); in int_queue_schedule_job()
384 ptr = job->user_cb->bus_address; in hw_queue_schedule_job()
386 ptr = (u64) (uintptr_t) job->user_cb; in hw_queue_schedule_job()
Dhabanalabs.h1017 struct hl_cb *user_cb; member
1056 struct hl_cb *user_cb; member
/Linux-v5.10/drivers/crypto/ccree/
Dcc_request_mgr.c371 creq->user_cb(dev, req, -EINPROGRESS); in cc_proc_backlog()
462 cc_req->user_cb = request_mgr_complete; in cc_send_sync_request()
597 if (cc_req->user_cb) in proc_completions()
598 cc_req->user_cb(dev, cc_req->user_arg, rc); in proc_completions()
Dcc_driver.h123 void (*user_cb)(struct device *dev, void *req, int err); member
Dcc_hash.c461 cc_req.user_cb = cc_digest_complete; in cc_hash_digest()
599 cc_req.user_cb = cc_update_complete; in cc_hash_update()
671 cc_req.user_cb = cc_hash_complete; in cc_do_finup()
1206 cc_req.user_cb = cc_update_complete; in cc_mac_update()
1264 cc_req.user_cb = cc_hash_complete; in cc_mac_final()
1378 cc_req.user_cb = cc_hash_complete; in cc_mac_finup()
1456 cc_req.user_cb = cc_digest_complete; in cc_mac_digest()
Dcc_cipher.c931 cc_req.user_cb = cc_cipher_complete; in cc_cipher_process()
Dcc_aead.c1918 cc_req.user_cb = cc_aead_complete; in cc_proc_aead()
/Linux-v5.10/drivers/misc/habanalabs/goya/
Dgoya.c3478 user_pkt = parser->user_cb->kernel_address + cb_parsed_length; in goya_validate_cb()
3715 user_pkt = parser->user_cb->kernel_address + cb_parsed_length; in goya_patch_cb()
3804 struct hl_cb *user_cb; in goya_parse_cb_mmu() local
3842 parser->user_cb->kernel_address, in goya_parse_cb_mmu()
3848 user_cb = parser->user_cb; in goya_parse_cb_mmu()
3849 parser->user_cb = parser->patched_cb; in goya_parse_cb_mmu()
3851 parser->user_cb = user_cb; in goya_parse_cb_mmu()
3941 (u64) (uintptr_t) parser->user_cb, in goya_parse_cb_no_ext_queue()
3948 (u64) (uintptr_t) parser->user_cb, in goya_parse_cb_no_ext_queue()
3956 parser->user_cb, parser->user_cb_size); in goya_parse_cb_no_ext_queue()
[all …]
/Linux-v5.10/drivers/misc/habanalabs/gaudi/
Dgaudi.c710 job->user_cb = cb; in _gaudi_init_tpc_mem()
711 job->user_cb->cs_cnt++; in _gaudi_init_tpc_mem()
714 job->patched_cb = job->user_cb; in _gaudi_init_tpc_mem()
3813 user_pkt = parser->user_cb->kernel_address + cb_parsed_length; in gaudi_validate_cb()
4036 user_pkt = parser->user_cb->kernel_address + cb_parsed_length; in gaudi_patch_cb()
4117 struct hl_cb *user_cb; in gaudi_parse_cb_mmu() local
4155 parser->user_cb->kernel_address, in gaudi_parse_cb_mmu()
4161 user_cb = parser->user_cb; in gaudi_parse_cb_mmu()
4162 parser->user_cb = parser->patched_cb; in gaudi_parse_cb_mmu()
4164 parser->user_cb = user_cb; in gaudi_parse_cb_mmu()
[all …]