/*******************************************************************************
 *
 * DO NOT EDIT THIS FILE!
 * This file is auto-generated by fltg from Logical Table mapping files.
 *
 * Tool: $SDK/INTERNAL/fltg/bin/fltg
 *
 * Edits to this file will be lost when it is regenerated.
 *
 * 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.
 */
/* Logical Table Adaptor for component bcmltx */
/* Handler: bcm56990_a0_lta_bcmltx_lb_hash_bin_udf_chunk_mask_xfrm_handler */
#include <bcmlrd/bcmlrd_types.h>
#include <bcmltd/chip/bcmltd_id.h>
#include <bcmltx/bcmlb/bcmltx_lb_hash_bin_udf_chunk_mask.h>
#include <bcmdrd/chip/bcm56990_a0_enum.h>
#include <bcmlrd/chip/bcm56990_a0/bcm56990_a0_lrd_xfrm_field_desc.h>

extern const bcmltd_field_desc_t
bcm56990_a0_lrd_bcmltx_lb_hash_bin_udf_chunk_mask_src_field_desc_s0[];

static const bcmltd_field_desc_t
bcm56990_a0_lta_bcmltx_lb_hash_bin_udf_chunk_mask_dst_field_desc_d0[11] = {
    {
        .field_id  = BCMLTD_INTERNAL_FIELD_BASE + 34,
        .field_idx = 0,
        .minbit    = 32,
        .maxbit    = 47,
        .entry_idx = 1,
        .sym       = "UDF_CONDITIONAL_CHECK_TABLE_RAM_1m.FIELD_3_MASKf.ENTRY1",
        .reserved  = 0
    },
    {
        .field_id  = BCMLTD_INTERNAL_FIELD_BASE + 35,
        .field_idx = 0,
        .minbit    = 48,
        .maxbit    = 63,
        .entry_idx = 1,
        .sym       = "UDF_CONDITIONAL_CHECK_TABLE_RAM_1m.FIELD_4_MASKf.ENTRY1",
        .reserved  = 0
    },
    {
        .field_id  = BCMLTD_INTERNAL_FIELD_BASE + 36,
        .field_idx = 0,
        .minbit    = 64,
        .maxbit    = 79,
        .entry_idx = 1,
        .sym       = "UDF_CONDITIONAL_CHECK_TABLE_RAM_1m.FIELD_5_MASKf.ENTRY1",
        .reserved  = 0
    },
    {
        .field_id  = BCMLTD_INTERNAL_FIELD_BASE + 37,
        .field_idx = 0,
        .minbit    = 80,
        .maxbit    = 95,
        .entry_idx = 1,
        .sym       = "UDF_CONDITIONAL_CHECK_TABLE_RAM_1m.FIELD_6_MASKf.ENTRY1",
        .reserved  = 0
    },
    {
        .field_id  = BCMLTD_INTERNAL_FIELD_BASE + 38,
        .field_idx = 0,
        .minbit    = 96,
        .maxbit    = 111,
        .entry_idx = 1,
        .sym       = "UDF_CONDITIONAL_CHECK_TABLE_RAM_1m.FIELD_7_MASKf.ENTRY1",
        .reserved  = 0
    },
    {
        .field_id  = BCMLTD_INTERNAL_FIELD_BASE + 39,
        .field_idx = 0,
        .minbit    = 112,
        .maxbit    = 127,
        .entry_idx = 1,
        .sym       = "UDF_CONDITIONAL_CHECK_TABLE_RAM_1m.FIELD_8_MASKf.ENTRY1",
        .reserved  = 0
    },
    {
        .field_id  = BCMLTD_INTERNAL_FIELD_BASE + 40,
        .field_idx = 0,
        .minbit    = 128,
        .maxbit    = 143,
        .entry_idx = 1,
        .sym       = "UDF_CONDITIONAL_CHECK_TABLE_RAM_1m.FIELD_9_MASKf.ENTRY1",
        .reserved  = 0
    },
    {
        .field_id  = BCMLTD_INTERNAL_FIELD_BASE + 41,
        .field_idx = 0,
        .minbit    = 144,
        .maxbit    = 159,
        .entry_idx = 1,
        .sym       = "UDF_CONDITIONAL_CHECK_TABLE_RAM_1m.FIELD_10_MASKf.ENTRY1",
        .reserved  = 0
    },
    {
        .field_id  = BCMLTD_INTERNAL_FIELD_BASE + 42,
        .field_idx = 0,
        .minbit    = 160,
        .maxbit    = 175,
        .entry_idx = 1,
        .sym       = "UDF_CONDITIONAL_CHECK_TABLE_RAM_1m.FIELD_11_MASKf.ENTRY1",
        .reserved  = 0
    },
    {
        .field_id  = BCMLTD_INTERNAL_FIELD_BASE + 43,
        .field_idx = 0,
        .minbit    = 176,
        .maxbit    = 191,
        .entry_idx = 1,
        .sym       = "UDF_CONDITIONAL_CHECK_TABLE_RAM_1m.FIELD_12_MASKf.ENTRY1",
        .reserved  = 0
    },
    {
        .field_id  = BCMLTD_INTERNAL_FIELD_BASE + 44,
        .field_idx = 0,
        .minbit    = 192,
        .maxbit    = 207,
        .entry_idx = 1,
        .sym       = "UDF_CONDITIONAL_CHECK_TABLE_RAM_1m.FIELD_13_MASKf.ENTRY1",
        .reserved  = 0
    },
};

