bcmgenet_priv 91 drivers/net/ethernet/broadcom/genet/bcmgenet.c static inline void dmadesc_set_length_status(struct bcmgenet_priv *priv, bcmgenet_priv 97 drivers/net/ethernet/broadcom/genet/bcmgenet.c static inline u32 dmadesc_get_length_status(struct bcmgenet_priv *priv, bcmgenet_priv 103 drivers/net/ethernet/broadcom/genet/bcmgenet.c static inline void dmadesc_set_addr(struct bcmgenet_priv *priv, bcmgenet_priv 120 drivers/net/ethernet/broadcom/genet/bcmgenet.c static inline void dmadesc_set(struct bcmgenet_priv *priv, bcmgenet_priv 127 drivers/net/ethernet/broadcom/genet/bcmgenet.c static inline dma_addr_t dmadesc_get_addr(struct bcmgenet_priv *priv, bcmgenet_priv 150 drivers/net/ethernet/broadcom/genet/bcmgenet.c static inline u32 bcmgenet_rbuf_ctrl_get(struct bcmgenet_priv *priv) bcmgenet_priv 158 drivers/net/ethernet/broadcom/genet/bcmgenet.c static inline void bcmgenet_rbuf_ctrl_set(struct bcmgenet_priv *priv, u32 val) bcmgenet_priv 170 drivers/net/ethernet/broadcom/genet/bcmgenet.c static inline u32 bcmgenet_tbuf_ctrl_get(struct bcmgenet_priv *priv) bcmgenet_priv 179 drivers/net/ethernet/broadcom/genet/bcmgenet.c static inline void bcmgenet_tbuf_ctrl_set(struct bcmgenet_priv *priv, u32 val) bcmgenet_priv 188 drivers/net/ethernet/broadcom/genet/bcmgenet.c static inline u32 bcmgenet_bp_mc_get(struct bcmgenet_priv *priv) bcmgenet_priv 197 drivers/net/ethernet/broadcom/genet/bcmgenet.c static inline void bcmgenet_bp_mc_set(struct bcmgenet_priv *priv, u32 val) bcmgenet_priv 337 drivers/net/ethernet/broadcom/genet/bcmgenet.c static inline struct bcmgenet_priv *dev_to_priv(struct device *dev) bcmgenet_priv 342 drivers/net/ethernet/broadcom/genet/bcmgenet.c static inline u32 bcmgenet_tdma_readl(struct bcmgenet_priv *priv, bcmgenet_priv 349 drivers/net/ethernet/broadcom/genet/bcmgenet.c static inline void bcmgenet_tdma_writel(struct bcmgenet_priv *priv, bcmgenet_priv 356 drivers/net/ethernet/broadcom/genet/bcmgenet.c static inline u32 bcmgenet_rdma_readl(struct bcmgenet_priv *priv, bcmgenet_priv 363 drivers/net/ethernet/broadcom/genet/bcmgenet.c static inline void bcmgenet_rdma_writel(struct bcmgenet_priv *priv, bcmgenet_priv 433 drivers/net/ethernet/broadcom/genet/bcmgenet.c static inline u32 bcmgenet_tdma_ring_readl(struct bcmgenet_priv *priv, bcmgenet_priv 442 drivers/net/ethernet/broadcom/genet/bcmgenet.c static inline void bcmgenet_tdma_ring_writel(struct bcmgenet_priv *priv, bcmgenet_priv 451 drivers/net/ethernet/broadcom/genet/bcmgenet.c static inline u32 bcmgenet_rdma_ring_readl(struct bcmgenet_priv *priv, bcmgenet_priv 460 drivers/net/ethernet/broadcom/genet/bcmgenet.c static inline void bcmgenet_rdma_ring_writel(struct bcmgenet_priv *priv, bcmgenet_priv 471 drivers/net/ethernet/broadcom/genet/bcmgenet.c struct bcmgenet_priv *priv = netdev_priv(dev); bcmgenet_priv 479 drivers/net/ethernet/broadcom/genet/bcmgenet.c struct bcmgenet_priv *priv = netdev_priv(dev); bcmgenet_priv 514 drivers/net/ethernet/broadcom/genet/bcmgenet.c struct bcmgenet_priv *priv = netdev_priv(dev); bcmgenet_priv 545 drivers/net/ethernet/broadcom/genet/bcmgenet.c struct bcmgenet_priv *priv = netdev_priv(dev); bcmgenet_priv 587 drivers/net/ethernet/broadcom/genet/bcmgenet.c struct bcmgenet_priv *priv = netdev_priv(dev); bcmgenet_priv 594 drivers/net/ethernet/broadcom/genet/bcmgenet.c struct bcmgenet_priv *priv = netdev_priv(dev); bcmgenet_priv 602 drivers/net/ethernet/broadcom/genet/bcmgenet.c struct bcmgenet_priv *priv = netdev_priv(dev); bcmgenet_priv 628 drivers/net/ethernet/broadcom/genet/bcmgenet.c struct bcmgenet_priv *priv = ring->priv; bcmgenet_priv 664 drivers/net/ethernet/broadcom/genet/bcmgenet.c struct bcmgenet_priv *priv = netdev_priv(dev); bcmgenet_priv 735 drivers/net/ethernet/broadcom/genet/bcmgenet.c .stat_sizeof = sizeof(((struct bcmgenet_priv *)0)->m), \ bcmgenet_priv 736 drivers/net/ethernet/broadcom/genet/bcmgenet.c .stat_offset = offsetof(struct bcmgenet_priv, m), \ bcmgenet_priv 747 drivers/net/ethernet/broadcom/genet/bcmgenet.c .stat_sizeof = sizeof(((struct bcmgenet_priv *)0)->m), \ bcmgenet_priv 748 drivers/net/ethernet/broadcom/genet/bcmgenet.c .stat_offset = offsetof(struct bcmgenet_priv, m), \ bcmgenet_priv 903 drivers/net/ethernet/broadcom/genet/bcmgenet.c static u32 bcmgenet_update_stat_misc(struct bcmgenet_priv *priv, u16 offset) bcmgenet_priv 942 drivers/net/ethernet/broadcom/genet/bcmgenet.c static void bcmgenet_update_mib_counters(struct bcmgenet_priv *priv) bcmgenet_priv 992 drivers/net/ethernet/broadcom/genet/bcmgenet.c struct bcmgenet_priv *priv = netdev_priv(dev); bcmgenet_priv 1020 drivers/net/ethernet/broadcom/genet/bcmgenet.c struct bcmgenet_priv *priv = netdev_priv(dev); bcmgenet_priv 1063 drivers/net/ethernet/broadcom/genet/bcmgenet.c struct bcmgenet_priv *priv = netdev_priv(dev); bcmgenet_priv 1081 drivers/net/ethernet/broadcom/genet/bcmgenet.c struct bcmgenet_priv *priv = netdev_priv(dev); bcmgenet_priv 1133 drivers/net/ethernet/broadcom/genet/bcmgenet.c static int bcmgenet_power_down(struct bcmgenet_priv *priv, bcmgenet_priv 1175 drivers/net/ethernet/broadcom/genet/bcmgenet.c static void bcmgenet_power_up(struct bcmgenet_priv *priv, bcmgenet_priv 1235 drivers/net/ethernet/broadcom/genet/bcmgenet.c static struct enet_cb *bcmgenet_get_txcb(struct bcmgenet_priv *priv, bcmgenet_priv 1252 drivers/net/ethernet/broadcom/genet/bcmgenet.c static struct enet_cb *bcmgenet_put_txcb(struct bcmgenet_priv *priv, bcmgenet_priv 1378 drivers/net/ethernet/broadcom/genet/bcmgenet.c struct bcmgenet_priv *priv = netdev_priv(dev); bcmgenet_priv 1471 drivers/net/ethernet/broadcom/genet/bcmgenet.c struct bcmgenet_priv *priv = netdev_priv(dev); bcmgenet_priv 1548 drivers/net/ethernet/broadcom/genet/bcmgenet.c struct bcmgenet_priv *priv = netdev_priv(dev); bcmgenet_priv 1691 drivers/net/ethernet/broadcom/genet/bcmgenet.c static struct sk_buff *bcmgenet_rx_refill(struct bcmgenet_priv *priv, bcmgenet_priv 1739 drivers/net/ethernet/broadcom/genet/bcmgenet.c struct bcmgenet_priv *priv = ring->priv; bcmgenet_priv 1936 drivers/net/ethernet/broadcom/genet/bcmgenet.c static int bcmgenet_alloc_rx_buffers(struct bcmgenet_priv *priv, bcmgenet_priv 1958 drivers/net/ethernet/broadcom/genet/bcmgenet.c static void bcmgenet_free_rx_buffers(struct bcmgenet_priv *priv) bcmgenet_priv 1973 drivers/net/ethernet/broadcom/genet/bcmgenet.c static void umac_enable_set(struct bcmgenet_priv *priv, u32 mask, bool enable) bcmgenet_priv 1991 drivers/net/ethernet/broadcom/genet/bcmgenet.c static void reset_umac(struct bcmgenet_priv *priv) bcmgenet_priv 2004 drivers/net/ethernet/broadcom/genet/bcmgenet.c static void bcmgenet_intr_disable(struct bcmgenet_priv *priv) bcmgenet_priv 2013 drivers/net/ethernet/broadcom/genet/bcmgenet.c static void bcmgenet_link_intr_enable(struct bcmgenet_priv *priv) bcmgenet_priv 2033 drivers/net/ethernet/broadcom/genet/bcmgenet.c static void init_umac(struct bcmgenet_priv *priv) bcmgenet_priv 2115 drivers/net/ethernet/broadcom/genet/bcmgenet.c static void bcmgenet_init_tx_ring(struct bcmgenet_priv *priv, bcmgenet_priv 2175 drivers/net/ethernet/broadcom/genet/bcmgenet.c static int bcmgenet_init_rx_ring(struct bcmgenet_priv *priv, bcmgenet_priv 2233 drivers/net/ethernet/broadcom/genet/bcmgenet.c static void bcmgenet_enable_tx_napi(struct bcmgenet_priv *priv) bcmgenet_priv 2249 drivers/net/ethernet/broadcom/genet/bcmgenet.c static void bcmgenet_disable_tx_napi(struct bcmgenet_priv *priv) bcmgenet_priv 2263 drivers/net/ethernet/broadcom/genet/bcmgenet.c static void bcmgenet_fini_tx_napi(struct bcmgenet_priv *priv) bcmgenet_priv 2294 drivers/net/ethernet/broadcom/genet/bcmgenet.c struct bcmgenet_priv *priv = netdev_priv(dev); bcmgenet_priv 2346 drivers/net/ethernet/broadcom/genet/bcmgenet.c static void bcmgenet_enable_rx_napi(struct bcmgenet_priv *priv) bcmgenet_priv 2362 drivers/net/ethernet/broadcom/genet/bcmgenet.c static void bcmgenet_disable_rx_napi(struct bcmgenet_priv *priv) bcmgenet_priv 2378 drivers/net/ethernet/broadcom/genet/bcmgenet.c static void bcmgenet_fini_rx_napi(struct bcmgenet_priv *priv) bcmgenet_priv 2401 drivers/net/ethernet/broadcom/genet/bcmgenet.c struct bcmgenet_priv *priv = netdev_priv(dev); bcmgenet_priv 2452 drivers/net/ethernet/broadcom/genet/bcmgenet.c static int bcmgenet_dma_teardown(struct bcmgenet_priv *priv) bcmgenet_priv 2519 drivers/net/ethernet/broadcom/genet/bcmgenet.c static void bcmgenet_fini_dma(struct bcmgenet_priv *priv) bcmgenet_priv 2545 drivers/net/ethernet/broadcom/genet/bcmgenet.c static int bcmgenet_init_dma(struct bcmgenet_priv *priv) bcmgenet_priv 2607 drivers/net/ethernet/broadcom/genet/bcmgenet.c struct bcmgenet_priv *priv = container_of( bcmgenet_priv 2608 drivers/net/ethernet/broadcom/genet/bcmgenet.c work, struct bcmgenet_priv, bcmgenet_irq_work); bcmgenet_priv 2632 drivers/net/ethernet/broadcom/genet/bcmgenet.c struct bcmgenet_priv *priv = dev_id; bcmgenet_priv 2680 drivers/net/ethernet/broadcom/genet/bcmgenet.c struct bcmgenet_priv *priv = dev_id; bcmgenet_priv 2736 drivers/net/ethernet/broadcom/genet/bcmgenet.c struct bcmgenet_priv *priv = dev_id; bcmgenet_priv 2746 drivers/net/ethernet/broadcom/genet/bcmgenet.c struct bcmgenet_priv *priv = netdev_priv(dev); bcmgenet_priv 2760 drivers/net/ethernet/broadcom/genet/bcmgenet.c static void bcmgenet_umac_reset(struct bcmgenet_priv *priv) bcmgenet_priv 2774 drivers/net/ethernet/broadcom/genet/bcmgenet.c static void bcmgenet_set_hw_addr(struct bcmgenet_priv *priv, bcmgenet_priv 2783 drivers/net/ethernet/broadcom/genet/bcmgenet.c static u32 bcmgenet_dma_disable(struct bcmgenet_priv *priv) bcmgenet_priv 2805 drivers/net/ethernet/broadcom/genet/bcmgenet.c static void bcmgenet_enable_dma(struct bcmgenet_priv *priv, u32 dma_ctrl) bcmgenet_priv 2822 drivers/net/ethernet/broadcom/genet/bcmgenet.c static void bcmgenet_hfb_clear(struct bcmgenet_priv *priv) bcmgenet_priv 2842 drivers/net/ethernet/broadcom/genet/bcmgenet.c static void bcmgenet_hfb_init(struct bcmgenet_priv *priv) bcmgenet_priv 2852 drivers/net/ethernet/broadcom/genet/bcmgenet.c struct bcmgenet_priv *priv = netdev_priv(dev); bcmgenet_priv 2869 drivers/net/ethernet/broadcom/genet/bcmgenet.c struct bcmgenet_priv *priv = netdev_priv(dev); bcmgenet_priv 2960 drivers/net/ethernet/broadcom/genet/bcmgenet.c struct bcmgenet_priv *priv = netdev_priv(dev); bcmgenet_priv 2994 drivers/net/ethernet/broadcom/genet/bcmgenet.c struct bcmgenet_priv *priv = netdev_priv(dev); bcmgenet_priv 3017 drivers/net/ethernet/broadcom/genet/bcmgenet.c struct bcmgenet_priv *priv = ring->priv; bcmgenet_priv 3061 drivers/net/ethernet/broadcom/genet/bcmgenet.c struct bcmgenet_priv *priv = netdev_priv(dev); bcmgenet_priv 3092 drivers/net/ethernet/broadcom/genet/bcmgenet.c static inline void bcmgenet_set_mdf_addr(struct bcmgenet_priv *priv, bcmgenet_priv 3106 drivers/net/ethernet/broadcom/genet/bcmgenet.c struct bcmgenet_priv *priv = netdev_priv(dev); bcmgenet_priv 3173 drivers/net/ethernet/broadcom/genet/bcmgenet.c struct bcmgenet_priv *priv = netdev_priv(dev); bcmgenet_priv 3322 drivers/net/ethernet/broadcom/genet/bcmgenet.c static void bcmgenet_set_hw_params(struct bcmgenet_priv *priv) bcmgenet_priv 3442 drivers/net/ethernet/broadcom/genet/bcmgenet.c struct bcmgenet_priv *priv; bcmgenet_priv 3599 drivers/net/ethernet/broadcom/genet/bcmgenet.c struct bcmgenet_priv *priv = dev_to_priv(&pdev->dev); bcmgenet_priv 3613 drivers/net/ethernet/broadcom/genet/bcmgenet.c struct bcmgenet_priv *priv = netdev_priv(dev); bcmgenet_priv 3692 drivers/net/ethernet/broadcom/genet/bcmgenet.c struct bcmgenet_priv *priv = netdev_priv(dev); bcmgenet_priv 501 drivers/net/ethernet/broadcom/genet/bcmgenet.h struct bcmgenet_priv; bcmgenet_priv 574 drivers/net/ethernet/broadcom/genet/bcmgenet.h struct bcmgenet_priv *priv; bcmgenet_priv 604 drivers/net/ethernet/broadcom/genet/bcmgenet.h struct bcmgenet_priv *priv; bcmgenet_priv 684 drivers/net/ethernet/broadcom/genet/bcmgenet.h static inline u32 bcmgenet_##name##_readl(struct bcmgenet_priv *priv, \ bcmgenet_priv 695 drivers/net/ethernet/broadcom/genet/bcmgenet.h static inline void bcmgenet_##name##_writel(struct bcmgenet_priv *priv, \ bcmgenet_priv 732 drivers/net/ethernet/broadcom/genet/bcmgenet.h int bcmgenet_wol_power_down_cfg(struct bcmgenet_priv *priv, bcmgenet_priv 734 drivers/net/ethernet/broadcom/genet/bcmgenet.h void bcmgenet_wol_power_up_cfg(struct bcmgenet_priv *priv, bcmgenet_priv 43 drivers/net/ethernet/broadcom/genet/bcmgenet_wol.c struct bcmgenet_priv *priv = netdev_priv(dev); bcmgenet_priv 63 drivers/net/ethernet/broadcom/genet/bcmgenet_wol.c struct bcmgenet_priv *priv = netdev_priv(dev); bcmgenet_priv 105 drivers/net/ethernet/broadcom/genet/bcmgenet_wol.c static int bcmgenet_poll_wol_status(struct bcmgenet_priv *priv) bcmgenet_priv 123 drivers/net/ethernet/broadcom/genet/bcmgenet_wol.c int bcmgenet_wol_power_down_cfg(struct bcmgenet_priv *priv, bcmgenet_priv 175 drivers/net/ethernet/broadcom/genet/bcmgenet_wol.c void bcmgenet_wol_power_up_cfg(struct bcmgenet_priv *priv, bcmgenet_priv 33 drivers/net/ethernet/broadcom/genet/bcmmii.c struct bcmgenet_priv *priv = netdev_priv(dev); bcmgenet_priv 115 drivers/net/ethernet/broadcom/genet/bcmmii.c struct bcmgenet_priv *priv; bcmgenet_priv 129 drivers/net/ethernet/broadcom/genet/bcmmii.c struct bcmgenet_priv *priv = netdev_priv(dev); bcmgenet_priv 160 drivers/net/ethernet/broadcom/genet/bcmmii.c static void bcmgenet_moca_phy_setup(struct bcmgenet_priv *priv) bcmgenet_priv 178 drivers/net/ethernet/broadcom/genet/bcmmii.c struct bcmgenet_priv *priv = netdev_priv(dev); bcmgenet_priv 310 drivers/net/ethernet/broadcom/genet/bcmmii.c struct bcmgenet_priv *priv = netdev_priv(dev); bcmgenet_priv 370 drivers/net/ethernet/broadcom/genet/bcmmii.c static struct device_node *bcmgenet_mii_of_find_mdio(struct bcmgenet_priv *priv) bcmgenet_priv 390 drivers/net/ethernet/broadcom/genet/bcmmii.c static void bcmgenet_mii_pdata_init(struct bcmgenet_priv *priv, bcmgenet_priv 409 drivers/net/ethernet/broadcom/genet/bcmmii.c struct bcmgenet_priv *priv = wait_func_data; bcmgenet_priv 418 drivers/net/ethernet/broadcom/genet/bcmmii.c static int bcmgenet_mii_register(struct bcmgenet_priv *priv) bcmgenet_priv 477 drivers/net/ethernet/broadcom/genet/bcmmii.c static int bcmgenet_mii_of_init(struct bcmgenet_priv *priv) bcmgenet_priv 527 drivers/net/ethernet/broadcom/genet/bcmmii.c static int bcmgenet_mii_pd_init(struct bcmgenet_priv *priv) bcmgenet_priv 579 drivers/net/ethernet/broadcom/genet/bcmmii.c static int bcmgenet_mii_bus_init(struct bcmgenet_priv *priv) bcmgenet_priv 591 drivers/net/ethernet/broadcom/genet/bcmmii.c struct bcmgenet_priv *priv = netdev_priv(dev); bcmgenet_priv 611 drivers/net/ethernet/broadcom/genet/bcmmii.c struct bcmgenet_priv *priv = netdev_priv(dev);