Lines Matching full:u16
326 typedef unsigned short u16;
331 inline u8 TLan_DioRead8(u16 base_addr, u16 internal_addr)
338 inline u16 TLan_DioRead16(u16 base_addr, u16 internal_addr)
345 inline u32 TLan_DioRead32(u16 base_addr, u16 internal_addr)
352 inline void TLan_DioWrite8(u16 base_addr, u16 internal_addr, u8 data)
359 inline void TLan_DioWrite16(u16 base_addr, u16 internal_addr, u16 data)
366 inline void TLan_DioWrite32(u16 base_addr, u16 internal_addr, u32 data)
403 static void TLan_EeSendStart( u16 io_base )
405 u16 sio;
440 static int TLan_EeSendByte( u16 io_base, u8 data, int stop )
444 u16 sio;
498 static void TLan_EeReceiveByte( u16 io_base, u8 *data, int stop )
501 u16 sio;
553 static int TLan_EeReadByte( u16 io_base, u8 ee_addr, u8 *data )
612 u16 i, data0, data1, data2, data3, phy;
658 u16 control;
659 u16 hi;
660 u16 lo;
702 u16 value;
724 u16 value;
742 u16 phy;
743 u16 value;
767 u16 ability;
768 u16 control;
769 u16 data;
770 u16 phy;
771 u16 status;
772 u16 tctl;
851 u16 an_adv;
852 u16 an_lpa;
853 u16 data;
854 u16 mode;
855 u16 phy;
856 u16 status;
935 u16 phy;
936 u16 phy_status;
1002 int TLan_MiiReadReg( struct net_device *dev, u16 phy, u16 reg, u16 *val )
1005 u16 sio, tmp;
1087 void TLan_MiiSendData( u16 base_port, u32 data, unsigned num_bits )
1089 u16 sio;
1126 void TLan_MiiSync( u16 base_port )
1129 u16 sio;
1162 void TLan_MiiWriteReg( struct net_device *dev, u16 phy, u16 reg, u16 val )
1164 u16 sio;
1295 u16 vendorId;
1296 u16 deviceId;
1299 u16 addrOfs;
1331 u16 cStat;
1332 u16 frameSize;
1662 typedef u32 (TLanIntVectorFunc)( struct net_device *, u16 );
1714 u16 addrOfs;
1779 static u32 TLan_HandleInvalid( struct net_device *, u16 );
1780 static u32 TLan_HandleTxEOF( struct net_device *, u16 );
1781 static u32 TLan_HandleStatOverflow( struct net_device *, u16 );
1782 static u32 TLan_HandleRxEOF( struct net_device *, u16 );
1783 static u32 TLan_HandleDummy( struct net_device *, u16 );
1784 static u32 TLan_HandleTxEOC( struct net_device *, u16 );
1785 static u32 TLan_HandleStatusCheck( struct net_device *, u16 );
1786 static u32 TLan_HandleRxEOC( struct net_device *, u16 );
1792 static void TLan_PrintDio( u16 );
1817 static int TLan_MiiReadReg( struct net_device *, u16, u16, u16 * );
1818 static void TLan_MiiSendData( u16, u32, unsigned );
1819 static void TLan_MiiSync( u16 );
1820 static void TLan_MiiWriteReg( struct net_device *, u16, u16, u16 );
1822 static void TLan_EeSendStart( u16 );
1823 static int TLan_EeSendByte( u16, u8, int );
1824 static void TLan_EeReceiveByte( u16, u8 *, int );
1984 u16 device_id;
2155 u16 device_id;
2492 tail_list->frameSize = (u16) skb->len + pad;
2497 tail_list->frameSize = (u16) skb->len;
2556 u16 host_int;
2749 u32 TLan_HandleInvalid( struct net_device *dev, u16 host_int )
2778 u32 TLan_HandleTxEOF( struct net_device *dev, u16 host_int )
2784 u16 tmpCStat;
2856 u32 TLan_HandleStatOverflow( struct net_device *dev, u16 host_int )
2889 u32 TLan_HandleRxEOF( struct net_device *dev, u16 host_int )
2900 u16 tmpCStat;
3018 u32 TLan_HandleDummy( struct net_device *dev, u16 host_int )
3045 u32 TLan_HandleTxEOC( struct net_device *dev, u16 host_int )
3088 u32 TLan_HandleStatusCheck( struct net_device *dev, u16 host_int )
3095 u16 tlphy_ctl;
3096 u16 tlphy_sts;
3161 u32 TLan_HandleRxEOC( struct net_device *dev, u16 host_int )
3393 void TLan_PrintDio( u16 io_base )
3558 TLan_DioWrite32( dev->base_addr, (u16) i, 0 );
3564 TLan_DioWrite16( dev->base_addr, TLAN_NET_CONFIG, (u16) data );
3601 TLan_DioWrite16( dev->base_addr, TLAN_NET_CONFIG, (u16) data );
3618 u16 status;
3619 u16 partner;
3620 u16 tlphy_ctl;
3621 u16 tlphy_par;
3622 u16 tlphy_id1, tlphy_id2;