Lines Matching refs:xgene_enet_pdata

63 	struct xgene_enet_pdata *pdata = netdev_priv(ring->ndev);  in xgene_enet_ring_wr32()
71 struct xgene_enet_pdata *pdata = netdev_priv(ring->ndev); in xgene_enet_ring_rd32()
78 struct xgene_enet_pdata *pdata = netdev_priv(ring->ndev); in xgene_enet_write_ring_state()
223 static void xgene_enet_wr_csr(struct xgene_enet_pdata *pdata, in xgene_enet_wr_csr()
231 static void xgene_enet_wr_ring_if(struct xgene_enet_pdata *pdata, in xgene_enet_wr_ring_if()
239 static void xgene_enet_wr_diag_csr(struct xgene_enet_pdata *pdata, in xgene_enet_wr_diag_csr()
247 static void xgene_enet_wr_mcx_csr(struct xgene_enet_pdata *pdata, in xgene_enet_wr_mcx_csr()
255 void xgene_enet_wr_mac(struct xgene_enet_pdata *pdata, u32 wr_addr, u32 wr_data) in xgene_enet_wr_mac()
290 static void xgene_enet_rd_csr(struct xgene_enet_pdata *pdata, in xgene_enet_rd_csr()
298 static void xgene_enet_rd_diag_csr(struct xgene_enet_pdata *pdata, in xgene_enet_rd_diag_csr()
306 static void xgene_enet_rd_mcx_csr(struct xgene_enet_pdata *pdata, in xgene_enet_rd_mcx_csr()
314 u32 xgene_enet_rd_mac(struct xgene_enet_pdata *pdata, u32 rd_addr) in xgene_enet_rd_mac()
350 u32 xgene_enet_rd_stat(struct xgene_enet_pdata *pdata, u32 rd_addr) in xgene_enet_rd_stat()
379 static void xgene_gmac_set_mac_addr(struct xgene_enet_pdata *pdata) in xgene_gmac_set_mac_addr()
392 static int xgene_enet_ecc_init(struct xgene_enet_pdata *pdata) in xgene_enet_ecc_init()
412 static void xgene_gmac_reset(struct xgene_enet_pdata *pdata) in xgene_gmac_reset()
418 static void xgene_enet_configure_clock(struct xgene_enet_pdata *pdata) in xgene_enet_configure_clock()
457 static void xgene_gmac_set_speed(struct xgene_enet_pdata *pdata) in xgene_gmac_set_speed()
510 static void xgene_enet_set_frame_size(struct xgene_enet_pdata *pdata, int size) in xgene_enet_set_frame_size()
515 static void xgene_gmac_enable_tx_pause(struct xgene_enet_pdata *pdata, in xgene_gmac_enable_tx_pause()
530 static void xgene_gmac_flowctl_tx(struct xgene_enet_pdata *pdata, bool enable) in xgene_gmac_flowctl_tx()
546 static void xgene_gmac_flowctl_rx(struct xgene_enet_pdata *pdata, bool enable) in xgene_gmac_flowctl_rx()
560 static void xgene_gmac_init(struct xgene_enet_pdata *pdata) in xgene_gmac_init()
606 static void xgene_gmac_get_drop_cnt(struct xgene_enet_pdata *pdata, in xgene_gmac_get_drop_cnt()
618 static void xgene_enet_config_ring_if_assoc(struct xgene_enet_pdata *pdata) in xgene_enet_config_ring_if_assoc()
628 static void xgene_enet_cle_bypass(struct xgene_enet_pdata *pdata, in xgene_enet_cle_bypass()
651 static void xgene_gmac_rx_enable(struct xgene_enet_pdata *pdata) in xgene_gmac_rx_enable()
659 static void xgene_gmac_tx_enable(struct xgene_enet_pdata *pdata) in xgene_gmac_tx_enable()
667 static void xgene_gmac_rx_disable(struct xgene_enet_pdata *pdata) in xgene_gmac_rx_disable()
675 static void xgene_gmac_tx_disable(struct xgene_enet_pdata *pdata) in xgene_gmac_tx_disable()
683 bool xgene_ring_mgr_init(struct xgene_enet_pdata *p) in xgene_ring_mgr_init()
694 static int xgene_enet_reset(struct xgene_enet_pdata *pdata) in xgene_enet_reset()
732 static void xgene_enet_clear(struct xgene_enet_pdata *pdata, in xgene_enet_clear()
748 static void xgene_gport_shutdown(struct xgene_enet_pdata *pdata) in xgene_gport_shutdown()
760 struct xgene_enet_pdata *pdata = netdev_priv(ndev); in xgene_enet_flowctrl_cfg()
802 struct xgene_enet_pdata *pdata = netdev_priv(ndev); in xgene_enet_adjust_link()
845 struct xgene_enet_pdata *pdata = netdev_priv(ndev); in xgene_enet_phy_connect()
894 static int xgene_mdiobus_register(struct xgene_enet_pdata *pdata, in xgene_mdiobus_register()
943 int xgene_enet_mdio_config(struct xgene_enet_pdata *pdata) in xgene_enet_mdio_config()
977 void xgene_enet_phy_disconnect(struct xgene_enet_pdata *pdata) in xgene_enet_phy_disconnect()
985 void xgene_enet_mdio_remove(struct xgene_enet_pdata *pdata) in xgene_enet_mdio_remove()