Lines Matching refs:ethoc
198 struct ethoc { struct
237 static inline u32 ethoc_read(struct ethoc *dev, loff_t offset) in ethoc_read() argument
245 static inline void ethoc_write(struct ethoc *dev, loff_t offset, u32 data) in ethoc_write()
253 static inline void ethoc_read_bd(struct ethoc *dev, int index, in ethoc_read_bd()
261 static inline void ethoc_write_bd(struct ethoc *dev, int index, in ethoc_write_bd()
269 static inline void ethoc_enable_irq(struct ethoc *dev, u32 mask) in ethoc_enable_irq()
276 static inline void ethoc_disable_irq(struct ethoc *dev, u32 mask) in ethoc_disable_irq()
283 static inline void ethoc_ack_irq(struct ethoc *dev, u32 mask) in ethoc_ack_irq()
288 static inline void ethoc_enable_rx_and_tx(struct ethoc *dev) in ethoc_enable_rx_and_tx()
295 static inline void ethoc_disable_rx_and_tx(struct ethoc *dev) in ethoc_disable_rx_and_tx()
302 static int ethoc_init_ring(struct ethoc *dev, unsigned long mem_start) in ethoc_init_ring()
346 static int ethoc_reset(struct ethoc *dev) in ethoc_reset()
373 static unsigned int ethoc_update_rx_stats(struct ethoc *dev, in ethoc_update_rx_stats()
422 struct ethoc *priv = netdev_priv(dev); in ethoc_rx()
480 static void ethoc_update_tx_stats(struct ethoc *dev, struct ethoc_bd *bd) in ethoc_update_tx_stats()
514 struct ethoc *priv = netdev_priv(dev); in ethoc_tx()
553 struct ethoc *priv = netdev_priv(dev); in ethoc_interrupt()
591 struct ethoc *priv = netdev_priv(dev); in ethoc_get_mac_address()
610 struct ethoc *priv = container_of(napi, struct ethoc, napi); in ethoc_poll()
627 struct ethoc *priv = bus->priv; in ethoc_mdio_read()
649 struct ethoc *priv = bus->priv; in ethoc_mdio_write()
671 struct ethoc *priv = netdev_priv(dev); in ethoc_mdio_poll()
701 struct ethoc *priv = netdev_priv(dev); in ethoc_mdio_probe()
728 struct ethoc *priv = netdev_priv(dev); in ethoc_open()
764 struct ethoc *priv = netdev_priv(dev); in ethoc_stop()
782 struct ethoc *priv = netdev_priv(dev); in ethoc_ioctl()
806 struct ethoc *priv = netdev_priv(dev); in ethoc_do_set_mac_address()
826 struct ethoc *priv = netdev_priv(dev); in ethoc_set_multicast_list()
874 struct ethoc *priv = netdev_priv(dev); in ethoc_tx_timeout()
882 struct ethoc *priv = netdev_priv(dev); in ethoc_start_xmit()
938 struct ethoc *priv = netdev_priv(dev); in ethoc_get_regs()
952 struct ethoc *priv = netdev_priv(dev); in ethoc_get_ringparam()
970 struct ethoc *priv = netdev_priv(dev); in ethoc_set_ringparam()
1030 struct ethoc *priv = NULL; in ethoc_probe()
1037 netdev = alloc_etherdev(sizeof(struct ethoc)); in ethoc_probe()
1260 struct ethoc *priv = netdev_priv(netdev); in ethoc_remove()