/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/ |
H A D | hw_queue.c | 422 "generate signal CB, sob_id: %d, sob val: 0x%x, q_idx: %d\n", in init_signal_wait_cs() 720 int sob, queue_idx = hdev->sync_stream_queue_idx++; in sync_stream_queue_init() local 729 for (sob = 0 ; sob < HL_RSVD_SOBS ; sob++) { in sync_stream_queue_init() 730 hw_sob = &hw_queue->hw_sob[sob]; in sync_stream_queue_init() 732 hw_sob->sob_id = hw_queue->base_sob_id + sob; in sync_stream_queue_init()
|
/kernel/linux/linux-6.6/drivers/accel/habanalabs/common/ |
H A D | hw_queue.c | 420 "generate signal CB, sob_id: %d, sob val: %u, q_idx: %d, seq: %llu\n", in init_signal_cs() 485 dev_dbg(hdev->dev, "Wait for encaps signals handle, qidx(%u), CS sequence(%llu), sob val: 0x%x, offset: %u\n", in init_wait_cs() 499 * then get refcount to hw_sob to prevent resetting the sob in init_wait_cs() 597 * refcount to sob in encaps_sig_first_staged_cs_handler() 603 dev_dbg(hdev->dev, "CS seq (%llu) added to encaps signal handler id (%u), count(%u), qidx(%u), sob(%u), val(%u)\n", in encaps_sig_first_staged_cs_handler() 907 int sob, reserved_mon_idx, queue_idx; in sync_stream_queue_init() local 950 for (sob = 0 ; sob < HL_RSVD_SOBS ; sob++) { in sync_stream_queue_init() 951 hw_sob = &sync_stream_prop->hw_sob[sob]; in sync_stream_queue_init() [all...] |
H A D | command_submission.c | 123 dev_dbg(hdev->dev, "reset sob id %u\n", hw_sob->sob_id); in hl_sob_reset() 160 * hl_gen_sob_mask() - Generates a sob mask to be used in a monitor arm packet 161 * @sob_base: sob base id 162 * @sob_mask: sob user mask, each bit represents a sob offset from sob base 177 /* find msb in order to verify sob range is valid */ in hl_gen_sob_mask() 1790 struct hl_hw_sob *sob = *hw_sob, *other_sob; in hl_cs_signal_sob_wraparound_handler() local 1795 hw_sob_get(sob); in hl_cs_signal_sob_wraparound_handler() 1805 hw_sob_put_err(sob); in hl_cs_signal_sob_wraparound_handler() [all...] |
/kernel/linux/linux-5.10/drivers/crypto/ |
H A D | n2_core.c | 215 bool sfas, bool sob, bool eob, bool encrypt, in control_word_base() 225 if (sob) in control_word_base() 212 control_word_base(unsigned int len, unsigned int hmac_key_len, int enc_type, int auth_type, unsigned int hash_len, bool sfas, bool sob, bool eob, bool encrypt, int opcode) control_word_base() argument
|
/kernel/linux/linux-6.6/drivers/crypto/ |
H A D | n2_core.c | 217 bool sfas, bool sob, bool eob, bool encrypt, in control_word_base() 227 if (sob) in control_word_base() 214 control_word_base(unsigned int len, unsigned int hmac_key_len, int enc_type, int auth_type, unsigned int hash_len, bool sfas, bool sob, bool eob, bool encrypt, int opcode) control_word_base() argument
|
/kernel/linux/linux-6.6/drivers/accel/habanalabs/gaudi/ |
H A D | gaudi.c | 1174 /* First sob in group must be aligned to HL_MAX_SOBS_PER_MONITOR */ in gaudi_collective_init() 1227 "Generate master wait CBs, sob %d (mask %#x), val:0x%x, mon %u, q %d\n", in gaudi_collective_master_init_job() 1245 "Generate master wait CBs, sob %d (mask %#x), val:0x%x, mon %u, q %d\n", in gaudi_collective_master_init_job() 1291 "Generate slave wait CB, sob %d, val:%x, mon %d, q %d\n", in gaudi_collective_slave_init_job() 1298 "generate signal CB, sob_id: %d, sob val: 1, q_idx: %d\n", in gaudi_collective_slave_init_job() 1342 * then get refcount to hw_sob to prevent resetting the sob in gaudi_collective_wait_init_cs() 1381 /* Handle sob group kref and wraparound */ in gaudi_collective_wait_init_cs() 1455 * 1 additional msg short packet for sob signal in gaudi_collective_wait_create_job() 1568 * all wait for the user to signal sob 'cs_cmpl->sob_val'. in gaudi_collective_wait_create_jobs() 8907 u32 gid, mask, sob; in gaudi_fill_sobs_from_mon() local [all...] |