Lines Matching refs:macb

95 static struct macb_dma_desc *macb_rx_desc(struct macb *bp, unsigned int index)  in macb_rx_desc()
100 static void *macb_rx_buffer(struct macb *bp, unsigned int index) in macb_rx_buffer()
105 static void macb_set_hwaddr(struct macb *bp) in macb_set_hwaddr()
124 static void macb_get_hwaddr(struct macb *bp) in macb_get_hwaddr()
167 struct macb *bp = bus->priv; in macb_mdio_read()
188 struct macb *bp = bus->priv; in macb_mdio_write()
250 struct macb *bp = netdev_priv(dev); in macb_handle_link_change()
318 struct macb *bp = netdev_priv(dev); in macb_mii_probe()
366 static int macb_mii_init(struct macb *bp) in macb_mii_init()
448 static void macb_update_stats(struct macb *bp) in macb_update_stats()
451 u32 *p = &bp->hw_stats.macb.rx_pause_frames; in macb_update_stats()
452 u32 *end = &bp->hw_stats.macb.tx_pause_frames + 1; in macb_update_stats()
460 static int macb_halt_tx(struct macb *bp) in macb_halt_tx()
480 static void macb_tx_unmap(struct macb *bp, struct macb_tx_skb *tx_skb) in macb_tx_unmap()
502 struct macb *bp = queue->bp; in macb_tx_error_task()
609 struct macb *bp = queue->bp; in macb_tx_interrupt()
673 static void gem_rx_refill(struct macb *bp) in gem_rx_refill()
727 static void discard_partial_frame(struct macb *bp, unsigned int begin, in discard_partial_frame()
747 static int gem_rx(struct macb *bp, int budget) in gem_rx()
824 static int macb_rx_frame(struct macb *bp, unsigned int first_frag, in macb_rx_frame()
902 static int macb_rx(struct macb *bp, int budget) in macb_rx()
950 struct macb *bp = container_of(napi, struct macb, napi); in macb_poll()
985 struct macb *bp = queue->bp; in macb_interrupt()
1063 bp->hw_stats.macb.rx_overruns++; in macb_interrupt()
1096 struct macb *bp = netdev_priv(dev); in macb_poll_controller()
1108 static inline unsigned int macb_count_tx_descriptors(struct macb *bp, in macb_count_tx_descriptors()
1114 static unsigned int macb_tx_map(struct macb *bp, in macb_tx_map()
1246 struct macb *bp = netdev_priv(dev); in macb_start_xmit()
1304 static void macb_init_rx_buffer_size(struct macb *bp, size_t size) in macb_init_rx_buffer_size()
1324 static void gem_free_rx_buffers(struct macb *bp) in gem_free_rx_buffers()
1352 static void macb_free_rx_buffers(struct macb *bp) in macb_free_rx_buffers()
1362 static void macb_free_consistent(struct macb *bp) in macb_free_consistent()
1385 static int gem_alloc_rx_buffers(struct macb *bp) in gem_alloc_rx_buffers()
1400 static int macb_alloc_rx_buffers(struct macb *bp) in macb_alloc_rx_buffers()
1416 static int macb_alloc_consistent(struct macb *bp) in macb_alloc_consistent()
1459 static void gem_init_rings(struct macb *bp) in gem_init_rings()
1481 static void macb_init_rings(struct macb *bp) in macb_init_rings()
1505 static void macb_reset_hw(struct macb *bp) in macb_reset_hw()
1530 static u32 gem_mdc_clk_div(struct macb *bp) in gem_mdc_clk_div()
1551 static u32 macb_mdc_clk_div(struct macb *bp) in macb_mdc_clk_div()
1577 static u32 macb_dbw(struct macb *bp) in macb_dbw()
1601 static void macb_configure_dma(struct macb *bp) in macb_configure_dma()
1640 static void macb_init_hw(struct macb *bp) in macb_init_hw()
1751 struct macb *bp = netdev_priv(dev); in macb_sethashtable()
1770 struct macb *bp = netdev_priv(dev); in macb_set_rx_mode()
1811 struct macb *bp = netdev_priv(dev); in macb_open()
1849 struct macb *bp = netdev_priv(dev); in macb_close()
1868 static void gem_update_stats(struct macb *bp) in gem_update_stats()
1889 static struct net_device_stats *gem_get_stats(struct macb *bp) in gem_get_stats()
1930 struct macb *bp; in gem_get_ethtool_stats()
1962 struct macb *bp = netdev_priv(dev); in macb_get_stats()
1964 struct macb_stats *hwstat = &bp->hw_stats.macb; in macb_get_stats()
2009 struct macb *bp = netdev_priv(dev); in macb_get_settings()
2020 struct macb *bp = netdev_priv(dev); in macb_set_settings()
2037 struct macb *bp = netdev_priv(dev); in macb_get_regs()
2090 struct macb *bp = netdev_priv(dev); in macb_ioctl()
2105 struct macb *bp = netdev_priv(netdev); in macb_set_features()
2156 static void macb_configure_caps(struct macb *bp, const struct macb_config *dt_conf) in macb_configure_caps()
2261 struct macb *bp = netdev_priv(dev); in macb_init()
2370 struct macb *lp = netdev_priv(dev); in at91ether_start()
2421 struct macb *lp = netdev_priv(dev); in at91ether_open()
2455 struct macb *lp = netdev_priv(dev); in at91ether_close()
2490 struct macb *lp = netdev_priv(dev); in at91ether_start_xmit()
2519 struct macb *lp = netdev_priv(dev); in at91ether_rx()
2558 struct macb *lp = netdev_priv(dev); in at91ether_interrupt()
2650 struct macb *bp = netdev_priv(dev); in at91ether_init()
2745 struct macb *bp; in macb_probe()
2866 struct macb *bp; in macb_remove()
2891 struct macb *bp = netdev_priv(netdev); in macb_suspend()
2907 struct macb *bp = netdev_priv(netdev); in macb_resume()