Lines Matching refs:io_base
403 static void TLan_EeSendStart( u16 io_base ) in TLan_EeSendStart() argument
407 outw( TLAN_NET_SIO, io_base + TLAN_DIO_ADR ); in TLan_EeSendStart()
408 sio = io_base + TLAN_DIO_DATA + TLAN_NET_SIO; in TLan_EeSendStart()
440 static int TLan_EeSendByte( u16 io_base, u8 data, int stop ) in TLan_EeSendByte() argument
446 outw( TLAN_NET_SIO, io_base + TLAN_DIO_ADR ); in TLan_EeSendByte()
447 sio = io_base + TLAN_DIO_DATA + TLAN_NET_SIO; in TLan_EeSendByte()
498 static void TLan_EeReceiveByte( u16 io_base, u8 *data, int stop ) in TLan_EeReceiveByte() argument
503 outw( TLAN_NET_SIO, io_base + TLAN_DIO_ADR ); in TLan_EeReceiveByte()
504 sio = io_base + TLAN_DIO_DATA + TLAN_NET_SIO; in TLan_EeReceiveByte()
553 static int TLan_EeReadByte( u16 io_base, u8 ee_addr, u8 *data ) in TLan_EeReadByte() argument
559 TLan_EeSendStart( io_base ); in TLan_EeReadByte()
560 err = TLan_EeSendByte( io_base, 0xA0, TLAN_EEPROM_ACK ); in TLan_EeReadByte()
566 err = TLan_EeSendByte( io_base, ee_addr, TLAN_EEPROM_ACK ); in TLan_EeReadByte()
572 TLan_EeSendStart( io_base ); in TLan_EeReadByte()
573 err = TLan_EeSendByte( io_base, 0xA1, TLAN_EEPROM_ACK ); in TLan_EeReadByte()
579 TLan_EeReceiveByte( io_base, data, TLAN_EEPROM_STOP ); in TLan_EeReadByte()
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 );