Lines Matching refs:eth_device
250 static int mdio_read(struct eth_device *dev, int phy_id, int addr);
251 static void mdio_write(struct eth_device *dev, int phy_id, int addr, int value);
252 static void mdio_sync(struct eth_device *dev, u32 offset);
253 static int ns8382x_init(struct eth_device *dev, bd_t * bis);
254 static void ns8382x_reset(struct eth_device *dev);
255 static void ns8382x_init_rxfilter(struct eth_device *dev);
256 static void ns8382x_init_txd(struct eth_device *dev);
257 static void ns8382x_init_rxd(struct eth_device *dev);
258 static void ns8382x_set_rx_mode(struct eth_device *dev);
259 static void ns8382x_check_duplex(struct eth_device *dev);
260 static int ns8382x_send(struct eth_device *dev, void *packet, int length);
261 static int ns8382x_poll(struct eth_device *dev);
262 static void ns8382x_disable(struct eth_device *dev);
273 INW(struct eth_device *dev, u_long addr) in INW()
279 INL(struct eth_device *dev, u_long addr) in INL()
285 OUTW(struct eth_device *dev, int command, u_long addr) in OUTW()
291 OUTL(struct eth_device *dev, int command, u_long addr) in OUTL()
309 struct eth_device *dev; in ns8382x_initialize()
338 dev = (struct eth_device *) malloc(sizeof *dev); in ns8382x_initialize()
458 mdio_sync(struct eth_device *dev, u32 offset) in mdio_sync()
472 mdio_read(struct eth_device *dev, int phy_id, int addr) in mdio_read()
499 mdio_write(struct eth_device *dev, int phy_id, int addr, int value) in mdio_write()
531 ns8382x_init(struct eth_device *dev, bd_t * bis) in ns8382x_init()
583 ns8382x_reset(struct eth_device *dev) in ns8382x_reset()
599 ns8382x_init_rxfilter(struct eth_device *dev) in ns8382x_init_rxfilter()
617 ns8382x_init_txd(struct eth_device *dev) in ns8382x_init_txd()
638 ns8382x_init_rxd(struct eth_device *dev) in ns8382x_init_rxd()
675 ns8382x_set_rx_mode(struct eth_device *dev) in ns8382x_set_rx_mode()
691 ns8382x_check_duplex(struct eth_device *dev) in ns8382x_check_duplex()
736 static int ns8382x_send(struct eth_device *dev, void *packet, int length) in ns8382x_send()
795 ns8382x_poll(struct eth_device *dev) in ns8382x_poll()
841 ns8382x_disable(struct eth_device *dev) in ns8382x_disable()