@@ -3001,135 +3001,6 @@ void reg_access_hca_mcda_reg_ext_dump(const struct reg_access_hca_mcda_reg_ext *
30013001 reg_access_hca_mcda_reg_ext_print (ptr_struct , fd , 0 );
30023002}
30033003
3004- void reg_access_hca_mcia_ext_pack (const struct reg_access_hca_mcia_ext * ptr_struct , u_int8_t * ptr_buff )
3005- {
3006- u_int32_t offset ;
3007- int i ;
3008-
3009- offset = 24 ;
3010- adb2c_push_bits_to_buff (ptr_buff , offset , 8 , (u_int32_t )ptr_struct -> status );
3011- offset = 16 ;
3012- adb2c_push_bits_to_buff (ptr_buff , offset , 4 , (u_int32_t )ptr_struct -> slot_index );
3013- offset = 8 ;
3014- adb2c_push_bits_to_buff (ptr_buff , offset , 8 , (u_int32_t )ptr_struct -> module );
3015- offset = 2 ;
3016- adb2c_push_bits_to_buff (ptr_buff , offset , 1 , (u_int32_t )ptr_struct -> pnv );
3017- offset = 0 ;
3018- adb2c_push_bits_to_buff (ptr_buff , offset , 1 , (u_int32_t )ptr_struct -> l );
3019- offset = 48 ;
3020- adb2c_push_bits_to_buff (ptr_buff , offset , 16 , (u_int32_t )ptr_struct -> device_address );
3021- offset = 40 ;
3022- adb2c_push_bits_to_buff (ptr_buff , offset , 8 , (u_int32_t )ptr_struct -> page_number );
3023- offset = 32 ;
3024- adb2c_push_bits_to_buff (ptr_buff , offset , 8 , (u_int32_t )ptr_struct -> i2c_device_address );
3025- offset = 80 ;
3026- adb2c_push_bits_to_buff (ptr_buff , offset , 16 , (u_int32_t )ptr_struct -> size );
3027- offset = 72 ;
3028- adb2c_push_bits_to_buff (ptr_buff , offset , 8 , (u_int32_t )ptr_struct -> bank_number );
3029- offset = 68 ;
3030- adb2c_push_bits_to_buff (ptr_buff , offset , 1 , (u_int32_t )ptr_struct -> bg_mode );
3031- offset = 67 ;
3032- adb2c_push_bits_to_buff (ptr_buff , offset , 1 , (u_int32_t )ptr_struct -> passwd_length );
3033- offset = 96 ;
3034- adb2c_push_integer_to_buff (ptr_buff , offset , 4 , (u_int32_t )ptr_struct -> password );
3035- for (i = 0 ; i < 32 ; ++ i ) {
3036- offset = adb2c_calc_array_field_address (128 , 32 , i , 1184 , 1 );
3037- adb2c_push_integer_to_buff (ptr_buff , offset , 4 , (u_int32_t )ptr_struct -> dword [i ]);
3038- }
3039- offset = 1152 ;
3040- adb2c_push_integer_to_buff (ptr_buff , offset , 4 , (u_int32_t )ptr_struct -> password_msb );
3041- }
3042-
3043- void reg_access_hca_mcia_ext_unpack (struct reg_access_hca_mcia_ext * ptr_struct , const u_int8_t * ptr_buff )
3044- {
3045- u_int32_t offset ;
3046- int i ;
3047-
3048- offset = 24 ;
3049- ptr_struct -> status = (u_int8_t )adb2c_pop_bits_from_buff (ptr_buff , offset , 8 );
3050- offset = 16 ;
3051- ptr_struct -> slot_index = (u_int8_t )adb2c_pop_bits_from_buff (ptr_buff , offset , 4 );
3052- offset = 8 ;
3053- ptr_struct -> module = (u_int8_t )adb2c_pop_bits_from_buff (ptr_buff , offset , 8 );
3054- offset = 2 ;
3055- ptr_struct -> pnv = (u_int8_t )adb2c_pop_bits_from_buff (ptr_buff , offset , 1 );
3056- offset = 0 ;
3057- ptr_struct -> l = (u_int8_t )adb2c_pop_bits_from_buff (ptr_buff , offset , 1 );
3058- offset = 48 ;
3059- ptr_struct -> device_address = (u_int16_t )adb2c_pop_bits_from_buff (ptr_buff , offset , 16 );
3060- offset = 40 ;
3061- ptr_struct -> page_number = (u_int8_t )adb2c_pop_bits_from_buff (ptr_buff , offset , 8 );
3062- offset = 32 ;
3063- ptr_struct -> i2c_device_address = (u_int8_t )adb2c_pop_bits_from_buff (ptr_buff , offset , 8 );
3064- offset = 80 ;
3065- ptr_struct -> size = (u_int16_t )adb2c_pop_bits_from_buff (ptr_buff , offset , 16 );
3066- offset = 72 ;
3067- ptr_struct -> bank_number = (u_int8_t )adb2c_pop_bits_from_buff (ptr_buff , offset , 8 );
3068- offset = 68 ;
3069- ptr_struct -> bg_mode = (u_int8_t )adb2c_pop_bits_from_buff (ptr_buff , offset , 1 );
3070- offset = 67 ;
3071- ptr_struct -> passwd_length = (u_int8_t )adb2c_pop_bits_from_buff (ptr_buff , offset , 1 );
3072- offset = 96 ;
3073- ptr_struct -> password = (u_int32_t )adb2c_pop_integer_from_buff (ptr_buff , offset , 4 );
3074- for (i = 0 ; i < 32 ; ++ i ) {
3075- offset = adb2c_calc_array_field_address (128 , 32 , i , 1184 , 1 );
3076- ptr_struct -> dword [i ] = (u_int32_t )adb2c_pop_integer_from_buff (ptr_buff , offset , 4 );
3077- }
3078- offset = 1152 ;
3079- ptr_struct -> password_msb = (u_int32_t )adb2c_pop_integer_from_buff (ptr_buff , offset , 4 );
3080- }
3081-
3082- void reg_access_hca_mcia_ext_print (const struct reg_access_hca_mcia_ext * ptr_struct , FILE * fd , int indent_level )
3083- {
3084- int i ;
3085-
3086- adb2c_add_indentation (fd , indent_level );
3087- fprintf (fd , "======== reg_access_hca_mcia_ext ========\n" );
3088-
3089- adb2c_add_indentation (fd , indent_level );
3090- fprintf (fd , "status : " UH_FMT "\n" , ptr_struct -> status );
3091- adb2c_add_indentation (fd , indent_level );
3092- fprintf (fd , "slot_index : " UH_FMT "\n" , ptr_struct -> slot_index );
3093- adb2c_add_indentation (fd , indent_level );
3094- fprintf (fd , "module : " UH_FMT "\n" , ptr_struct -> module );
3095- adb2c_add_indentation (fd , indent_level );
3096- fprintf (fd , "pnv : " UH_FMT "\n" , ptr_struct -> pnv );
3097- adb2c_add_indentation (fd , indent_level );
3098- fprintf (fd , "l : " UH_FMT "\n" , ptr_struct -> l );
3099- adb2c_add_indentation (fd , indent_level );
3100- fprintf (fd , "device_address : " UH_FMT "\n" , ptr_struct -> device_address );
3101- adb2c_add_indentation (fd , indent_level );
3102- fprintf (fd , "page_number : " UH_FMT "\n" , ptr_struct -> page_number );
3103- adb2c_add_indentation (fd , indent_level );
3104- fprintf (fd , "i2c_device_address : " UH_FMT "\n" , ptr_struct -> i2c_device_address );
3105- adb2c_add_indentation (fd , indent_level );
3106- fprintf (fd , "size : " UH_FMT "\n" , ptr_struct -> size );
3107- adb2c_add_indentation (fd , indent_level );
3108- fprintf (fd , "bank_number : " UH_FMT "\n" , ptr_struct -> bank_number );
3109- adb2c_add_indentation (fd , indent_level );
3110- fprintf (fd , "bg_mode : " UH_FMT "\n" , ptr_struct -> bg_mode );
3111- adb2c_add_indentation (fd , indent_level );
3112- fprintf (fd , "passwd_length : " UH_FMT "\n" , ptr_struct -> passwd_length );
3113- adb2c_add_indentation (fd , indent_level );
3114- fprintf (fd , "password : " U32H_FMT "\n" , ptr_struct -> password );
3115- for (i = 0 ; i < 32 ; ++ i ) {
3116- adb2c_add_indentation (fd , indent_level );
3117- fprintf (fd , "dword_%03d : " U32H_FMT "\n" , i , ptr_struct -> dword [i ]);
3118- }
3119- adb2c_add_indentation (fd , indent_level );
3120- fprintf (fd , "password_msb : " U32H_FMT "\n" , ptr_struct -> password_msb );
3121- }
3122-
3123- unsigned int reg_access_hca_mcia_ext_size (void )
3124- {
3125- return REG_ACCESS_HCA_MCIA_EXT_SIZE ;
3126- }
3127-
3128- void reg_access_hca_mcia_ext_dump (const struct reg_access_hca_mcia_ext * ptr_struct , FILE * fd )
3129- {
3130- reg_access_hca_mcia_ext_print (ptr_struct , fd , 0 );
3131- }
3132-
31333004void reg_access_hca_mcqi_reg_ext_pack (const struct reg_access_hca_mcqi_reg_ext * ptr_struct , u_int8_t * ptr_buff )
31343005{
31353006 u_int32_t offset ;
@@ -7030,9 +6901,6 @@ void reg_access_hca_reg_access_hca_Nodes_print(const union reg_access_hca_reg_ac
70306901 fprintf (fd , "mcqi_reg_ext:\n" );
70316902 reg_access_hca_mcqi_reg_ext_print (& (ptr_struct -> mcqi_reg_ext ), fd , indent_level + 1 );
70326903 adb2c_add_indentation (fd , indent_level );
7033- fprintf (fd , "mcia_ext:\n" );
7034- reg_access_hca_mcia_ext_print (& (ptr_struct -> mcia_ext ), fd , indent_level + 1 );
7035- adb2c_add_indentation (fd , indent_level );
70366904 fprintf (fd , "mcc_reg_ext:\n" );
70376905 reg_access_hca_mcc_reg_ext_print (& (ptr_struct -> mcc_reg_ext ), fd , indent_level + 1 );
70386906 adb2c_add_indentation (fd , indent_level );
0 commit comments