Lines Matching defs:p
14 static void xgene_enet_wr_csr(struct xgene_enet_pdata *p, u32 offset, u32 val) in xgene_enet_wr_csr()
19 static void xgene_enet_wr_clkrst_csr(struct xgene_enet_pdata *p, u32 offset, in xgene_enet_wr_clkrst_csr()
25 static void xgene_enet_wr_ring_if(struct xgene_enet_pdata *p, in xgene_enet_wr_ring_if()
31 static void xgene_enet_wr_diag_csr(struct xgene_enet_pdata *p, in xgene_enet_wr_diag_csr()
45 static u32 xgene_enet_rd_csr(struct xgene_enet_pdata *p, u32 offset) in xgene_enet_rd_csr()
50 static u32 xgene_enet_rd_diag_csr(struct xgene_enet_pdata *p, u32 offset) in xgene_enet_rd_diag_csr()
55 static u32 xgene_enet_rd_mcx_csr(struct xgene_enet_pdata *p, u32 offset) in xgene_enet_rd_mcx_csr()
60 static int xgene_enet_ecc_init(struct xgene_enet_pdata *p) in xgene_enet_ecc_init()
104 static void xgene_enet_config_ring_if_assoc(struct xgene_enet_pdata *p) in xgene_enet_config_ring_if_assoc()
113 static void xgene_mii_phy_write(struct xgene_enet_pdata *p, u8 phy_id, in xgene_mii_phy_write()
135 static u32 xgene_mii_phy_read(struct xgene_enet_pdata *p, u8 phy_id, u32 reg) in xgene_mii_phy_read()
160 static void xgene_sgmac_reset(struct xgene_enet_pdata *p) in xgene_sgmac_reset()
166 static void xgene_sgmac_set_mac_addr(struct xgene_enet_pdata *p) in xgene_sgmac_set_mac_addr()
180 static u32 xgene_enet_link_status(struct xgene_enet_pdata *p) in xgene_enet_link_status()
197 static void xgene_sgmii_configure(struct xgene_enet_pdata *p) in xgene_sgmii_configure()
205 static void xgene_sgmii_tbi_control_reset(struct xgene_enet_pdata *p) in xgene_sgmii_tbi_control_reset()
212 static void xgene_sgmii_reset(struct xgene_enet_pdata *p) in xgene_sgmii_reset()
225 static void xgene_sgmac_set_speed(struct xgene_enet_pdata *p) in xgene_sgmac_set_speed()
286 static void xgene_sgmii_enable_autoneg(struct xgene_enet_pdata *p) in xgene_sgmii_enable_autoneg()
303 static void xgene_sgmac_rxtx(struct xgene_enet_pdata *p, u32 bits, bool set) in xgene_sgmac_rxtx()
317 static void xgene_sgmac_flowctl_tx(struct xgene_enet_pdata *p, bool enable) in xgene_sgmac_flowctl_tx()
329 static void xgene_sgmac_init(struct xgene_enet_pdata *p) in xgene_sgmac_init()
417 static void xgene_sgmac_rx_enable(struct xgene_enet_pdata *p) in xgene_sgmac_rx_enable()
422 static void xgene_sgmac_tx_enable(struct xgene_enet_pdata *p) in xgene_sgmac_tx_enable()
427 static void xgene_sgmac_rx_disable(struct xgene_enet_pdata *p) in xgene_sgmac_rx_disable()
432 static void xgene_sgmac_tx_disable(struct xgene_enet_pdata *p) in xgene_sgmac_tx_disable()
437 static int xgene_enet_reset(struct xgene_enet_pdata *p) in xgene_enet_reset()
482 static void xgene_enet_cle_bypass(struct xgene_enet_pdata *p, in xgene_enet_cle_bypass()
524 static void xgene_enet_shutdown(struct xgene_enet_pdata *p) in xgene_enet_shutdown()
536 struct xgene_enet_pdata *p = container_of(to_delayed_work(work), in xgene_enet_link_state() local
565 static void xgene_sgmac_enable_tx_pause(struct xgene_enet_pdata *p, bool enable) in xgene_sgmac_enable_tx_pause()