Home
last modified time | relevance | path

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

/linux/drivers/accel/habanalabs/common/
H A Dhw_queue.c419 struct hl_hw_sob *hw_sob; in init_signal_cs() local
425 hw_sob = &prop->hw_sob[prop->curr_sob_offset]; in init_signal_cs()
427 cs_cmpl->hw_sob = hw_sob; in init_signal_cs()
457 cs_cmpl->hw_sob = handle->hw_sob; in hl_hw_queue_encaps_sig_set_sob_info()
503 cs_cmpl->hw_sob = signal_cs_cmpl->hw_sob; in init_wait_cs()
610 cs_cmpl->hw_sob = encaps_sig_hdl->hw_sob; in encaps_sig_first_staged_cs_handler()
917 struct hl_hw_sob *hw_sob; in sync_stream_queue_init() local
962 hw_sob = &sync_stream_prop->hw_sob[sob]; in sync_stream_queue_init()
963 hw_sob->hdev = hdev; in sync_stream_queue_init()
965 hw_sob->sob_addr = in sync_stream_queue_init()
[all …]
H A Dcommand_submission.c156 hw_sob->q_idx, hw_sob->sob_id); in hl_sob_reset_error()
161 if (hw_sob) in hw_sob_put()
167 if (hw_sob) in hw_sob_put_err()
173 if (hw_sob) in hw_sob_get()
174 kref_get(&hw_sob->kref); in hw_sob_get()
1847 *hw_sob = other_sob; in hl_cs_signal_sob_wraparound_handler()
2072 hw_sob = &prop->hw_sob[prop->curr_sob_offset]; in cs_ioctl_reserve_signals()
2091 handle->hw_sob = hw_sob; in cs_ioctl_reserve_signals()
2108 hw_sob->sob_id, handle->hw_sob->sob_addr, in cs_ioctl_reserve_signals()
2148 hw_sob = &prop->hw_sob[prop->curr_sob_offset]; in cs_ioctl_unreserve_signals()
[all …]
H A Dhabanalabs.h868 struct hl_hw_sob *hw_sob; member
1041 struct hl_hw_sob hw_sob[HL_RSVD_SOBS]; member
3597 struct hl_hw_sob *hw_sob; member
4036 void hw_sob_get(struct hl_hw_sob *hw_sob);
4037 void hw_sob_put(struct hl_hw_sob *hw_sob);
4051 struct hl_hw_sob **hw_sob, u32 count, bool encaps_sig);
H A Dcontext.c18 hw_sob_put(handle->hw_sob); in encaps_handle_do_release()
/linux/drivers/accel/habanalabs/gaudi/
H A Dgaudi.c1280 cs_cmpl->hw_sob->sob_id, in gaudi_collective_slave_init_job()
1286 wait_prop.sob_base = cs_cmpl->hw_sob->sob_id; in gaudi_collective_slave_init_job()
1295 cs_cmpl->hw_sob->sob_id, cs_cmpl->sob_val, in gaudi_collective_slave_init_job()
1328 cs_cmpl->hw_sob = handle->hw_sob; in gaudi_collective_wait_init_cs()
1338 cs_cmpl->hw_sob = signal_cs_cmpl->hw_sob; in gaudi_collective_wait_init_cs()
1361 kref_get(&cs_cmpl->hw_sob->kref); in gaudi_collective_wait_init_cs()
8747 struct hl_hw_sob *hw_sob = (struct hl_hw_sob *) data; in gaudi_reset_sob() local
8749 dev_dbg(hdev->dev, "reset SOB, q_idx: %d, sob_id: %d\n", hw_sob->q_idx, in gaudi_reset_sob()
8750 hw_sob->sob_id); in gaudi_reset_sob()
8753 hw_sob->sob_id * 4, 0); in gaudi_reset_sob()
[all …]
/linux/drivers/accel/habanalabs/gaudi2/
H A Dgaudi2.c11107 struct hl_hw_sob *hw_sob = data; in gaudi2_reset_sob() local
11109 dev_dbg(hdev->dev, "reset SOB, q_idx: %d, sob_id: %d\n", hw_sob->q_idx, hw_sob->sob_id); in gaudi2_reset_sob()
11111 WREG32(mmDCORE0_SYNC_MNGR_OBJS_SOB_OBJ_0 + hw_sob->sob_id * 4, 0); in gaudi2_reset_sob()
11113 kref_init(&hw_sob->kref); in gaudi2_reset_sob()