openbcm

Git mirror of https://github.com/Broadcom-Network-Switching-Software/OpenBCM
git clone git://git.finwo.net/mirror/broadcom/openbcm
Log | Files | Refs | README

allregs_main.c (2568B)


      1 /*
      2  * DO NOT EDIT THIS FILE!
      3  * This file is auto-generated from the registers file.
      4  * Edits to this file will be lost when it is regenerated.
      5  *
      6  * 
      7  * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
      8  * 
      9  * Copyright 2007-2020 Broadcom Inc. All rights reserved.
     10  *
     11  * File:        allregs_main.c
     12  * Purpose:     Main file for individual register descriptions.
     13  */
     14 
     15 #define SOC_MCM_USE_FIELD_DATA /* needed for the soc_field_info_t variable declarations in include/soc/mcm/allfields.h */
     16 #include <soc/types.h>
     17 #include <soc/mcm/allenum.h>
     18 #include <soc/mcm/intenum.h>
     19 #include <soc/mcm/memregs.h>
     20 
     21 /* Support no reset values/masks w/o diag shell */
     22 
     23 #if !defined(SOC_NO_RESET_VALS)
     24     #define SOC_RESET_VAL_DEC(_lo, _hi) _lo, _hi,
     25     #define SOC_RESET_MASK_DEC(_lo, _hi) _lo, _hi,
     26 #else
     27     #define SOC_RESET_VAL_DEC(_lo, _hi)
     28     #define SOC_RESET_MASK_DEC(_lo, _hi)
     29 #endif
     30 
     31 extern int soc_block_list[][5];
     32 
     33 /*
     34  * The array soc_reg_list is indexed by soc_reg_int_t; it describes
     35  * all versions of registers for all chips.  Chip register arrays index
     36  * into this summary.
     37  */
     38 
     39 soc_reg_info_t soc_reg_list[] = {
     40 #include "allregs_a.i"
     41 #include "allregs_b.i"
     42 #include "allregs_c.i"
     43 #include "allregs_d.i"
     44 #include "allregs_e.i"
     45 #include "allregs_f.i"
     46 #include "allregs_g.i"
     47 #include "allregs_h.i"
     48 #include "allregs_i.i"
     49 #include "allregs_j.i"
     50 #include "allregs_k.i"
     51 #include "allregs_l.i"
     52 #include "allregs_m.i"
     53 #include "allregs_n.i"
     54 #include "allregs_o.i"
     55 #include "allregs_p.i"
     56 #include "allregs_q.i"
     57 #include "allregs_r.i"
     58 #include "allregs_s.i"
     59 #include "allregs_t.i"
     60 #include "allregs_u.i"
     61 #include "allregs_v.i"
     62 #include "allregs_w.i"
     63 #include "allregs_x.i"
     64 #include "allregs_y.i"
     65 #include "allregs_z.i"
     66     {0} /* Extra empty entry for compiler */
     67 
     68 }; /* soc_reg_list array */
     69 
     70 /*
     71  * The arrays soc_reg_name, soc_reg_alias and soc_reg_desc are indexed
     72  * by soc_reg_t like the chip specific register arrays.
     73  */
     74 #if !defined(SOC_NO_NAMES)
     75 char *soc_reg_name[] = {
     76 #include "allregs_names.i"
     77     "" /* Extra null entry for compiler */
     78 }; /* soc_reg_name array */
     79 #endif /* !defined(SOC_NO_NAMES) */
     80 
     81 #if !defined(SOC_NO_ALIAS)
     82 char *soc_reg_alias[] = {
     83 #include "allregs_alias.i"
     84     "" /* Extra null entry for compiler */
     85 }; /* soc_reg_alias array */
     86 #endif /* !defined(SOC_NO_ALIAS) */
     87 
     88 #if !defined(SOC_NO_DESC)
     89 char *soc_reg_desc[] = {
     90 #include "allregs_desc.i"
     91     "" /* Extra null entry for compiler */
     92 }; /* soc_reg_desc array */
     93 #endif /* !defined(SOC_NO_DESC) */
     94