Lines Matching defs:macb

144 static int macb_is_gem(struct macb_device *macb)  in macb_is_gem()
157 static int gem_is_gigabit_capable(struct macb_device *macb) in gem_is_gigabit_capable()
166 static void macb_mdio_write(struct macb_device *macb, u8 reg, u16 value) in macb_mdio_write()
193 static u16 macb_mdio_read(struct macb_device *macb, u8 reg) in macb_mdio_read()
235 struct macb_device *macb = dev_get_priv(dev); in macb_miiphy_read() local
238 struct macb_device *macb = to_macb(dev); in macb_miiphy_read() local
255 struct macb_device *macb = dev_get_priv(dev); in macb_miiphy_write() local
273 static inline void macb_invalidate_ring_desc(struct macb_device *macb, bool rx) in macb_invalidate_ring_desc()
285 static inline void macb_flush_ring_desc(struct macb_device *macb, bool rx) in macb_flush_ring_desc()
295 static inline void macb_flush_rx_buffer(struct macb_device *macb) in macb_flush_rx_buffer()
301 static inline void macb_invalidate_rx_buffer(struct macb_device *macb) in macb_invalidate_rx_buffer()
309 static int _macb_send(struct macb_device *macb, const char *name, void *packet, in _macb_send()
363 static void reclaim_rx_buffers(struct macb_device *macb, in reclaim_rx_buffers()
388 static int _macb_recv(struct macb_device *macb, uchar **packetp) in _macb_recv()
443 static void macb_phy_reset(struct macb_device *macb, const char *name) in macb_phy_reset()
468 static int macb_phy_find(struct macb_device *macb, const char *name) in macb_phy_find()
508 struct macb_device *macb = dev_get_priv(dev); in macb_phy_init() local
626 static int gmac_init_multi_queues(struct macb_device *macb) in gmac_init_multi_queues()
657 struct macb_device *macb = dev_get_priv(dev); in _macb_init() local
771 static void _macb_halt(struct macb_device *macb) in _macb_halt()
788 static int _macb_write_hwaddr(struct macb_device *macb, unsigned char *enetaddr) in _macb_write_hwaddr()
802 static u32 macb_mdc_clk_div(int id, struct macb_device *macb) in macb_mdc_clk_div()
823 static u32 gem_mdc_clk_div(int id, struct macb_device *macb) in gem_mdc_clk_div()
854 static u32 macb_dbw(struct macb_device *macb) in macb_dbw()
867 static void _macb_eth_initialize(struct macb_device *macb) in _macb_eth_initialize()
899 struct macb_device *macb = to_macb(netdev); in macb_send() local
906 struct macb_device *macb = to_macb(netdev); in macb_recv() local
925 struct macb_device *macb = to_macb(netdev); in macb_init() local
932 struct macb_device *macb = to_macb(netdev); in macb_halt() local
939 struct macb_device *macb = to_macb(netdev); in macb_write_hwaddr() local
946 struct macb_device *macb; in macb_eth_initialize() local
1003 struct macb_device *macb = dev_get_priv(dev); in macb_send() local
1010 struct macb_device *macb = dev_get_priv(dev); in macb_recv() local
1020 struct macb_device *macb = dev_get_priv(dev); in macb_free_pkt() local
1029 struct macb_device *macb = dev_get_priv(dev); in macb_stop() local
1037 struct macb_device *macb = dev_get_priv(dev); in macb_write_hwaddr() local
1054 struct macb_device *macb = dev_get_priv(dev); in macb_enable_clk() local
1086 struct macb_device *macb = dev_get_priv(dev); in macb_eth_probe() local
1128 struct macb_device *macb = dev_get_priv(dev); in macb_eth_remove() local