Lines Matching refs:ethoc
199 struct ethoc { struct
237 static inline u32 ethoc_read(struct ethoc *dev, loff_t offset) in ethoc_read() argument
242 static inline void ethoc_write(struct ethoc *dev, loff_t offset, u32 data) in ethoc_write()
247 static inline void ethoc_read_bd(struct ethoc *dev, int index, in ethoc_read_bd()
255 static inline void ethoc_write_bd(struct ethoc *dev, int index, in ethoc_write_bd()
263 static inline void ethoc_enable_irq(struct ethoc *dev, u32 mask) in ethoc_enable_irq()
270 static inline void ethoc_disable_irq(struct ethoc *dev, u32 mask) in ethoc_disable_irq()
277 static inline void ethoc_ack_irq(struct ethoc *dev, u32 mask) in ethoc_ack_irq()
282 static inline void ethoc_enable_rx_and_tx(struct ethoc *dev) in ethoc_enable_rx_and_tx()
289 static inline void ethoc_disable_rx_and_tx(struct ethoc *dev) in ethoc_disable_rx_and_tx()
296 static int ethoc_init_ring(struct ethoc *dev, unsigned long mem_start) in ethoc_init_ring()
340 static int ethoc_reset(struct ethoc *dev) in ethoc_reset()
367 static unsigned int ethoc_update_rx_stats(struct ethoc *dev, in ethoc_update_rx_stats()
416 struct ethoc *priv = netdev_priv(dev); in ethoc_rx()
474 static void ethoc_update_tx_stats(struct ethoc *dev, struct ethoc_bd *bd) in ethoc_update_tx_stats()
508 struct ethoc *priv = netdev_priv(dev); in ethoc_tx()
547 struct ethoc *priv = netdev_priv(dev); in ethoc_interrupt()
585 struct ethoc *priv = netdev_priv(dev); in ethoc_get_mac_address()
604 struct ethoc *priv = container_of(napi, struct ethoc, napi); in ethoc_poll()
621 struct ethoc *priv = bus->priv; in ethoc_mdio_read()
643 struct ethoc *priv = bus->priv; in ethoc_mdio_write()
669 struct ethoc *priv = netdev_priv(dev); in ethoc_mdio_probe()
701 struct ethoc *priv = netdev_priv(dev); in ethoc_open()
733 struct ethoc *priv = netdev_priv(dev); in ethoc_stop()
751 struct ethoc *priv = netdev_priv(dev); in ethoc_ioctl()
774 struct ethoc *priv = netdev_priv(dev); in ethoc_do_set_mac_address()
795 struct ethoc *priv = netdev_priv(dev); in ethoc_set_multicast_list()
843 struct ethoc *priv = netdev_priv(dev); in ethoc_tx_timeout()
851 struct ethoc *priv = netdev_priv(dev); in ethoc_start_xmit()
895 struct ethoc *priv = netdev_priv(dev); in ethoc_get_settings()
906 struct ethoc *priv = netdev_priv(dev); in ethoc_set_settings()
923 struct ethoc *priv = netdev_priv(dev); in ethoc_get_regs()
935 struct ethoc *priv = netdev_priv(dev); in ethoc_get_ringparam()
951 struct ethoc *priv = netdev_priv(dev); in ethoc_set_ringparam()
1010 struct ethoc *priv = NULL; in ethoc_probe()
1019 netdev = alloc_etherdev(sizeof(struct ethoc)); in ethoc_probe()
1266 struct ethoc *priv = netdev_priv(netdev); in ethoc_remove()