Lines Matching refs:eth_device
251 static int mdio_read(struct eth_device *dev, int phy_id, int addr);
252 static void mdio_write(struct eth_device *dev, int phy_id, int addr, int value);
253 static void mdio_sync(struct eth_device *dev, u32 offset);
254 static int ns8382x_init(struct eth_device *dev, bd_t * bis);
255 static void ns8382x_reset(struct eth_device *dev);
256 static void ns8382x_init_rxfilter(struct eth_device *dev);
257 static void ns8382x_init_txd(struct eth_device *dev);
258 static void ns8382x_init_rxd(struct eth_device *dev);
259 static void ns8382x_set_rx_mode(struct eth_device *dev);
260 static void ns8382x_check_duplex(struct eth_device *dev);
261 static int ns8382x_send(struct eth_device *dev, void *packet, int length);
262 static int ns8382x_poll(struct eth_device *dev);
263 static void ns8382x_disable(struct eth_device *dev);
274 INW(struct eth_device *dev, u_long addr) in INW()
280 INL(struct eth_device *dev, u_long addr) in INL()
286 OUTW(struct eth_device *dev, int command, u_long addr) in OUTW()
292 OUTL(struct eth_device *dev, int command, u_long addr) in OUTL()
310 struct eth_device *dev; in ns8382x_initialize()
339 dev = (struct eth_device *) malloc(sizeof *dev); in ns8382x_initialize()
459 mdio_sync(struct eth_device *dev, u32 offset) in mdio_sync()
473 mdio_read(struct eth_device *dev, int phy_id, int addr) in mdio_read()
500 mdio_write(struct eth_device *dev, int phy_id, int addr, int value) in mdio_write()
532 ns8382x_init(struct eth_device *dev, bd_t * bis) in ns8382x_init()
584 ns8382x_reset(struct eth_device *dev) in ns8382x_reset()
600 ns8382x_init_rxfilter(struct eth_device *dev) in ns8382x_init_rxfilter()
618 ns8382x_init_txd(struct eth_device *dev) in ns8382x_init_txd()
639 ns8382x_init_rxd(struct eth_device *dev) in ns8382x_init_rxd()
676 ns8382x_set_rx_mode(struct eth_device *dev) in ns8382x_set_rx_mode()
692 ns8382x_check_duplex(struct eth_device *dev) in ns8382x_check_duplex()
737 static int ns8382x_send(struct eth_device *dev, void *packet, int length) in ns8382x_send()
796 ns8382x_poll(struct eth_device *dev) in ns8382x_poll()
842 ns8382x_disable(struct eth_device *dev) in ns8382x_disable()