Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/accel/habanalabs/common/
Dhw_queue.c421 cs_cmpl->hw_sob->sob_id, cs_cmpl->sob_val, q_idx, in init_signal_cs()
428 cs_cmpl->hw_sob->sob_id, 0, true); in init_signal_cs()
521 cs_cmpl->hw_sob->sob_id, cs_cmpl->sob_val, in init_wait_cs()
525 wait_prop.sob_base = cs_cmpl->hw_sob->sob_id; in init_wait_cs()
607 cs_cmpl->hw_sob->sob_id, in encaps_sig_first_staged_cs_handler()
953 hw_sob->sob_id = sync_stream_prop->base_sob_id + sob; in sync_stream_queue_init()
955 hdev->asic_funcs->get_sob_addr(hdev, hw_sob->sob_id); in sync_stream_queue_init()
Dcommand_submission.c123 dev_dbg(hdev->dev, "reset sob id %u\n", hw_sob->sob_id); in hl_sob_reset()
138 hw_sob->q_idx, hw_sob->sob_id); in hl_sob_reset_error()
663 hl_cs_cmpl->hw_sob->sob_id, in cs_release_sob_reset_handler()
2093 hw_sob->sob_id, handle->hw_sob->sob_addr, in cs_ioctl_reserve_signals()
2134 sob_addr = hdev->asic_funcs->get_sob_addr(hdev, hw_sob->sob_id); in cs_ioctl_unreserve_signals()
Dhabanalabs.h418 u32 sob_id; member
1667 u32 (*gen_signal_cb)(struct hl_device *hdev, void *data, u16 sob_id,
1697 u32 (*get_sob_addr)(struct hl_device *hdev, u32 sob_id);
/linux-6.6.21/drivers/accel/habanalabs/gaudi2/
Dgaudi2.c5130 static void gaudi2_arm_monitors_for_virt_msix_db(struct hl_device *hdev, u32 sob_id, in gaudi2_arm_monitors_for_virt_msix_db() argument
5139 sob_offset = sob_id * sizeof(u32); in gaudi2_arm_monitors_for_virt_msix_db()
5169 sob_group = sob_id / 8; in gaudi2_arm_monitors_for_virt_msix_db()
5170 mask = ~BIT(sob_id & 0x7); in gaudi2_arm_monitors_for_virt_msix_db()
5198 u32 decoder_id, sob_id, first_mon_id, interrupt_id; in gaudi2_prepare_sm_for_virt_msix_db() local
5206 sob_id = GAUDI2_RESERVED_SOB_DEC_NRM_FIRST + decoder_id; in gaudi2_prepare_sm_for_virt_msix_db()
5209 gaudi2_arm_monitors_for_virt_msix_db(hdev, sob_id, first_mon_id, interrupt_id); in gaudi2_prepare_sm_for_virt_msix_db()
5211 sob_id = GAUDI2_RESERVED_SOB_DEC_ABNRM_FIRST + decoder_id; in gaudi2_prepare_sm_for_virt_msix_db()
5214 gaudi2_arm_monitors_for_virt_msix_db(hdev, sob_id, first_mon_id, interrupt_id); in gaudi2_prepare_sm_for_virt_msix_db()
5404 u32 sob_id; in gaudi2_init_vdec_brdg_ctrl() local
[all …]
/linux-6.6.21/drivers/accel/habanalabs/gaudi/
Dgaudi.c489 static u32 gaudi_gen_signal_cb(struct hl_device *hdev, void *data, u16 sob_id,
1094 u32 i, sob_id, sob_group_id, queue_id; in gaudi_collective_map_sobs() local
1099 sob_id = prop->hw_sob_group[sob_group_id].base_sob_id; in gaudi_collective_map_sobs()
1104 q->sync_stream_prop.collective_sob_id = sob_id + i; in gaudi_collective_map_sobs()
1113 sob_id + NIC_NUMBER_OF_ENGINES; in gaudi_collective_map_sobs()
1118 sob_id + NIC_NUMBER_OF_ENGINES; in gaudi_collective_map_sobs()
1166 u32 i, sob_id, reserved_sobs_per_group; in gaudi_collective_init() local
1172 sob_id = hdev->asic_prop.collective_first_sob; in gaudi_collective_init()
1181 prop->hw_sob_group[i].base_sob_id = sob_id; in gaudi_collective_init()
1182 sob_id += reserved_sobs_per_group; in gaudi_collective_init()
[all …]
/linux-6.6.21/drivers/accel/habanalabs/goya/
Dgoya.c5275 static u32 goya_gen_signal_cb(struct hl_device *hdev, void *data, u16 sob_id, in goya_gen_signal_cb() argument
5404 static u32 goya_get_sob_addr(struct hl_device *hdev, u32 sob_id) in goya_get_sob_addr() argument