Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/accel/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.c310 parser.patched_cb = NULL; in cs_parser()
315 job->patched_cb = NULL; in cs_parser()
322 job->patched_cb = parser.patched_cb; in cs_parser()
325 atomic_inc(&job->patched_cb->cs_cnt); in cs_parser()
354 if (job->patched_cb) { in hl_complete_job()
355 atomic_dec(&job->patched_cb->cs_cnt); in hl_complete_job()
356 hl_cb_put(job->patched_cb); in hl_complete_job()
1971 job->patched_cb = job->user_cb; in cs_ioctl_signal_wait_create_jobs()
Dhabanalabs.h2049 struct hl_cb *patched_cb; member
2092 struct hl_cb *patched_cb; member
/linux-6.6.21/drivers/accel/habanalabs/gaudi/
Dgaudi.c1010 job->patched_cb = job->user_cb; in _gaudi_init_tpc_mem()
1232 wait_prop.data = (void *) job->patched_cb; in gaudi_collective_master_init_job()
1435 bool patched_cb; in gaudi_collective_wait_create_job() local
1450 patched_cb = true; in gaudi_collective_wait_create_job()
1459 patched_cb = false; in gaudi_collective_wait_create_job()
1472 cb = hl_cb_kernel_create(hdev, cb_size, !patched_cb); in gaudi_collective_wait_create_job()
1500 if (patched_cb) in gaudi_collective_wait_create_job()
1501 job->patched_cb = job->user_cb; in gaudi_collective_wait_create_job()
1503 job->patched_cb = NULL; in gaudi_collective_wait_create_job()
5260 kernel_pkt = parser->patched_cb->kernel_address + in gaudi_patch_cb()
[all …]
/linux-6.6.21/drivers/accel/habanalabs/goya/
Dgoya.c3104 cb = job->patched_cb; in goya_send_job_on_qman0()
3902 kernel_pkt = parser->patched_cb->kernel_address + in goya_patch_cb()
4012 parser->patched_cb = hl_cb_get(&hdev->kernel_mem_mgr, handle); in goya_parse_cb_mmu()
4014 if (!parser->patched_cb) { in goya_parse_cb_mmu()
4024 memcpy(parser->patched_cb->kernel_address, in goya_parse_cb_mmu()
4032 parser->user_cb = parser->patched_cb; in goya_parse_cb_mmu()
4037 hl_cb_put(parser->patched_cb); in goya_parse_cb_mmu()
4043 hl_cb_put(parser->patched_cb); in goya_parse_cb_mmu()
4080 parser->patched_cb = hl_cb_get(&hdev->kernel_mem_mgr, handle); in goya_parse_cb_no_mmu()
4082 if (!parser->patched_cb) { in goya_parse_cb_no_mmu()
[all …]