00001 #ifndef crbdef_h 00002 #define crbdef_h 00003 00004 #define CRB_M_XZA_CHAN0 0x1 00005 #define CRB_M_XZA_CHAN1 0x2 00006 #define CRB_M_XZA_ADPERR 0x4 00007 #define CRB_M_BSY 0x1 00008 #define CRB_M_UNINIT 0x2 00009 #define CRB_K_VEC1_OFFSET 112 00010 #define CRB_K_LENGTH 128 00011 #define CRB_C_LENGTH 128 00012 00013 #define CRB_S_CRBDEF 144 00014 00015 struct _crb { 00016 struct _fkb *crb_l_fqfl; 00017 struct _fkb *crb_l_fqbl; 00018 unsigned short int crb_w_size; 00019 unsigned char crb_b_type; 00020 unsigned char crb_b_flck; 00021 void (*crb_l_fpc)(); 00022 unsigned long crb_l_fr3; 00023 unsigned long crb_l_fr4; 00024 struct _fkb *crb_l_wqfl; 00025 struct _fkb *crb_l_wqbl; 00026 union { 00027 union { 00028 unsigned char crb_b_tt_type; 00029 unsigned int crb_l_tt_type; 00030 }; 00031 unsigned int crb_l_xza_sts; 00032 struct { 00033 unsigned crb_v_xza_chan0 : 1; 00034 unsigned crb_v_xza_chan1 : 1; 00035 unsigned crb_v_xza_adperr : 1; 00036 unsigned crb_v_fill_0_ : 5; 00037 }; 00038 }; 00039 union { 00040 unsigned int crb_l_refc; 00041 unsigned short int crb_w_refc; 00042 }; 00043 union { 00044 unsigned char crb_b_mask; 00045 unsigned int crb_l_mask; 00046 struct { 00047 unsigned crb_v_bsy : 1; 00048 unsigned crb_v_uninit : 1; 00049 unsigned crb_v_fill_1_ : 6; 00050 }; 00051 }; 00052 void *crb_ps_busarray; 00053 union { 00054 long long crb_q_auxstruc; 00055 unsigned int crb_l_auxstruc; 00056 void *crb_ps_auxstruc; 00057 }; 00058 union { 00059 long long crb_q_lan_struc; 00060 unsigned int crb_l_lan_struc; 00061 void *crb_ps_lan_struc; 00062 }; 00063 union { 00064 long long crb_q_scs_struc; 00065 unsigned int crb_l_scs_struc; 00066 void *crb_ps_scs_struc; 00067 }; 00068 union { 00069 struct _crb *crb_l_timelink; 00070 void *crb_l_tt_modem; 00071 }; 00072 unsigned int crb_l_node; 00073 union { 00074 unsigned int crb_l_duetime; 00075 void *crb_ps_sysg_dblk; 00076 }; 00077 union { 00078 void (*crb_l_toutrout)(); 00079 unsigned int crb_l_tt_timrefc; 00080 }; 00081 struct _spl *crb_ps_dlck; 00082 struct _crb *crb_ps_crb_link; 00083 union { 00084 long long crb_q_ctrlr_shutdown; 00085 int (*crb_ps_ctrlr_shutdown)(); 00086 }; 00087 unsigned int crb_l_intd [4]; 00088 unsigned int crb_l_intd2 [4]; 00089 }; 00090 00091 #endif 00092 00093