static const
bcmltd_field_list_t
bcm56990_a0_lta_bcmltx_lb_hash_bin_udf_chunk_mask_src_list_s0 = {
    .field_num = 1,
    .field_array = bcm56990_a0_lrd_bcmltx_lb_hash_bin_udf_chunk_mask_src_field_desc_s0
};

static const bcmltd_field_list_t
bcm56990_a0_lta_bcmltx_lb_hash_bin_udf_chunk_mask_dst_list_d0 = {
    .field_num = 11,
    .field_array = bcm56990_a0_lta_bcmltx_lb_hash_bin_udf_chunk_mask_dst_field_desc_d0
};

static const uint32_t
bcm56990_a0_lta_bcmltx_lb_hash_bin_udf_chunk_mask_transform_src_s0[1] = {
    LB_HASH_FLEX_FIELDS_SELECTIONt_BIN_FIELD_MASKf,
};

static const uint32_t
bcm56990_a0_lta_bcmltx_lb_hash_bin_udf_chunk_mask_transform_dst_d0[11] = {
    BCMLTD_INTERNAL_FIELD_BASE + 34,
    BCMLTD_INTERNAL_FIELD_BASE + 35,
    BCMLTD_INTERNAL_FIELD_BASE + 36,
    BCMLTD_INTERNAL_FIELD_BASE + 37,
    BCMLTD_INTERNAL_FIELD_BASE + 38,
    BCMLTD_INTERNAL_FIELD_BASE + 39,
    BCMLTD_INTERNAL_FIELD_BASE + 40,
    BCMLTD_INTERNAL_FIELD_BASE + 41,
    BCMLTD_INTERNAL_FIELD_BASE + 42,
    BCMLTD_INTERNAL_FIELD_BASE + 43,
    BCMLTD_INTERNAL_FIELD_BASE + 44,
};

static const bcmltd_generic_arg_t
bcm56990_a0_lta_bcmltx_lb_hash_bin_udf_chunk_mask_comp_data = {
    .sid       = LB_HASH_FLEX_FIELDS_SELECTIONt,
    .values    = 0,
    .value     = NULL,
    .user_data = NULL
};

static const bcmltd_transform_arg_t
bcm56990_a0_lta_bcmltx_lb_hash_bin_udf_chunk_mask_xfrm_handler_fwd_arg_s0_d0 = {
    .values      = 0,
    .value       = NULL,
    .tables      = 0,
    .table       = NULL,
    .fields      = 1,
    .field       = bcm56990_a0_lta_bcmltx_lb_hash_bin_udf_chunk_mask_transform_src_s0,
    .field_list  = &bcm56990_a0_lta_bcmltx_lb_hash_bin_udf_chunk_mask_src_list_s0,
    .rfields     = 11,
    .rfield      = bcm56990_a0_lta_bcmltx_lb_hash_bin_udf_chunk_mask_transform_dst_d0,
    .rfield_list = &bcm56990_a0_lta_bcmltx_lb_hash_bin_udf_chunk_mask_dst_list_d0,
    .comp_data   = &bcm56990_a0_lta_bcmltx_lb_hash_bin_udf_chunk_mask_comp_data
};

static const bcmltd_transform_arg_t
bcm56990_a0_lta_bcmltx_lb_hash_bin_udf_chunk_mask_xfrm_handler_rev_arg_s0_d0 = {
    .values      = 0,
    .value       = NULL,
    .tables      = 0,
    .table       = NULL,
    .fields      = 11,
    .field       = bcm56990_a0_lta_bcmltx_lb_hash_bin_udf_chunk_mask_transform_dst_d0,
    .field_list  = &bcm56990_a0_lta_bcmltx_lb_hash_bin_udf_chunk_mask_dst_list_d0,
    .rfields     = 1,
    .rfield      = bcm56990_a0_lta_bcmltx_lb_hash_bin_udf_chunk_mask_transform_src_s0,
    .rfield_list = &bcm56990_a0_lta_bcmltx_lb_hash_bin_udf_chunk_mask_src_list_s0,
    .comp_data   = &bcm56990_a0_lta_bcmltx_lb_hash_bin_udf_chunk_mask_comp_data
};

const bcmltd_xfrm_handler_t
bcm56990_a0_lta_bcmltx_lb_hash_bin_udf_chunk_mask_xfrm_handler_fwd_s0_d0 = {
    .transform     = bcmltx_lb_hash_bin_udf_chunk_mask_transform,
    .arg           = &bcm56990_a0_lta_bcmltx_lb_hash_bin_udf_chunk_mask_xfrm_handler_fwd_arg_s0_d0
};

const bcmltd_xfrm_handler_t
bcm56990_a0_lta_bcmltx_lb_hash_bin_udf_chunk_mask_xfrm_handler_rev_s0_d0 = {
    .transform     = bcmltx_lb_hash_bin_udf_chunk_mask_rev_transform,
    .arg           = &bcm56990_a0_lta_bcmltx_lb_hash_bin_udf_chunk_mask_xfrm_handler_rev_arg_s0_d0
};


