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 )  logout ( "addr=%s val=0x%04x\n" , regname ( addr ) , val ); static char *regname(uint32_t addr) static char buf [ 32 ] ; if ( addr < PCI_IO_SIZE )  const char * r = e100_reg [ addr / 4 ] ; if ( r != 0 )  snprintf ( buf , sizeof ( buf ) , "0x%02x" , addr ); 