Lines Matching refs:ethoc
199 struct ethoc { struct
238 static inline u32 ethoc_read(struct ethoc *dev, loff_t offset) in ethoc_read() argument
246 static inline void ethoc_write(struct ethoc *dev, loff_t offset, u32 data) in ethoc_write()
254 static inline void ethoc_read_bd(struct ethoc *dev, int index, in ethoc_read_bd()
262 static inline void ethoc_write_bd(struct ethoc *dev, int index, in ethoc_write_bd()
270 static inline void ethoc_enable_irq(struct ethoc *dev, u32 mask) in ethoc_enable_irq()
277 static inline void ethoc_disable_irq(struct ethoc *dev, u32 mask) in ethoc_disable_irq()
284 static inline void ethoc_ack_irq(struct ethoc *dev, u32 mask) in ethoc_ack_irq()
289 static inline void ethoc_enable_rx_and_tx(struct ethoc *dev) in ethoc_enable_rx_and_tx()
296 static inline void ethoc_disable_rx_and_tx(struct ethoc *dev) in ethoc_disable_rx_and_tx()
303 static int ethoc_init_ring(struct ethoc *dev, unsigned long mem_start) in ethoc_init_ring()
347 static int ethoc_reset(struct ethoc *dev) in ethoc_reset()
374 static unsigned int ethoc_update_rx_stats(struct ethoc *dev, in ethoc_update_rx_stats()
423 struct ethoc *priv = netdev_priv(dev); in ethoc_rx()
481 static void ethoc_update_tx_stats(struct ethoc *dev, struct ethoc_bd *bd) in ethoc_update_tx_stats()
515 struct ethoc *priv = netdev_priv(dev); in ethoc_tx()
554 struct ethoc *priv = netdev_priv(dev); in ethoc_interrupt()
592 struct ethoc *priv = netdev_priv(dev); in ethoc_get_mac_address()
611 struct ethoc *priv = container_of(napi, struct ethoc, napi); in ethoc_poll()
628 struct ethoc *priv = bus->priv; in ethoc_mdio_read()
650 struct ethoc *priv = bus->priv; in ethoc_mdio_write()
676 struct ethoc *priv = netdev_priv(dev); in ethoc_mdio_probe()
708 struct ethoc *priv = netdev_priv(dev); in ethoc_open()
740 struct ethoc *priv = netdev_priv(dev); in ethoc_stop()
758 struct ethoc *priv = netdev_priv(dev); in ethoc_ioctl()
781 struct ethoc *priv = netdev_priv(dev); in ethoc_do_set_mac_address()
802 struct ethoc *priv = netdev_priv(dev); in ethoc_set_multicast_list()
850 struct ethoc *priv = netdev_priv(dev); in ethoc_tx_timeout()
858 struct ethoc *priv = netdev_priv(dev); in ethoc_start_xmit()
902 struct ethoc *priv = netdev_priv(dev); in ethoc_get_settings()
913 struct ethoc *priv = netdev_priv(dev); in ethoc_set_settings()
930 struct ethoc *priv = netdev_priv(dev); in ethoc_get_regs()
942 struct ethoc *priv = netdev_priv(dev); in ethoc_get_ringparam()
958 struct ethoc *priv = netdev_priv(dev); in ethoc_set_ringparam()
1017 struct ethoc *priv = NULL; in ethoc_probe()
1026 netdev = alloc_etherdev(sizeof(struct ethoc)); in ethoc_probe()
1271 struct ethoc *priv = netdev_priv(netdev); in ethoc_remove()