Lines Matching refs:hl_device
48 static int hl_get_pb_block(struct hl_device *hdev, u32 mm_reg_addr, in hl_get_pb_block()
75 static int hl_unset_pb_in_block(struct hl_device *hdev, u32 reg_offset, in hl_unset_pb_in_block()
103 int hl_unsecure_register(struct hl_device *hdev, u32 mm_reg_addr, int offset, in hl_unsecure_register()
132 static int hl_unsecure_register_range(struct hl_device *hdev, in hl_unsecure_register_range()
168 int hl_unsecure_registers(struct hl_device *hdev, const u32 mm_reg_array[], in hl_unsecure_registers()
198 static int hl_unsecure_registers_range(struct hl_device *hdev, in hl_unsecure_registers_range()
225 static void hl_ack_pb_security_violations(struct hl_device *hdev, in hl_ack_pb_security_violations()
253 void hl_config_glbl_sec(struct hl_device *hdev, const u32 pb_blocks[], in hl_config_glbl_sec()
281 void hl_secure_block(struct hl_device *hdev, in hl_secure_block()
307 int hl_init_pb_with_mask(struct hl_device *hdev, u32 num_dcores, in hl_init_pb_with_mask()
359 int hl_init_pb(struct hl_device *hdev, u32 num_dcores, u32 dcore_offset, in hl_init_pb()
387 int hl_init_pb_ranges_with_mask(struct hl_device *hdev, u32 num_dcores, in hl_init_pb_ranges_with_mask()
445 int hl_init_pb_ranges(struct hl_device *hdev, u32 num_dcores, in hl_init_pb_ranges()
471 int hl_init_pb_single_dcore(struct hl_device *hdev, u32 dcore_offset, in hl_init_pb_single_dcore()
519 int hl_init_pb_ranges_single_dcore(struct hl_device *hdev, u32 dcore_offset, in hl_init_pb_ranges_single_dcore()
563 void hl_ack_pb_with_mask(struct hl_device *hdev, u32 num_dcores, in hl_ack_pb_with_mask()
597 void hl_ack_pb(struct hl_device *hdev, u32 num_dcores, u32 dcore_offset, in hl_ack_pb()
618 void hl_ack_pb_single_dcore(struct hl_device *hdev, u32 dcore_offset, in hl_ack_pb_single_dcore()
632 static u32 hl_automated_get_block_base_addr(struct hl_device *hdev, in hl_automated_get_block_base_addr()
661 static bool hl_check_block_range_exclusion(struct hl_device *hdev, in hl_check_block_range_exclusion()
687 static int hl_read_glbl_errors(struct hl_device *hdev, in hl_read_glbl_errors()
723 void hl_check_for_glbl_errors(struct hl_device *hdev) in hl_check_for_glbl_errors()
742 int hl_iterate_special_blocks(struct hl_device *hdev, struct iterate_special_ctx *ctx) in hl_iterate_special_blocks()