Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/apm/xgene/
Dxgene_enet_main.h142 void (*init)(struct xgene_enet_pdata *pdata);
143 void (*reset)(struct xgene_enet_pdata *pdata);
144 void (*tx_enable)(struct xgene_enet_pdata *pdata);
145 void (*rx_enable)(struct xgene_enet_pdata *pdata);
146 void (*tx_disable)(struct xgene_enet_pdata *pdata);
147 void (*rx_disable)(struct xgene_enet_pdata *pdata);
148 void (*get_drop_cnt)(struct xgene_enet_pdata *pdata, u32 *rx, u32 *tx);
149 void (*set_speed)(struct xgene_enet_pdata *pdata);
150 void (*set_mac_addr)(struct xgene_enet_pdata *pdata);
151 void (*set_framesize)(struct xgene_enet_pdata *pdata, int framesize);
[all …]
Dxgene_enet_sgmac.c14 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()
37 static void xgene_enet_wr_mcx_csr(struct xgene_enet_pdata *pdata, in xgene_enet_wr_mcx_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()
86 static void xgene_sgmac_get_drop_cnt(struct xgene_enet_pdata *pdata, in xgene_sgmac_get_drop_cnt()
[all …]
Dxgene_enet_xgmac.c15 static void xgene_enet_wr_csr(struct xgene_enet_pdata *pdata, in xgene_enet_wr_csr()
23 static void xgene_enet_wr_ring_if(struct xgene_enet_pdata *pdata, in xgene_enet_wr_ring_if()
31 static void xgene_enet_wr_diag_csr(struct xgene_enet_pdata *pdata, in xgene_enet_wr_diag_csr()
62 static void xgene_enet_wr_pcs(struct xgene_enet_pdata *pdata, in xgene_enet_wr_pcs()
77 static void xgene_enet_wr_axg_csr(struct xgene_enet_pdata *pdata, in xgene_enet_wr_axg_csr()
85 static void xgene_enet_rd_csr(struct xgene_enet_pdata *pdata, in xgene_enet_rd_csr()
93 static void xgene_enet_rd_diag_csr(struct xgene_enet_pdata *pdata, in xgene_enet_rd_diag_csr()
124 static bool xgene_enet_rd_pcs(struct xgene_enet_pdata *pdata, in xgene_enet_rd_pcs()
143 static void xgene_enet_rd_axg_csr(struct xgene_enet_pdata *pdata, in xgene_enet_rd_axg_csr()
151 static int xgene_enet_ecc_init(struct xgene_enet_pdata *pdata) in xgene_enet_ecc_init()
[all …]
Dxgene_enet_hw.c63 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()
[all …]
Dxgene_enet_main.c71 struct xgene_enet_pdata *pdata; in xgene_enet_refill_pagepool()
123 struct xgene_enet_pdata *pdata; in xgene_enet_refill_bufpool()
228 struct xgene_enet_pdata *pdata = netdev_priv(cp_ring->ndev); in xgene_enet_tx_completion()
278 struct xgene_enet_pdata *pdata = netdev_priv(ndev); in xgene_enet_setup_mss()
410 struct xgene_enet_pdata *pdata = netdev_priv(tx_ring->ndev); in xgene_enet_setup_tx_desc()
552 struct xgene_enet_pdata *pdata = netdev_priv(ndev); in xgene_enet_start_xmit()
674 struct xgene_enet_pdata *pdata; in xgene_enet_rx_frame()
787 struct xgene_enet_pdata *pdata = netdev_priv(ndev); in xgene_enet_process_ring()
866 struct xgene_enet_pdata *pdata = netdev_priv(ndev); in xgene_enet_timeout()
881 struct xgene_enet_pdata *pdata = netdev_priv(ndev); in xgene_enet_set_irq_name()
[all …]
Dxgene_enet_hw.h15 struct xgene_enet_pdata;
424 int xgene_enet_mdio_config(struct xgene_enet_pdata *pdata);
425 void xgene_enet_mdio_remove(struct xgene_enet_pdata *pdata);
426 bool xgene_ring_mgr_init(struct xgene_enet_pdata *p);
428 void xgene_enet_phy_disconnect(struct xgene_enet_pdata *pdata);
429 u32 xgene_enet_rd_mac(struct xgene_enet_pdata *pdata, u32 rd_addr);
430 void xgene_enet_wr_mac(struct xgene_enet_pdata *pdata, u32 wr_addr,
432 u32 xgene_enet_rd_stat(struct xgene_enet_pdata *pdata, u32 rd_addr);
Dxgene_enet_ethtool.c102 struct xgene_enet_pdata *pdata = netdev_priv(ndev); in xgene_get_drvinfo()
112 struct xgene_enet_pdata *pdata = netdev_priv(ndev); in xgene_get_link_ksettings()
167 struct xgene_enet_pdata *pdata = netdev_priv(ndev); in xgene_set_link_ksettings()
216 static void xgene_get_extd_stats(struct xgene_enet_pdata *pdata) in xgene_get_extd_stats()
250 int xgene_extd_stats_init(struct xgene_enet_pdata *pdata) in xgene_extd_stats_init()
267 struct xgene_enet_pdata *pdata = netdev_priv(ndev); in xgene_get_ethtool_stats()
283 struct xgene_enet_pdata *pdata = netdev_priv(ndev); in xgene_get_pauseparam()
293 struct xgene_enet_pdata *pdata = netdev_priv(ndev); in xgene_set_pauseparam()
Dxgene_enet_cle.c23 static void xgene_cle_idt_to_hw(struct xgene_enet_pdata *pdata, in xgene_cle_idt_to_hw()
38 static void xgene_cle_dbptr_to_hw(struct xgene_enet_pdata *pdata, in xgene_cle_dbptr_to_hw()
155 static void xgene_cle_enable_ptree(struct xgene_enet_pdata *pdata, in xgene_cle_enable_ptree()
176 static int xgene_cle_setup_dbptr(struct xgene_enet_pdata *pdata, in xgene_cle_setup_dbptr()
563 static int xgene_cle_setup_node(struct xgene_enet_pdata *pdata, in xgene_cle_setup_node()
595 static int xgene_cle_setup_ptree(struct xgene_enet_pdata *pdata, in xgene_cle_setup_ptree()
613 static void xgene_cle_setup_def_dbptr(struct xgene_enet_pdata *pdata, in xgene_cle_setup_def_dbptr()
697 static int xgene_cle_set_rss_idt(struct xgene_enet_pdata *pdata) in xgene_cle_set_rss_idt()
729 static int xgene_cle_setup_rss(struct xgene_enet_pdata *pdata) in xgene_cle_setup_rss()
761 static int xgene_enet_cle_init(struct xgene_enet_pdata *pdata) in xgene_enet_cle_init()
Dxgene_enet_ring2.c58 struct xgene_enet_pdata *pdata = netdev_priv(ring->ndev); in xgene_enet_ring_wr32()
65 struct xgene_enet_pdata *pdata = netdev_priv(ring->ndev); in xgene_enet_write_ring_state()