Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/misc/habanalabs/common/
Dhw_queue.c286 cb = job->patched_cb; in ext_queue_schedule_job()
394 if (job->patched_cb) in hw_queue_schedule_job()
395 ptr = job->patched_cb->bus_address; in hw_queue_schedule_job()
427 hdev->asic_funcs->gen_signal_cb(hdev, job->patched_cb, in init_signal_cs()
524 wait_prop.data = (void *) job->patched_cb; in init_wait_cs()
Dcommand_submission.c315 parser.patched_cb = NULL; in cs_parser()
320 job->patched_cb = NULL; in cs_parser()
327 job->patched_cb = parser.patched_cb; in cs_parser()
330 atomic_inc(&job->patched_cb->cs_cnt); in cs_parser()
359 if (job->patched_cb) { in hl_complete_job()
360 atomic_dec(&job->patched_cb->cs_cnt); in hl_complete_job()
361 hl_cb_put(job->patched_cb); in hl_complete_job()
1892 job->patched_cb = job->user_cb; in cs_ioctl_signal_wait_create_jobs()
Dhabanalabs.h2004 struct hl_cb *patched_cb; member
2046 struct hl_cb *patched_cb; member
/Linux-v6.1/drivers/misc/habanalabs/gaudi/
Dgaudi.c1005 job->patched_cb = job->user_cb; in _gaudi_init_tpc_mem()
1227 wait_prop.data = (void *) job->patched_cb; in gaudi_collective_master_init_job()
1430 bool patched_cb; in gaudi_collective_wait_create_job() local
1445 patched_cb = true; in gaudi_collective_wait_create_job()
1454 patched_cb = false; in gaudi_collective_wait_create_job()
1468 hdev->mmu_enable && !patched_cb); in gaudi_collective_wait_create_job()
1496 if (patched_cb) in gaudi_collective_wait_create_job()
1497 job->patched_cb = job->user_cb; in gaudi_collective_wait_create_job()
1499 job->patched_cb = NULL; in gaudi_collective_wait_create_job()
5326 kernel_pkt = parser->patched_cb->kernel_address + in gaudi_patch_cb()
[all …]
/Linux-v6.1/drivers/misc/habanalabs/goya/
Dgoya.c3099 cb = job->patched_cb; in goya_send_job_on_qman0()
3897 kernel_pkt = parser->patched_cb->kernel_address + in goya_patch_cb()
4007 parser->patched_cb = hl_cb_get(&hdev->kernel_mem_mgr, handle); in goya_parse_cb_mmu()
4009 if (!parser->patched_cb) { in goya_parse_cb_mmu()
4019 memcpy(parser->patched_cb->kernel_address, in goya_parse_cb_mmu()
4027 parser->user_cb = parser->patched_cb; in goya_parse_cb_mmu()
4032 hl_cb_put(parser->patched_cb); in goya_parse_cb_mmu()
4038 hl_cb_put(parser->patched_cb); in goya_parse_cb_mmu()
4075 parser->patched_cb = hl_cb_get(&hdev->kernel_mem_mgr, handle); in goya_parse_cb_no_mmu()
4077 if (!parser->patched_cb) { in goya_parse_cb_no_mmu()
[all …]