Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/accel/habanalabs/common/
Dhw_queue.c297 cb = job->patched_cb; in ext_queue_schedule_job()
405 if (job->patched_cb) in hw_queue_schedule_job()
406 ptr = job->patched_cb->bus_address; in hw_queue_schedule_job()
438 hdev->asic_funcs->gen_signal_cb(hdev, job->patched_cb, in init_signal_cs()
535 wait_prop.data = (void *) job->patched_cb; in init_wait_cs()
Dcommand_submission.c328 parser.patched_cb = NULL; in cs_parser()
333 job->patched_cb = NULL; in cs_parser()
340 job->patched_cb = parser.patched_cb; in cs_parser()
343 atomic_inc(&job->patched_cb->cs_cnt); in cs_parser()
372 if (job->patched_cb) { in hl_complete_job()
373 atomic_dec(&job->patched_cb->cs_cnt); in hl_complete_job()
374 hl_cb_put(job->patched_cb); in hl_complete_job()
1986 job->patched_cb = job->user_cb; in cs_ioctl_signal_wait_create_jobs()
Dhabanalabs.h2115 struct hl_cb *patched_cb; member
2158 struct hl_cb *patched_cb; member
/linux-6.12.1/drivers/accel/habanalabs/gaudi/
Dgaudi.c1013 job->patched_cb = job->user_cb; in _gaudi_init_tpc_mem()
1235 wait_prop.data = (void *) job->patched_cb; in gaudi_collective_master_init_job()
1438 bool patched_cb; in gaudi_collective_wait_create_job() local
1453 patched_cb = true; in gaudi_collective_wait_create_job()
1462 patched_cb = false; in gaudi_collective_wait_create_job()
1475 cb = hl_cb_kernel_create(hdev, cb_size, !patched_cb); in gaudi_collective_wait_create_job()
1503 if (patched_cb) in gaudi_collective_wait_create_job()
1504 job->patched_cb = job->user_cb; in gaudi_collective_wait_create_job()
1506 job->patched_cb = NULL; in gaudi_collective_wait_create_job()
5254 kernel_pkt = parser->patched_cb->kernel_address + in gaudi_patch_cb()
[all …]
/linux-6.12.1/drivers/accel/habanalabs/goya/
Dgoya.c3093 cb = job->patched_cb; in goya_send_job_on_qman0()
3891 kernel_pkt = parser->patched_cb->kernel_address + in goya_patch_cb()
4001 parser->patched_cb = hl_cb_get(&hdev->kernel_mem_mgr, handle); in goya_parse_cb_mmu()
4003 if (!parser->patched_cb) { in goya_parse_cb_mmu()
4013 memcpy(parser->patched_cb->kernel_address, in goya_parse_cb_mmu()
4021 parser->user_cb = parser->patched_cb; in goya_parse_cb_mmu()
4026 hl_cb_put(parser->patched_cb); in goya_parse_cb_mmu()
4032 hl_cb_put(parser->patched_cb); in goya_parse_cb_mmu()
4069 parser->patched_cb = hl_cb_get(&hdev->kernel_mem_mgr, handle); in goya_parse_cb_no_mmu()
4071 if (!parser->patched_cb) { in goya_parse_cb_no_mmu()
[all …]