macb 1063 drivers/net/ethernet/cadence/macb.h struct macb; macb 1067 drivers/net/ethernet/cadence/macb.h int (*mog_alloc_rx_buffers)(struct macb *bp); macb 1068 drivers/net/ethernet/cadence/macb.h void (*mog_free_rx_buffers)(struct macb *bp); macb 1069 drivers/net/ethernet/cadence/macb.h void (*mog_init_rings)(struct macb *bp); macb 1079 drivers/net/ethernet/cadence/macb.h unsigned int (*get_tsu_rate)(struct macb *bp); macb 1109 drivers/net/ethernet/cadence/macb.h struct macb *bp; macb 1160 drivers/net/ethernet/cadence/macb.h u32 (*macb_reg_readl)(struct macb *bp, int offset); macb 1161 drivers/net/ethernet/cadence/macb.h void (*macb_reg_writel)(struct macb *bp, int offset, u32 value); macb 1181 drivers/net/ethernet/cadence/macb.h struct macb_stats macb; macb 1252 drivers/net/ethernet/cadence/macb.h void gem_ptp_rxstamp(struct macb *bp, struct sk_buff *skb, struct macb_dma_desc *desc); macb 1261 drivers/net/ethernet/cadence/macb.h static inline void gem_ptp_do_rxstamp(struct macb *bp, struct sk_buff *skb, struct macb_dma_desc *desc) macb 1279 drivers/net/ethernet/cadence/macb.h static inline void gem_ptp_do_rxstamp(struct macb *bp, struct sk_buff *skb, struct macb_dma_desc *desc) { } macb 1282 drivers/net/ethernet/cadence/macb.h static inline bool macb_is_gem(struct macb *bp) macb 1287 drivers/net/ethernet/cadence/macb.h static inline bool gem_has_ptp(struct macb *bp) macb 124 drivers/net/ethernet/cadence/macb_main.c static unsigned int macb_dma_desc_get_size(struct macb *bp) macb 151 drivers/net/ethernet/cadence/macb_main.c static unsigned int macb_adj_dma_desc_idx(struct macb *bp, unsigned int desc_idx) macb 170 drivers/net/ethernet/cadence/macb_main.c static struct macb_dma_desc_64 *macb_64b_desc(struct macb *bp, struct macb_dma_desc *desc) macb 178 drivers/net/ethernet/cadence/macb_main.c static unsigned int macb_tx_ring_wrap(struct macb *bp, unsigned int index) macb 207 drivers/net/ethernet/cadence/macb_main.c static unsigned int macb_rx_ring_wrap(struct macb *bp, unsigned int index) macb 226 drivers/net/ethernet/cadence/macb_main.c static u32 hw_readl_native(struct macb *bp, int offset) macb 231 drivers/net/ethernet/cadence/macb_main.c static void hw_writel_native(struct macb *bp, int offset, u32 value) macb 236 drivers/net/ethernet/cadence/macb_main.c static u32 hw_readl(struct macb *bp, int offset) macb 241 drivers/net/ethernet/cadence/macb_main.c static void hw_writel(struct macb *bp, int offset, u32 value) macb 275 drivers/net/ethernet/cadence/macb_main.c static void macb_set_hwaddr(struct macb *bp) macb 294 drivers/net/ethernet/cadence/macb_main.c static void macb_get_hwaddr(struct macb *bp) macb 323 drivers/net/ethernet/cadence/macb_main.c static int macb_mdio_wait_for_idle(struct macb *bp) macb 333 drivers/net/ethernet/cadence/macb_main.c struct macb *bp = bus->priv; macb 368 drivers/net/ethernet/cadence/macb_main.c struct macb *bp = bus->priv; macb 445 drivers/net/ethernet/cadence/macb_main.c struct macb *bp = netdev_priv(dev); macb 512 drivers/net/ethernet/cadence/macb_main.c struct macb *bp = netdev_priv(dev); macb 584 drivers/net/ethernet/cadence/macb_main.c static int macb_mii_init(struct macb *bp) macb 642 drivers/net/ethernet/cadence/macb_main.c static void macb_update_stats(struct macb *bp) macb 644 drivers/net/ethernet/cadence/macb_main.c u32 *p = &bp->hw_stats.macb.rx_pause_frames; macb 645 drivers/net/ethernet/cadence/macb_main.c u32 *end = &bp->hw_stats.macb.tx_pause_frames + 1; macb 654 drivers/net/ethernet/cadence/macb_main.c static int macb_halt_tx(struct macb *bp) macb 674 drivers/net/ethernet/cadence/macb_main.c static void macb_tx_unmap(struct macb *bp, struct macb_tx_skb *tx_skb) macb 692 drivers/net/ethernet/cadence/macb_main.c static void macb_set_addr(struct macb *bp, struct macb_dma_desc *desc, dma_addr_t addr) macb 710 drivers/net/ethernet/cadence/macb_main.c static dma_addr_t macb_get_addr(struct macb *bp, struct macb_dma_desc *desc) macb 729 drivers/net/ethernet/cadence/macb_main.c struct macb *bp = queue->bp; macb 840 drivers/net/ethernet/cadence/macb_main.c struct macb *bp = queue->bp; macb 920 drivers/net/ethernet/cadence/macb_main.c struct macb *bp = queue->bp; macb 1002 drivers/net/ethernet/cadence/macb_main.c struct macb *bp = queue->bp; macb 1098 drivers/net/ethernet/cadence/macb_main.c struct macb *bp = queue->bp; macb 1174 drivers/net/ethernet/cadence/macb_main.c struct macb *bp = queue->bp; macb 1193 drivers/net/ethernet/cadence/macb_main.c struct macb *bp = queue->bp; macb 1272 drivers/net/ethernet/cadence/macb_main.c struct macb *bp = queue->bp; macb 1304 drivers/net/ethernet/cadence/macb_main.c struct macb *bp = (struct macb *)data; macb 1357 drivers/net/ethernet/cadence/macb_main.c struct macb *bp = queue->bp; macb 1371 drivers/net/ethernet/cadence/macb_main.c struct macb *bp = queue->bp; macb 1454 drivers/net/ethernet/cadence/macb_main.c bp->hw_stats.macb.rx_overruns++; macb 1481 drivers/net/ethernet/cadence/macb_main.c struct macb *bp = netdev_priv(dev); macb 1493 drivers/net/ethernet/cadence/macb_main.c static unsigned int macb_tx_map(struct macb *bp, macb 1779 drivers/net/ethernet/cadence/macb_main.c struct macb *bp = netdev_priv(dev); macb 1873 drivers/net/ethernet/cadence/macb_main.c static void macb_init_rx_buffer_size(struct macb *bp, size_t size) macb 1893 drivers/net/ethernet/cadence/macb_main.c static void gem_free_rx_buffers(struct macb *bp) macb 1926 drivers/net/ethernet/cadence/macb_main.c static void macb_free_rx_buffers(struct macb *bp) macb 1938 drivers/net/ethernet/cadence/macb_main.c static void macb_free_consistent(struct macb *bp) macb 1964 drivers/net/ethernet/cadence/macb_main.c static int gem_alloc_rx_buffers(struct macb *bp) macb 1983 drivers/net/ethernet/cadence/macb_main.c static int macb_alloc_rx_buffers(struct macb *bp) macb 2000 drivers/net/ethernet/cadence/macb_main.c static int macb_alloc_consistent(struct macb *bp) macb 2042 drivers/net/ethernet/cadence/macb_main.c static void gem_init_rings(struct macb *bp) macb 2067 drivers/net/ethernet/cadence/macb_main.c static void macb_init_rings(struct macb *bp) macb 2084 drivers/net/ethernet/cadence/macb_main.c static void macb_reset_hw(struct macb *bp) macb 2113 drivers/net/ethernet/cadence/macb_main.c static u32 gem_mdc_clk_div(struct macb *bp) macb 2134 drivers/net/ethernet/cadence/macb_main.c static u32 macb_mdc_clk_div(struct macb *bp) macb 2159 drivers/net/ethernet/cadence/macb_main.c static u32 macb_dbw(struct macb *bp) macb 2182 drivers/net/ethernet/cadence/macb_main.c static void macb_configure_dma(struct macb *bp) macb 2228 drivers/net/ethernet/cadence/macb_main.c static void macb_init_hw(struct macb *bp) macb 2352 drivers/net/ethernet/cadence/macb_main.c struct macb *bp = netdev_priv(dev); macb 2370 drivers/net/ethernet/cadence/macb_main.c struct macb *bp = netdev_priv(dev); macb 2411 drivers/net/ethernet/cadence/macb_main.c struct macb *bp = netdev_priv(dev); macb 2466 drivers/net/ethernet/cadence/macb_main.c struct macb *bp = netdev_priv(dev); macb 2504 drivers/net/ethernet/cadence/macb_main.c static void gem_update_stats(struct macb *bp) macb 2533 drivers/net/ethernet/cadence/macb_main.c static struct net_device_stats *gem_get_stats(struct macb *bp) macb 2574 drivers/net/ethernet/cadence/macb_main.c struct macb *bp; macb 2584 drivers/net/ethernet/cadence/macb_main.c struct macb *bp = netdev_priv(dev); macb 2597 drivers/net/ethernet/cadence/macb_main.c struct macb *bp = netdev_priv(dev); macb 2621 drivers/net/ethernet/cadence/macb_main.c struct macb *bp = netdev_priv(dev); macb 2623 drivers/net/ethernet/cadence/macb_main.c struct macb_stats *hwstat = &bp->hw_stats.macb; macb 2674 drivers/net/ethernet/cadence/macb_main.c struct macb *bp = netdev_priv(dev); macb 2706 drivers/net/ethernet/cadence/macb_main.c struct macb *bp = netdev_priv(netdev); macb 2721 drivers/net/ethernet/cadence/macb_main.c struct macb *bp = netdev_priv(netdev); macb 2740 drivers/net/ethernet/cadence/macb_main.c struct macb *bp = netdev_priv(netdev); macb 2752 drivers/net/ethernet/cadence/macb_main.c struct macb *bp = netdev_priv(netdev); macb 2788 drivers/net/ethernet/cadence/macb_main.c static unsigned int gem_get_tsu_rate(struct macb *bp) macb 2813 drivers/net/ethernet/cadence/macb_main.c struct macb *bp = netdev_priv(dev); macb 2854 drivers/net/ethernet/cadence/macb_main.c struct macb *bp = netdev_priv(netdev); macb 2862 drivers/net/ethernet/cadence/macb_main.c static void gem_enable_flow_filters(struct macb *bp, bool enable) macb 2908 drivers/net/ethernet/cadence/macb_main.c static void gem_prog_cmp_regs(struct macb *bp, struct ethtool_rx_flow_spec *fs) macb 2991 drivers/net/ethernet/cadence/macb_main.c struct macb *bp = netdev_priv(netdev); macb 3045 drivers/net/ethernet/cadence/macb_main.c struct macb *bp = netdev_priv(netdev); macb 3081 drivers/net/ethernet/cadence/macb_main.c struct macb *bp = netdev_priv(netdev); macb 3096 drivers/net/ethernet/cadence/macb_main.c struct macb *bp = netdev_priv(netdev); macb 3115 drivers/net/ethernet/cadence/macb_main.c struct macb *bp = netdev_priv(netdev); macb 3142 drivers/net/ethernet/cadence/macb_main.c struct macb *bp = netdev_priv(netdev); macb 3198 drivers/net/ethernet/cadence/macb_main.c struct macb *bp = netdev_priv(dev); macb 3219 drivers/net/ethernet/cadence/macb_main.c static inline void macb_set_txcsum_feature(struct macb *bp, macb 3236 drivers/net/ethernet/cadence/macb_main.c static inline void macb_set_rxcsum_feature(struct macb *bp, macb 3254 drivers/net/ethernet/cadence/macb_main.c static inline void macb_set_rxflow_feature(struct macb *bp, macb 3266 drivers/net/ethernet/cadence/macb_main.c struct macb *bp = netdev_priv(netdev); macb 3284 drivers/net/ethernet/cadence/macb_main.c static void macb_restore_features(struct macb *bp) macb 3319 drivers/net/ethernet/cadence/macb_main.c static void macb_configure_caps(struct macb *bp, macb 3477 drivers/net/ethernet/cadence/macb_main.c struct macb *bp = netdev_priv(dev); macb 3639 drivers/net/ethernet/cadence/macb_main.c struct macb *lp = netdev_priv(dev); macb 3693 drivers/net/ethernet/cadence/macb_main.c struct macb *lp = netdev_priv(dev); macb 3733 drivers/net/ethernet/cadence/macb_main.c struct macb *lp = netdev_priv(dev); macb 3770 drivers/net/ethernet/cadence/macb_main.c struct macb *lp = netdev_priv(dev); macb 3805 drivers/net/ethernet/cadence/macb_main.c struct macb *lp = netdev_priv(dev); macb 3849 drivers/net/ethernet/cadence/macb_main.c struct macb *lp = netdev_priv(dev); macb 3944 drivers/net/ethernet/cadence/macb_main.c struct macb *bp = netdev_priv(dev); macb 4195 drivers/net/ethernet/cadence/macb_main.c struct macb *bp; macb 4384 drivers/net/ethernet/cadence/macb_main.c struct macb *bp; macb 4421 drivers/net/ethernet/cadence/macb_main.c struct macb *bp = netdev_priv(netdev); macb 4464 drivers/net/ethernet/cadence/macb_main.c struct macb *bp = netdev_priv(netdev); macb 4508 drivers/net/ethernet/cadence/macb_main.c struct macb *bp = netdev_priv(netdev); macb 4524 drivers/net/ethernet/cadence/macb_main.c struct macb *bp = netdev_priv(netdev); macb 28 drivers/net/ethernet/cadence/macb_ptp.c static struct macb_dma_desc_ptp *macb_ptp_desc(struct macb *bp, macb 43 drivers/net/ethernet/cadence/macb_ptp.c struct macb *bp = container_of(ptp, struct macb, ptp_clock_info); macb 75 drivers/net/ethernet/cadence/macb_ptp.c struct macb *bp = container_of(ptp, struct macb, ptp_clock_info); macb 97 drivers/net/ethernet/cadence/macb_ptp.c static int gem_tsu_incr_set(struct macb *bp, struct tsu_incr *incr_spec) macb 119 drivers/net/ethernet/cadence/macb_ptp.c struct macb *bp = container_of(ptp, struct macb, ptp_clock_info); macb 154 drivers/net/ethernet/cadence/macb_ptp.c struct macb *bp = container_of(ptp, struct macb, ptp_clock_info); macb 200 drivers/net/ethernet/cadence/macb_ptp.c static void gem_ptp_init_timer(struct macb *bp) macb 215 drivers/net/ethernet/cadence/macb_ptp.c static void gem_ptp_init_tsu(struct macb *bp) macb 231 drivers/net/ethernet/cadence/macb_ptp.c static void gem_ptp_clear_timer(struct macb *bp) macb 241 drivers/net/ethernet/cadence/macb_ptp.c static int gem_hw_timestamp(struct macb *bp, u32 dma_desc_ts_1, macb 269 drivers/net/ethernet/cadence/macb_ptp.c void gem_ptp_rxstamp(struct macb *bp, struct sk_buff *skb, macb 284 drivers/net/ethernet/cadence/macb_ptp.c static void gem_tstamp_tx(struct macb *bp, struct sk_buff *skb, macb 351 drivers/net/ethernet/cadence/macb_ptp.c struct macb *bp = netdev_priv(dev); macb 387 drivers/net/ethernet/cadence/macb_ptp.c struct macb *bp = netdev_priv(ndev); macb 398 drivers/net/ethernet/cadence/macb_ptp.c static int gem_ptp_set_ts_mode(struct macb *bp, macb 411 drivers/net/ethernet/cadence/macb_ptp.c struct macb *bp = netdev_priv(dev); macb 423 drivers/net/ethernet/cadence/macb_ptp.c static int gem_ptp_set_one_step_sync(struct macb *bp, u8 enable) macb 442 drivers/net/ethernet/cadence/macb_ptp.c struct macb *bp = netdev_priv(dev);