Lines Matching refs:eth_device
217 static void init_rx_ring (struct eth_device *dev);
218 static void purge_tx_ring (struct eth_device *dev);
220 static void read_hw_addr (struct eth_device *dev, bd_t * bis);
222 static int eepro100_init (struct eth_device *dev, bd_t * bis);
223 static int eepro100_send(struct eth_device *dev, void *packet, int length);
224 static int eepro100_recv (struct eth_device *dev);
225 static void eepro100_halt (struct eth_device *dev);
235 static inline int INW (struct eth_device *dev, u_long addr) in INW()
240 static inline void OUTW (struct eth_device *dev, int command, u_long addr) in OUTW()
245 static inline void OUTL (struct eth_device *dev, int command, u_long addr) in OUTL()
251 static inline int INL (struct eth_device *dev, u_long addr) in INL()
256 static int get_phyreg (struct eth_device *dev, unsigned char addr, in get_phyreg()
279 static int set_phyreg (struct eth_device *dev, unsigned char addr, in set_phyreg()
301 static struct eth_device* verify_phyaddr (const char *devname, in verify_phyaddr()
304 struct eth_device *dev; in verify_phyaddr()
335 struct eth_device *dev; in eepro100_miiphy_read()
352 struct eth_device *dev; in eepro100_miiphy_write()
370 static int wait_for_eepro100 (struct eth_device *dev) in wait_for_eepro100()
394 struct eth_device *dev; in eepro100_initialize()
430 dev = (struct eth_device *) malloc (sizeof *dev); in eepro100_initialize()
477 static int eepro100_init (struct eth_device *dev, bd_t * bis) in eepro100_init()
598 static int eepro100_send(struct eth_device *dev, void *packet, int length) in eepro100_send()
656 static int eepro100_recv (struct eth_device *dev) in eepro100_recv()
722 static void eepro100_halt (struct eth_device *dev) in eepro100_halt()
752 static int read_eeprom (struct eth_device *dev, int location, int addr_len) in read_eeprom()
787 int eepro100_write_eeprom (struct eth_device* dev, int location, int addr_len, unsigned short data) in eepro100_write_eeprom()
873 static void init_rx_ring (struct eth_device *dev) in init_rx_ring()
891 static void purge_tx_ring (struct eth_device *dev) in purge_tx_ring()
912 static void read_hw_addr (struct eth_device *dev, bd_t * bis) in read_hw_addr()