Lines Matching refs:pb_blocks
33 const u32 pb_blocks[], int array_size) in hl_get_pb_block() argument
39 start_addr = pb_blocks[i]; in hl_get_pb_block()
88 const u32 pb_blocks[], struct hl_block_glbl_sec sgs_array[], in hl_unsecure_register() argument
94 block_num = hl_get_pb_block(hdev, mm_reg_addr + offset, pb_blocks, in hl_unsecure_register()
99 reg_offset = (mm_reg_addr + offset) - pb_blocks[block_num]; in hl_unsecure_register()
117 struct range mm_reg_range, int offset, const u32 pb_blocks[], in hl_unsecure_register_range() argument
125 mm_reg_range.start + offset, pb_blocks, in hl_unsecure_register_range()
131 reg_offset = (i + offset) - pb_blocks[block_num]; in hl_unsecure_register_range()
153 int mm_array_size, int offset, const u32 pb_blocks[], in hl_unsecure_registers() argument
160 pb_blocks, sgs_array, blocks_array_size); in hl_unsecure_registers()
184 int offset, const u32 pb_blocks[], in hl_unsecure_registers_range() argument
191 offset, pb_blocks, sgs_array, blocks_array_size); in hl_unsecure_registers_range()
210 const u32 pb_blocks[], u32 block_offset, int array_size) in hl_ack_pb_security_violations() argument
216 block_base = pb_blocks[i] + block_offset; in hl_ack_pb_security_violations()
237 void hl_config_glbl_sec(struct hl_device *hdev, const u32 pb_blocks[], in hl_config_glbl_sec() argument
248 sgs_base = block_offset + pb_blocks[i] + in hl_config_glbl_sec()
293 const u32 pb_blocks[], u32 blocks_array_size, in hl_init_pb_with_mask() argument
307 pb_blocks, glbl_sec, blocks_array_size); in hl_init_pb_with_mask()
317 hl_config_glbl_sec(hdev, pb_blocks, glbl_sec, in hl_init_pb_with_mask()
345 const u32 pb_blocks[], u32 blocks_array_size, in hl_init_pb() argument
349 num_instances, instance_offset, pb_blocks, in hl_init_pb()
373 const u32 pb_blocks[], u32 blocks_array_size, in hl_init_pb_ranges_with_mask() argument
388 user_regs_range_array_size, 0, pb_blocks, glbl_sec, in hl_init_pb_ranges_with_mask()
401 hl_config_glbl_sec(hdev, pb_blocks, glbl_sec, in hl_init_pb_ranges_with_mask()
431 const u32 pb_blocks[], u32 blocks_array_size, in hl_init_pb_ranges() argument
436 num_instances, instance_offset, pb_blocks, in hl_init_pb_ranges()
457 const u32 pb_blocks[], u32 blocks_array_size, in hl_init_pb_single_dcore() argument
471 0, pb_blocks, glbl_sec, blocks_array_size); in hl_init_pb_single_dcore()
477 hl_config_glbl_sec(hdev, pb_blocks, glbl_sec, in hl_init_pb_single_dcore()
505 const u32 pb_blocks[], u32 blocks_array_size, in hl_init_pb_ranges_single_dcore() argument
519 user_regs_range_array_size, 0, pb_blocks, glbl_sec, in hl_init_pb_ranges_single_dcore()
524 hl_config_glbl_sec(hdev, pb_blocks, glbl_sec, in hl_init_pb_ranges_single_dcore()
549 const u32 pb_blocks[], u32 blocks_array_size, u64 mask) in hl_ack_pb_with_mask() argument
561 hl_ack_pb_security_violations(hdev, pb_blocks, in hl_ack_pb_with_mask()
583 const u32 pb_blocks[], u32 blocks_array_size) in hl_ack_pb() argument
586 instance_offset, pb_blocks, blocks_array_size, in hl_ack_pb()
604 const u32 pb_blocks[], u32 blocks_array_size) in hl_ack_pb_single_dcore() argument
610 hl_ack_pb_security_violations(hdev, pb_blocks, in hl_ack_pb_single_dcore()