Lines Matching refs:skip_blocks_cfg
632 static bool hl_check_block_type_exclusion(struct hl_skip_blocks_cfg *skip_blocks_cfg, in hl_check_block_type_exclusion() argument
638 for (i = 0 ; i < skip_blocks_cfg->block_types_len ; i++) in hl_check_block_type_exclusion()
639 if (block_type == skip_blocks_cfg->block_types[i]) in hl_check_block_type_exclusion()
646 struct hl_skip_blocks_cfg *skip_blocks_cfg, in hl_check_block_range_exclusion() argument
656 for (i = 0 ; i < skip_blocks_cfg->block_ranges_len ; i++) { in hl_check_block_range_exclusion()
657 blocks_in_range = (skip_blocks_cfg->block_ranges[i].end - in hl_check_block_range_exclusion()
658 skip_blocks_cfg->block_ranges[i].start) / in hl_check_block_range_exclusion()
661 block_base_addr_in_range = skip_blocks_cfg->block_ranges[i].start + in hl_check_block_range_exclusion()
714 special_blocks_cfg.skip_blocks_cfg = &prop->skip_special_blocks_cfg; in hl_check_for_glbl_errors()
729 struct hl_skip_blocks_cfg *skip_blocks_cfg = in hl_iterate_special_blocks() local
730 special_blocks_cfg->skip_blocks_cfg; in hl_iterate_special_blocks()
742 if (hl_check_block_type_exclusion(skip_blocks_cfg, block_info_arr->block_type)) in hl_iterate_special_blocks()
751 skip_blocks_cfg, block_info_arr, in hl_iterate_special_blocks()
753 (skip_blocks_cfg->skip_block_hook && in hl_iterate_special_blocks()
754 skip_blocks_cfg->skip_block_hook(hdev, in hl_iterate_special_blocks()