Searched refs:sob_mask (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.1/drivers/misc/habanalabs/common/ |
D | command_submission.c | 166 int hl_gen_sob_mask(u16 sob_base, u8 sob_mask, u8 *mask) in hl_gen_sob_mask() argument 170 if (sob_mask == 0) in hl_gen_sob_mask() 173 if (sob_mask == 0x1) { in hl_gen_sob_mask() 178 if (BIT(i) & sob_mask) in hl_gen_sob_mask() 184 *mask = ~sob_mask; in hl_gen_sob_mask()
|
D | hw_queue.c | 526 wait_prop.sob_mask = 0x1; in init_wait_cs()
|
D | habanalabs.h | 272 u8 sob_mask; member 3586 int hl_gen_sob_mask(u16 sob_base, u8 sob_mask, u8 *mask);
|
/Linux-v6.1/drivers/misc/habanalabs/gaudi/ |
D | gaudi.c | 1229 wait_prop.sob_mask = cprop->mstr_sob_mask[0]; in gaudi_collective_master_init_job() 1246 wait_prop.sob_mask = cprop->mstr_sob_mask[1]; in gaudi_collective_master_init_job() 1279 wait_prop.sob_mask = 0x1; in gaudi_collective_slave_init_job() 8560 struct packet_msg_short *pkt, u16 sob_base, u8 sob_mask, in gaudi_add_arm_monitor_pkt() argument 8568 if (hl_gen_sob_mask(sob_base, sob_mask, &mask)) { in gaudi_add_arm_monitor_pkt() 8571 sob_base, sob_mask); in gaudi_add_arm_monitor_pkt() 8808 prop->sob_mask, prop->sob_val, prop->mon_id); in gaudi_gen_wait_cb()
|
/Linux-v6.1/drivers/misc/habanalabs/gaudi2/ |
D | gaudi2.c | 9637 u16 sob_base, u8 sob_mask, u16 sob_val, u16 addr) in gaudi2_add_arm_monitor_pkt() argument 9642 if (hl_gen_sob_mask(sob_base, sob_mask, &mask)) { in gaudi2_add_arm_monitor_pkt() 9643 dev_err(hdev->dev, "sob_base %u (mask %#x) is not valid\n", sob_base, sob_mask); in gaudi2_add_arm_monitor_pkt() 9729 size += gaudi2_add_arm_monitor_pkt(hdev, buf + size, prop->sob_base, prop->sob_mask, in gaudi2_gen_wait_cb()
|