Lines Matching defs:pdata
21 static void xgene_enet_wr_csr(struct xgene_enet_pdata *pdata, in xgene_enet_wr_csr()
29 static void xgene_enet_wr_ring_if(struct xgene_enet_pdata *pdata, in xgene_enet_wr_ring_if()
37 static void xgene_enet_wr_diag_csr(struct xgene_enet_pdata *pdata, in xgene_enet_wr_diag_csr()
68 static void xgene_enet_wr_pcs(struct xgene_enet_pdata *pdata, in xgene_enet_wr_pcs()
83 static void xgene_enet_wr_axg_csr(struct xgene_enet_pdata *pdata, in xgene_enet_wr_axg_csr()
91 static void xgene_enet_rd_csr(struct xgene_enet_pdata *pdata, in xgene_enet_rd_csr()
99 static void xgene_enet_rd_diag_csr(struct xgene_enet_pdata *pdata, in xgene_enet_rd_diag_csr()
130 static bool xgene_enet_rd_pcs(struct xgene_enet_pdata *pdata, in xgene_enet_rd_pcs()
149 static void xgene_enet_rd_axg_csr(struct xgene_enet_pdata *pdata, in xgene_enet_rd_axg_csr()
157 static int xgene_enet_ecc_init(struct xgene_enet_pdata *pdata) in xgene_enet_ecc_init()
177 static void xgene_xgmac_get_drop_cnt(struct xgene_enet_pdata *pdata, in xgene_xgmac_get_drop_cnt()
189 static void xgene_enet_config_ring_if_assoc(struct xgene_enet_pdata *pdata) in xgene_enet_config_ring_if_assoc()
197 static void xgene_xgmac_reset(struct xgene_enet_pdata *pdata) in xgene_xgmac_reset()
203 static void xgene_pcs_reset(struct xgene_enet_pdata *pdata) in xgene_pcs_reset()
214 static void xgene_xgmac_set_mac_addr(struct xgene_enet_pdata *pdata) in xgene_xgmac_set_mac_addr()
227 static void xgene_xgmac_set_mss(struct xgene_enet_pdata *pdata, in xgene_xgmac_set_mss()
245 static void xgene_xgmac_set_frame_size(struct xgene_enet_pdata *pdata, int size) in xgene_xgmac_set_frame_size()
251 static u32 xgene_enet_link_status(struct xgene_enet_pdata *pdata) in xgene_enet_link_status()
260 static void xgene_xgmac_enable_tx_pause(struct xgene_enet_pdata *pdata, in xgene_xgmac_enable_tx_pause()
275 static void xgene_xgmac_flowctl_tx(struct xgene_enet_pdata *pdata, bool enable) in xgene_xgmac_flowctl_tx()
291 static void xgene_xgmac_flowctl_rx(struct xgene_enet_pdata *pdata, bool enable) in xgene_xgmac_flowctl_rx()
305 static void xgene_xgmac_init(struct xgene_enet_pdata *pdata) in xgene_xgmac_init()
354 static void xgene_xgmac_rx_enable(struct xgene_enet_pdata *pdata) in xgene_xgmac_rx_enable()
362 static void xgene_xgmac_tx_enable(struct xgene_enet_pdata *pdata) in xgene_xgmac_tx_enable()
370 static void xgene_xgmac_rx_disable(struct xgene_enet_pdata *pdata) in xgene_xgmac_rx_disable()
378 static void xgene_xgmac_tx_disable(struct xgene_enet_pdata *pdata) in xgene_xgmac_tx_disable()
386 static int xgene_enet_reset(struct xgene_enet_pdata *pdata) in xgene_enet_reset()
419 static void xgene_enet_xgcle_bypass(struct xgene_enet_pdata *pdata, in xgene_enet_xgcle_bypass()
440 static void xgene_enet_shutdown(struct xgene_enet_pdata *pdata) in xgene_enet_shutdown()
450 static void xgene_enet_clear(struct xgene_enet_pdata *pdata, in xgene_enet_clear()
466 static int xgene_enet_gpio_lookup(struct xgene_enet_pdata *pdata) in xgene_enet_gpio_lookup()
482 struct xgene_enet_pdata *pdata = container_of(to_delayed_work(work), in xgene_enet_link_state() local