Home
last modified time | relevance | path

Searched refs:patched_cb (Results 1 – 5 of 5) sorted by relevance

/drivers/misc/habanalabs/common/
Dhw_queue.c286 cb = job->patched_cb; in ext_queue_schedule_job()
393 if (job->patched_cb) in hw_queue_schedule_job()
394 ptr = job->patched_cb->bus_address; in hw_queue_schedule_job()
426 hdev->asic_funcs->gen_signal_cb(hdev, job->patched_cb, in init_signal_cs()
520 wait_prop.data = (void *) job->patched_cb; in init_wait_cs()
Dcommand_submission.c233 parser.patched_cb = NULL; in cs_parser()
238 job->patched_cb = NULL; in cs_parser()
245 job->patched_cb = parser.patched_cb; in cs_parser()
248 atomic_inc(&job->patched_cb->cs_cnt); in cs_parser()
277 if (job->patched_cb) { in complete_job()
278 atomic_dec(&job->patched_cb->cs_cnt); in complete_job()
279 hl_cb_put(job->patched_cb); in complete_job()
1742 job->patched_cb = job->user_cb; in cs_ioctl_signal_wait_create_jobs()
Dhabanalabs.h1569 struct hl_cb *patched_cb; member
1611 struct hl_cb *patched_cb; member
/drivers/misc/habanalabs/gaudi/
Dgaudi.c969 job->patched_cb = job->user_cb; in _gaudi_init_tpc_mem()
1193 wait_prop.data = (void *) job->patched_cb; in gaudi_collective_master_init_job()
1376 bool patched_cb; in gaudi_collective_wait_create_job() local
1391 patched_cb = true; in gaudi_collective_wait_create_job()
1400 patched_cb = false; in gaudi_collective_wait_create_job()
1414 hdev->mmu_enable && !patched_cb); in gaudi_collective_wait_create_job()
1442 if (patched_cb) in gaudi_collective_wait_create_job()
1443 job->patched_cb = job->user_cb; in gaudi_collective_wait_create_job()
1445 job->patched_cb = NULL; in gaudi_collective_wait_create_job()
5533 kernel_pkt = parser->patched_cb->kernel_address + in gaudi_patch_cb()
[all …]
/drivers/misc/habanalabs/goya/
Dgoya.c3021 cb = job->patched_cb; in goya_send_job_on_qman0()
3855 kernel_pkt = parser->patched_cb->kernel_address + in goya_patch_cb()
3966 parser->patched_cb = hl_cb_get(hdev, &hdev->kernel_cb_mgr, in goya_parse_cb_mmu()
3969 if (!parser->patched_cb) { in goya_parse_cb_mmu()
3980 memcpy(parser->patched_cb->kernel_address, in goya_parse_cb_mmu()
3988 parser->user_cb = parser->patched_cb; in goya_parse_cb_mmu()
3993 hl_cb_put(parser->patched_cb); in goya_parse_cb_mmu()
3999 hl_cb_put(parser->patched_cb); in goya_parse_cb_mmu()
4038 parser->patched_cb = hl_cb_get(hdev, &hdev->kernel_cb_mgr, in goya_parse_cb_no_mmu()
4041 if (!parser->patched_cb) { in goya_parse_cb_no_mmu()
[all …]