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

mbist_cpu.h (966B)


      1 /*
      2  * 
      3  * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
      4  * 
      5  * Copyright 2007-2019 Broadcom Inc. All rights reserved.
      6  *
      7  * Struct definitions for structs used in mbist_cpu.c (TR 505)
      8  */
      9 
     10 #define WRITE_TAP_CONTROL 0
     11 #define RESET_TAP_CONTROL 1
     12 #define READ_TAP_CONTROL 2
     13 #define WRITE_TAP_DATA 3
     14 #define WRITE_TAP_DATA_0x40000000 4
     15 #define WRITE_TAP_DATA_0x40000000_LOOP 5
     16 #define READ_TAP_DATA 6
     17 #define MBIST_WAIT 7
     18 #define CHECK_INITIAL_MBIST_STATUS 8
     19 #define CHECK_FINAL_MBIST_STATUS 9
     20 
     21 typedef struct mbist_cpu_s {
     22     char *mbist_name; /* Name of MBIST as it appears in the log */
     23     uint32 total_opcodes;
     24     uint8 *mbist_opcodes;
     25     uint32 *tap_control;
     26     uint32 *tap_data;
     27     uint8 *tap_data_loop_cnt;
     28     uint32 *initial_mbist_status;
     29     uint32 *final_mbist_status;
     30     uint32 waterfall;
     31     uint32 num_mem;
     32     struct mbist_cpu_s *mbist_wf_array;
     33 } mbist_cpu_t;