Lines Matching refs:eth_device

228 static void write_eeprom(struct eth_device *dev, long addr, int location,
231 static int read_eeprom(struct eth_device *dev, long addr, int location);
232 static int mdio_read(struct eth_device *dev, int phy_id, int location);
233 static int natsemi_init(struct eth_device *dev, struct bd_info * bis);
234 static void natsemi_reset(struct eth_device *dev);
235 static void natsemi_init_rxfilter(struct eth_device *dev);
236 static void natsemi_init_txd(struct eth_device *dev);
237 static void natsemi_init_rxd(struct eth_device *dev);
238 static void natsemi_set_rx_mode(struct eth_device *dev);
239 static void natsemi_check_duplex(struct eth_device *dev);
240 static int natsemi_send(struct eth_device *dev, void *packet, int length);
241 static int natsemi_poll(struct eth_device *dev);
242 static void natsemi_disable(struct eth_device *dev);
253 INW(struct eth_device *dev, u_long addr) in INW()
259 INL(struct eth_device *dev, u_long addr) in INL()
265 OUTW(struct eth_device *dev, int command, u_long addr) in OUTW()
271 OUTL(struct eth_device *dev, int command, u_long addr) in OUTL()
294 struct eth_device *dev; in natsemi_initialize()
322 dev = (struct eth_device *) malloc(sizeof *dev); in natsemi_initialize()
437 write_eeprom(struct eth_device *dev, long addr, int location, short value)
496 read_eeprom(struct eth_device *dev, long addr, int location) in read_eeprom()
540 mdio_read(struct eth_device *dev, int phy_id, int location) in mdio_read()
559 natsemi_init(struct eth_device *dev, struct bd_info * bis) in natsemi_init()
604 natsemi_reset(struct eth_device *dev) in natsemi_reset()
634 natsemi_init_rxfilter(struct eth_device *dev) in natsemi_init_rxfilter()
656 natsemi_init_txd(struct eth_device *dev) in natsemi_init_txd()
680 natsemi_init_rxd(struct eth_device *dev) in natsemi_init_rxd()
724 natsemi_set_rx_mode(struct eth_device *dev) in natsemi_set_rx_mode()
732 natsemi_check_duplex(struct eth_device *dev) in natsemi_check_duplex()
756 static int natsemi_send(struct eth_device *dev, void *packet, int length) in natsemi_send()
823 natsemi_poll(struct eth_device *dev) in natsemi_poll()
872 natsemi_disable(struct eth_device *dev) in natsemi_disable()