Home
last modified time | relevance | path

Searched refs:xgene_enet_pdata (Results 1 – 9 of 9) sorted by relevance

/drivers/net/ethernet/apm/xgene/
Dxgene_enet_main.h155 void (*init)(struct xgene_enet_pdata *pdata);
156 void (*reset)(struct xgene_enet_pdata *pdata);
157 void (*tx_enable)(struct xgene_enet_pdata *pdata);
158 void (*rx_enable)(struct xgene_enet_pdata *pdata);
159 void (*tx_disable)(struct xgene_enet_pdata *pdata);
160 void (*rx_disable)(struct xgene_enet_pdata *pdata);
161 void (*get_drop_cnt)(struct xgene_enet_pdata *pdata, u32 *rx, u32 *tx);
162 void (*set_speed)(struct xgene_enet_pdata *pdata);
163 void (*set_mac_addr)(struct xgene_enet_pdata *pdata);
164 void (*set_framesize)(struct xgene_enet_pdata *pdata, int framesize);
[all …]
Dxgene_enet_sgmac.c26 static void xgene_enet_wr_csr(struct xgene_enet_pdata *p, u32 offset, u32 val) in xgene_enet_wr_csr()
31 static void xgene_enet_wr_clkrst_csr(struct xgene_enet_pdata *p, u32 offset, in xgene_enet_wr_clkrst_csr()
37 static void xgene_enet_wr_ring_if(struct xgene_enet_pdata *p, in xgene_enet_wr_ring_if()
43 static void xgene_enet_wr_diag_csr(struct xgene_enet_pdata *p, in xgene_enet_wr_diag_csr()
49 static void xgene_enet_wr_mcx_csr(struct xgene_enet_pdata *pdata, in xgene_enet_wr_mcx_csr()
57 static u32 xgene_enet_rd_csr(struct xgene_enet_pdata *p, u32 offset) in xgene_enet_rd_csr()
62 static u32 xgene_enet_rd_diag_csr(struct xgene_enet_pdata *p, u32 offset) in xgene_enet_rd_diag_csr()
67 static u32 xgene_enet_rd_mcx_csr(struct xgene_enet_pdata *p, u32 offset) in xgene_enet_rd_mcx_csr()
72 static int xgene_enet_ecc_init(struct xgene_enet_pdata *p) in xgene_enet_ecc_init()
98 static void xgene_sgmac_get_drop_cnt(struct xgene_enet_pdata *pdata, in xgene_sgmac_get_drop_cnt()
[all …]
Dxgene_enet_xgmac.c27 static void xgene_enet_wr_csr(struct xgene_enet_pdata *pdata, in xgene_enet_wr_csr()
35 static void xgene_enet_wr_ring_if(struct xgene_enet_pdata *pdata, in xgene_enet_wr_ring_if()
43 static void xgene_enet_wr_diag_csr(struct xgene_enet_pdata *pdata, in xgene_enet_wr_diag_csr()
74 static void xgene_enet_wr_pcs(struct xgene_enet_pdata *pdata, in xgene_enet_wr_pcs()
89 static void xgene_enet_wr_axg_csr(struct xgene_enet_pdata *pdata, in xgene_enet_wr_axg_csr()
97 static void xgene_enet_rd_csr(struct xgene_enet_pdata *pdata, in xgene_enet_rd_csr()
105 static void xgene_enet_rd_diag_csr(struct xgene_enet_pdata *pdata, in xgene_enet_rd_diag_csr()
136 static bool xgene_enet_rd_pcs(struct xgene_enet_pdata *pdata, in xgene_enet_rd_pcs()
155 static void xgene_enet_rd_axg_csr(struct xgene_enet_pdata *pdata, in xgene_enet_rd_axg_csr()
163 static int xgene_enet_ecc_init(struct xgene_enet_pdata *pdata) in xgene_enet_ecc_init()
[all …]
Dxgene_enet_hw.c75 struct xgene_enet_pdata *pdata = netdev_priv(ring->ndev); in xgene_enet_ring_wr32()
83 struct xgene_enet_pdata *pdata = netdev_priv(ring->ndev); in xgene_enet_ring_rd32()
90 struct xgene_enet_pdata *pdata = netdev_priv(ring->ndev); in xgene_enet_write_ring_state()
235 static void xgene_enet_wr_csr(struct xgene_enet_pdata *pdata, in xgene_enet_wr_csr()
243 static void xgene_enet_wr_ring_if(struct xgene_enet_pdata *pdata, in xgene_enet_wr_ring_if()
251 static void xgene_enet_wr_diag_csr(struct xgene_enet_pdata *pdata, in xgene_enet_wr_diag_csr()
259 static void xgene_enet_wr_mcx_csr(struct xgene_enet_pdata *pdata, in xgene_enet_wr_mcx_csr()
267 void xgene_enet_wr_mac(struct xgene_enet_pdata *pdata, u32 wr_addr, u32 wr_data) in xgene_enet_wr_mac()
302 static void xgene_enet_rd_csr(struct xgene_enet_pdata *pdata, in xgene_enet_rd_csr()
310 static void xgene_enet_rd_diag_csr(struct xgene_enet_pdata *pdata, in xgene_enet_rd_diag_csr()
[all …]
Dxgene_enet_main.c83 struct xgene_enet_pdata *pdata; in xgene_enet_refill_pagepool()
135 struct xgene_enet_pdata *pdata; in xgene_enet_refill_bufpool()
240 struct xgene_enet_pdata *pdata = netdev_priv(cp_ring->ndev); in xgene_enet_tx_completion()
290 struct xgene_enet_pdata *pdata = netdev_priv(ndev); in xgene_enet_setup_mss()
421 struct xgene_enet_pdata *pdata = netdev_priv(tx_ring->ndev); in xgene_enet_setup_tx_desc()
563 struct xgene_enet_pdata *pdata = netdev_priv(ndev); in xgene_enet_start_xmit()
685 struct xgene_enet_pdata *pdata; in xgene_enet_rx_frame()
796 struct xgene_enet_pdata *pdata = netdev_priv(ndev); in xgene_enet_process_ring()
875 struct xgene_enet_pdata *pdata = netdev_priv(ndev); in xgene_enet_timeout()
890 struct xgene_enet_pdata *pdata = netdev_priv(ndev); in xgene_enet_set_irq_name()
[all …]
Dxgene_enet_hw.h27 struct xgene_enet_pdata;
436 int xgene_enet_mdio_config(struct xgene_enet_pdata *pdata);
437 void xgene_enet_mdio_remove(struct xgene_enet_pdata *pdata);
438 bool xgene_ring_mgr_init(struct xgene_enet_pdata *p);
440 void xgene_enet_phy_disconnect(struct xgene_enet_pdata *pdata);
441 u32 xgene_enet_rd_mac(struct xgene_enet_pdata *pdata, u32 rd_addr);
442 void xgene_enet_wr_mac(struct xgene_enet_pdata *pdata, u32 wr_addr,
444 u32 xgene_enet_rd_stat(struct xgene_enet_pdata *pdata, u32 rd_addr);
Dxgene_enet_ethtool.c114 struct xgene_enet_pdata *pdata = netdev_priv(ndev); in xgene_get_drvinfo()
126 struct xgene_enet_pdata *pdata = netdev_priv(ndev); in xgene_get_link_ksettings()
181 struct xgene_enet_pdata *pdata = netdev_priv(ndev); in xgene_set_link_ksettings()
230 static void xgene_get_extd_stats(struct xgene_enet_pdata *pdata) in xgene_get_extd_stats()
264 int xgene_extd_stats_init(struct xgene_enet_pdata *pdata) in xgene_extd_stats_init()
281 struct xgene_enet_pdata *pdata = netdev_priv(ndev); in xgene_get_ethtool_stats()
297 struct xgene_enet_pdata *pdata = netdev_priv(ndev); in xgene_get_pauseparam()
307 struct xgene_enet_pdata *pdata = netdev_priv(ndev); in xgene_set_pauseparam()
Dxgene_enet_cle.c35 static void xgene_cle_idt_to_hw(struct xgene_enet_pdata *pdata, in xgene_cle_idt_to_hw()
50 static void xgene_cle_dbptr_to_hw(struct xgene_enet_pdata *pdata, in xgene_cle_dbptr_to_hw()
167 static void xgene_cle_enable_ptree(struct xgene_enet_pdata *pdata, in xgene_cle_enable_ptree()
188 static int xgene_cle_setup_dbptr(struct xgene_enet_pdata *pdata, in xgene_cle_setup_dbptr()
575 static int xgene_cle_setup_node(struct xgene_enet_pdata *pdata, in xgene_cle_setup_node()
607 static int xgene_cle_setup_ptree(struct xgene_enet_pdata *pdata, in xgene_cle_setup_ptree()
625 static void xgene_cle_setup_def_dbptr(struct xgene_enet_pdata *pdata, in xgene_cle_setup_def_dbptr()
709 static int xgene_cle_set_rss_idt(struct xgene_enet_pdata *pdata) in xgene_cle_set_rss_idt()
741 static int xgene_cle_setup_rss(struct xgene_enet_pdata *pdata) in xgene_cle_setup_rss()
773 static int xgene_enet_cle_init(struct xgene_enet_pdata *pdata) in xgene_enet_cle_init()
Dxgene_enet_ring2.c70 struct xgene_enet_pdata *pdata = netdev_priv(ring->ndev); in xgene_enet_ring_wr32()
77 struct xgene_enet_pdata *pdata = netdev_priv(ring->ndev); in xgene_enet_write_ring_state()