Lines Matching refs:sob_id

5130 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
5407 sob_id = GAUDI2_RESERVED_SOB_DEC_NRM_FIRST + decoder_id; in gaudi2_init_vdec_brdg_ctrl()
5409 mmDCORE0_SYNC_MNGR_OBJS_SOB_OBJ_0 + sob_id * sizeof(u32)); in gaudi2_init_vdec_brdg_ctrl()
5413 sob_id = GAUDI2_RESERVED_SOB_DEC_ABNRM_FIRST + decoder_id; in gaudi2_init_vdec_brdg_ctrl()
5415 mmDCORE0_SYNC_MNGR_OBJS_SOB_OBJ_0 + sob_id * sizeof(u32)); in gaudi2_init_vdec_brdg_ctrl()
6744 static void gaudi2_arm_cq_monitor(struct hl_device *hdev, u32 sob_id, u32 mon_id, u32 cq_id, in gaudi2_arm_cq_monitor() argument
6750 sob_offset = sob_id * 4; in gaudi2_arm_cq_monitor()
6762 sync_group_id = sob_id / 8; in gaudi2_arm_cq_monitor()
6763 mask = ~(1 << (sob_id & 0x7)); in gaudi2_arm_cq_monitor()
10563 u32 mon_payload, sob_id, mon_id; in gaudi2_pre_schedule_cs() local
10576 sob_id = mon_id = index; in gaudi2_pre_schedule_cs()
10580 gaudi2_arm_cq_monitor(hdev, sob_id, mon_id, GAUDI2_RESERVED_CQ_CS_COMPLETION, mon_payload, in gaudi2_pre_schedule_cs()
10591 static u32 gaudi2_gen_signal_cb(struct hl_device *hdev, void *data, u16 sob_id, u32 size, bool eb) in gaudi2_gen_signal_cb() argument
10604 ctl = FIELD_PREP(GAUDI2_PKT_SHORT_CTL_ADDR_MASK, sob_id * 4); in gaudi2_gen_signal_cb()
10740 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()
10742 WREG32(mmDCORE0_SYNC_MNGR_OBJS_SOB_OBJ_0 + hw_sob->sob_id * 4, 0); in gaudi2_reset_sob()
11081 static u32 gaudi2_get_sob_addr(struct hl_device *hdev, u32 sob_id) in gaudi2_get_sob_addr() argument