text: /*************************************************************************
   *
   * DO NOT EDIT THIS FILE!
   * This file is auto-generated by HA parser from YAML formated file.
   * Edits to this file will be lost when it is regenerated.
   * Tool: bcmha/scripts/issu_db_gen.py
   *
   * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
   * 
   * Copyright 2007-2020 Broadcom Inc. All rights reserved.
   */
  
  #include <bcmissu/issu_types.h>
  #include "switch_ha.h"
  
  static const issu_field_t bcmissu_fields_bcmint_switch_control_value_map_t[] = {
      {
          .fid = 0x599dcce2,
          .width = sizeof(int),
          .ha_ptr = HA_PTR_NONE,
          .lt_attrib = HA_LT_NONE,
          .ltid_var_for_fid = ISSU_INVALID_FIELD_ID,
          .is_array = false,
          .var_size_id = ISSU_INVALID_FIELD_ID,
          .size = 0,
          .struct_id = ISSU_INVALID_STRUCT_ID,
          .is_local_enum = false,
          .enum_type_name = NULL,
      },
      {
          .fid = 0x2063c160,
          .width = sizeof(int),
          .ha_ptr = HA_PTR_NONE,
          .lt_attrib = HA_LT_NONE,
          .ltid_var_for_fid = ISSU_INVALID_FIELD_ID,
          .is_array = false,
          .var_size_id = ISSU_INVALID_FIELD_ID,
          .size = 0,
          .struct_id = ISSU_INVALID_STRUCT_ID,
          .is_local_enum = false,
          .enum_type_name = NULL,
      },
  };
  
  static uint32_t bcmint_switch_control_value_map_t_field_offset_get (bcmissu_field_id_t field_id)
  {
      bcmint_switch_control_value_map_t var;
  
      switch (field_id) {
          case 0x599dcce2:
              return ((uint8_t *)&var.type) - (uint8_t *)&var;
          case 0x2063c160:
              return ((uint8_t *)&var.value) - (uint8_t *)&var;
          default:
              return ISSU_INVALID_FLD_OFFSET;
      }
  }
  
  const issu_struct_t bcmissu_struct_switch_ha_bcmint_switch_control_value_map_t_v6_5_20 = {
      .offset_get_func = bcmint_switch_control_value_map_t_field_offset_get,
      .generic_size = sizeof(bcmint_switch_control_value_map_t),
      .field_count = 2,
      .fields = bcmissu_fields_bcmint_switch_control_value_map_t,
  };
  
  static const issu_field_t bcmissu_fields_bcmint_switch_control_port_value_map_t[] = {
      {
          .fid = 0x599dcce2,
          .width = sizeof(int),
          .ha_ptr = HA_PTR_NONE,
          .lt_attrib = HA_LT_NONE,
          .ltid_var_for_fid = ISSU_INVALID_FIELD_ID,
          .is_array = false,
          .var_size_id = ISSU_INVALID_FIELD_ID,
          .size = 0,
          .struct_id = ISSU_INVALID_STRUCT_ID,
          .is_local_enum = false,
          .enum_type_name = NULL,
      },
      {
          .fid = 0xcd9adbbb,
          .width = sizeof(int),
          .ha_ptr = HA_PTR_NONE,
          .lt_attrib = HA_LT_NONE,
          .ltid_var_for_fid = ISSU_INVALID_FIELD_ID,
          .is_array = true,
          .size = BCMINT_SWITCH_PBMP_PORT_MAX,
          .var_size_id = ISSU_INVALID_FIELD_ID,
          .struct_id = ISSU_INVALID_STRUCT_ID,
          .is_local_enum = false,
          .enum_type_name = NULL,
      },
  };
  
  static uint32_t bcmint_switch_control_port_value_map_t_field_offset_get (bcmissu_field_id_t field_id)
  {
      bcmint_switch_control_port_value_map_t var;
  
      switch (field_id) {
          case 0x599dcce2:
              return ((uint8_t *)&var.type) - (uint8_t *)&var;
          case 0xcd9adbbb:
              return ((uint8_t *)&var.value) - (uint8_t *)&var;
          default:
              return ISSU_INVALID_FLD_OFFSET;
      }
  }
  
  const issu_struct_t bcmissu_struct_switch_ha_bcmint_switch_control_port_value_map_t_v6_5_20 = {
      .offset_get_func = bcmint_switch_control_port_value_map_t_field_offset_get,
      .generic_size = sizeof(bcmint_switch_control_port_value_map_t),
      .field_count = 2,
      .fields = bcmissu_fields_bcmint_switch_control_port_value_map_t,
  };
  