Lines Matching refs:io_base
394 * io_base The IO port base address for the
403 static void TLan_EeSendStart( u16 io_base )
407 outw( TLAN_NET_SIO, io_base + TLAN_DIO_ADR );
408 sio = io_base + TLAN_DIO_DATA + TLAN_NET_SIO;
423 * Parms: io_base The IO port base address for the
440 static int TLan_EeSendByte( u16 io_base, u8 data, int stop )
446 outw( TLAN_NET_SIO, io_base + TLAN_DIO_ADR );
447 sio = io_base + TLAN_DIO_DATA + TLAN_NET_SIO;
480 * io_base The IO port base address for the
498 static void TLan_EeReceiveByte( u16 io_base, u8 *data, int stop )
503 outw( TLAN_NET_SIO, io_base + TLAN_DIO_ADR );
504 sio = io_base + TLAN_DIO_DATA + TLAN_NET_SIO;
539 * io_base
553 static int TLan_EeReadByte( u16 io_base, u8 ee_addr, u8 *data )
559 TLan_EeSendStart( io_base );
560 err = TLan_EeSendByte( io_base, 0xA0, TLAN_EEPROM_ACK );
566 err = TLan_EeSendByte( io_base, ee_addr, TLAN_EEPROM_ACK );
572 TLan_EeSendStart( io_base );
573 err = TLan_EeSendByte( io_base, 0xA1, TLAN_EEPROM_ACK );
579 TLan_EeReceiveByte( io_base, data, TLAN_EEPROM_STOP );
3385 * io_base Base IO port of the device of
3393 void TLan_PrintDio( u16 io_base )
3398 printk( "TLAN: Contents of internal registers for io base 0x%04hx.\n", io_base );
3401 data0 = TLan_DioRead32( io_base, i );
3402 data1 = TLan_DioRead32( io_base, i + 0x4 );