func: static void eepro100_write2(EEPRO100State * s, uint32_t addr, uint16_t val) switch ( addr )  s -> mem [ SCBAck ] = ( val >> 8 ); eepro100_write1 ( s , SCBIntmask , val >> 8 ); static void eepro100_write1(EEPRO100State * s, uint32_t addr, uint8_t val) if ( addr > SCBStatus && addr <= sizeof ( s -> mem ) - sizeof ( val ) )  s -> mem [ addr ] = val; switch ( addr )  eepro100_write_mdi ( s ); static void eepro100_write_mdi(EEPRO100State *s) uint32_t val = e100_read_reg4 ( s , SCBCtrlMDI ) ; static uint32_t e100_read_reg4(EEPRO100State *s, E100RegisterOffset addr) assert ( ! ( ( uintptr_t ) & s -> mem [ addr ] & 3 ) ); 