Lines Matching defs:priv
201 static inline u32 *ethoc_reg(struct ethoc *priv, size_t offset) in ethoc_reg()
206 static inline u32 ethoc_read(struct ethoc *priv, size_t offset) in ethoc_read()
211 static inline void ethoc_write(struct ethoc *priv, size_t offset, u32 data) in ethoc_write()
216 static inline void ethoc_read_bd(struct ethoc *priv, int index, in ethoc_read_bd()
224 static inline void ethoc_write_bd(struct ethoc *priv, int index, in ethoc_write_bd()
232 static int ethoc_write_hwaddr_common(struct ethoc *priv, u8 *mac) in ethoc_write_hwaddr_common()
240 static inline void ethoc_ack_irq(struct ethoc *priv, u32 mask) in ethoc_ack_irq()
245 static inline void ethoc_enable_rx_and_tx(struct ethoc *priv) in ethoc_enable_rx_and_tx()
252 static inline void ethoc_disable_rx_and_tx(struct ethoc *priv) in ethoc_disable_rx_and_tx()
259 static int ethoc_init_ring(struct ethoc *priv) in ethoc_init_ring()
304 static int ethoc_reset(struct ethoc *priv) in ethoc_reset()
330 static int ethoc_init_common(struct ethoc *priv) in ethoc_init_common()
351 static void ethoc_stop_common(struct ethoc *priv) in ethoc_stop_common()
394 static int ethoc_rx_common(struct ethoc *priv, uchar **packetp) in ethoc_rx_common()
420 static int ethoc_is_new_packet_received(struct ethoc *priv) in ethoc_is_new_packet_received()
453 static void ethoc_tx(struct ethoc *priv) in ethoc_tx()
463 static int ethoc_send_common(struct ethoc *priv, void *packet, int length) in ethoc_send_common()
516 static int ethoc_free_pkt_common(struct ethoc *priv) in ethoc_free_pkt_common()
544 struct ethoc *priv = bus->priv; in ethoc_mdio_read() local
566 struct ethoc *priv = bus->priv; in ethoc_mdio_write() local
583 static int ethoc_mdio_init(const char *name, struct ethoc *priv) in ethoc_mdio_init()
606 static int ethoc_phy_init(struct ethoc *priv, void *dev) in ethoc_phy_init()
632 static inline int ethoc_mdio_init(const char *name, struct ethoc *priv) in ethoc_mdio_init()
637 static inline int ethoc_phy_init(struct ethoc *priv, void *dev) in ethoc_phy_init()
649 struct ethoc *priv = dev_get_priv(dev); in ethoc_write_hwaddr() local
667 struct ethoc *priv = dev_get_priv(dev); in ethoc_recv() local
701 struct ethoc *priv = dev_get_priv(dev); in ethoc_probe() local
718 struct ethoc *priv = dev_get_priv(dev); in ethoc_remove() local
759 struct ethoc *priv = (struct ethoc *)dev->priv; in ethoc_init() local
766 struct ethoc *priv = (struct ethoc *)dev->priv; in ethoc_write_hwaddr() local
784 struct ethoc *priv = (struct ethoc *)dev->priv; in ethoc_recv() local
805 struct ethoc *priv; in ethoc_initialize() local