func: static void eepro100_write(void *opaque, hwaddr uint64_t data, unsigned size) EEPRO100State * s = opaque ; switch ( size )  eepro100_write2 ( s , addr , data ); static void eepro100_write2(EEPRO100State * s, uint32_t addr, uint16_t val) switch ( addr )  s -> mem [ SCBAck ] = ( val >> 8 ); eepro100_write_command ( s , val ); static void eepro100_write_command(EEPRO100State * s, uint8_t val) eepro100_cu_command ( s , val & 0xf0 ); static void eepro100_cu_command(EEPRO100State * s, uint8_t val) switch ( val )  s -> cu_offset = e100_read_reg4 ( s , SCBPointer ); s -> statsaddr = e100_read_reg4 ( s , SCBPointer ); if ( s -> statsaddr & 3 )  s -> statsaddr &= ~3; s -> cu_base = e100_read_reg4 ( s , SCBPointer ); memset ( & s -> statistics , 0 , sizeof ( s -> statistics ) ); 