Lines Matching defs:macb
129 static int macb_is_gem(struct macb_device *macb) in macb_is_gem()
142 static int gem_is_gigabit_capable(struct macb_device *macb) in gem_is_gigabit_capable()
151 static void macb_mdio_write(struct macb_device *macb, u8 reg, u16 value) in macb_mdio_write()
178 static u16 macb_mdio_read(struct macb_device *macb, u8 reg) in macb_mdio_read()
220 struct macb_device *macb = dev_get_priv(dev); in macb_miiphy_read() local
223 struct macb_device *macb = to_macb(dev); in macb_miiphy_read() local
240 struct macb_device *macb = dev_get_priv(dev); in macb_miiphy_write() local
258 static inline void macb_invalidate_ring_desc(struct macb_device *macb, bool rx) in macb_invalidate_ring_desc()
270 static inline void macb_flush_ring_desc(struct macb_device *macb, bool rx) in macb_flush_ring_desc()
280 static inline void macb_flush_rx_buffer(struct macb_device *macb) in macb_flush_rx_buffer()
286 static inline void macb_invalidate_rx_buffer(struct macb_device *macb) in macb_invalidate_rx_buffer()
294 static int _macb_send(struct macb_device *macb, const char *name, void *packet, in _macb_send()
348 static void reclaim_rx_buffers(struct macb_device *macb, in reclaim_rx_buffers()
373 static int _macb_recv(struct macb_device *macb, uchar **packetp) in _macb_recv()
428 static void macb_phy_reset(struct macb_device *macb, const char *name) in macb_phy_reset()
453 static int macb_phy_find(struct macb_device *macb, const char *name) in macb_phy_find()
481 struct macb_device *macb = dev_get_priv(dev); in macb_phy_init() local
585 static int gmac_init_multi_queues(struct macb_device *macb) in gmac_init_multi_queues()
616 struct macb_device *macb = dev_get_priv(dev); in _macb_init() local
724 static void _macb_halt(struct macb_device *macb) in _macb_halt()
741 static int _macb_write_hwaddr(struct macb_device *macb, unsigned char *enetaddr) in _macb_write_hwaddr()
755 static u32 macb_mdc_clk_div(int id, struct macb_device *macb) in macb_mdc_clk_div()
776 static u32 gem_mdc_clk_div(int id, struct macb_device *macb) in gem_mdc_clk_div()
807 static u32 macb_dbw(struct macb_device *macb) in macb_dbw()
820 static void _macb_eth_initialize(struct macb_device *macb) in _macb_eth_initialize()
852 struct macb_device *macb = to_macb(netdev); in macb_send() local
859 struct macb_device *macb = to_macb(netdev); in macb_recv() local
878 struct macb_device *macb = to_macb(netdev); in macb_init() local
885 struct macb_device *macb = to_macb(netdev); in macb_halt() local
892 struct macb_device *macb = to_macb(netdev); in macb_write_hwaddr() local
899 struct macb_device *macb; in macb_eth_initialize() local
956 struct macb_device *macb = dev_get_priv(dev); in macb_send() local
963 struct macb_device *macb = dev_get_priv(dev); in macb_recv() local
973 struct macb_device *macb = dev_get_priv(dev); in macb_free_pkt() local
982 struct macb_device *macb = dev_get_priv(dev); in macb_stop() local
990 struct macb_device *macb = dev_get_priv(dev); in macb_write_hwaddr() local
1007 struct macb_device *macb = dev_get_priv(dev); in macb_enable_clk() local
1033 struct macb_device *macb = dev_get_priv(dev); in macb_eth_probe() local
1075 struct macb_device *macb = dev_get_priv(dev); in macb_eth_remove() local