Home
last modified time | relevance | path

Searched refs:hw_sob (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/drivers/misc/habanalabs/common/
Dhw_queue.c405 struct hl_hw_sob *hw_sob; in init_signal_wait_cs() local
416 hw_sob = &hw_queue->hw_sob[hw_queue->curr_sob_offset]; in init_signal_wait_cs()
418 cs_cmpl->hw_sob = hw_sob; in init_signal_wait_cs()
423 cs_cmpl->hw_sob->sob_id, cs_cmpl->sob_val, q_idx); in init_signal_wait_cs()
426 cs_cmpl->hw_sob->sob_id); in init_signal_wait_cs()
428 kref_get(&hw_sob->kref); in init_signal_wait_cs()
437 kref_put(&hw_sob->kref, hl_sob_reset_error); in init_signal_wait_cs()
455 cs_cmpl->hw_sob = signal_cs_cmpl->hw_sob; in init_signal_wait_cs()
460 cs_cmpl->hw_sob->sob_id, cs_cmpl->sob_val, in init_signal_wait_cs()
464 cs_cmpl->hw_sob->sob_id, in init_signal_wait_cs()
[all …]
Dcommand_submission.c23 struct hl_hw_sob *hw_sob = container_of(ref, struct hl_hw_sob, in hl_sob_reset() local
25 struct hl_device *hdev = hw_sob->hdev; in hl_sob_reset()
27 hdev->asic_funcs->reset_sob(hdev, hw_sob); in hl_sob_reset()
32 struct hl_hw_sob *hw_sob = container_of(ref, struct hl_hw_sob, in hl_sob_reset_error() local
34 struct hl_device *hdev = hw_sob->hdev; in hl_sob_reset_error()
38 hw_sob->q_idx, hw_sob->sob_id); in hl_sob_reset_error()
62 hl_cs_cmpl->hw_sob->sob_id, in hl_fence_release()
82 kref_put(&hl_cs_cmpl->hw_sob->kref, hl_sob_reset); in hl_fence_release()
Dhabanalabs.h405 struct hl_hw_sob *hw_sob; member
515 struct hl_hw_sob hw_sob[HL_RSVD_SOBS]; member
/Linux-v5.10/drivers/misc/habanalabs/gaudi/
Dgaudi.c6571 struct hl_hw_sob *hw_sob = (struct hl_hw_sob *) data; in gaudi_reset_sob() local
6573 dev_dbg(hdev->dev, "reset SOB, q_idx: %d, sob_id: %d\n", hw_sob->q_idx, in gaudi_reset_sob()
6574 hw_sob->sob_id); in gaudi_reset_sob()
6576 WREG32(mmSYNC_MNGR_W_S_SYNC_MNGR_OBJS_SOB_OBJ_0 + hw_sob->sob_id * 4, in gaudi_reset_sob()
6579 kref_init(&hw_sob->kref); in gaudi_reset_sob()