Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/apm/xgene/
H A 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);
149 void (*set_speed)(struct xgene_enet_pdata *pdata);
160 int (*reset)(struct xgene_enet_pdata *pdata);
161 void (*clear)(struct xgene_enet_pdata *pdata,
163 void (*cle_bypass)(struct xgene_enet_pdata *pdata,
165 void (*shutdown)(struct xgene_enet_pdata *pdata);
179 int (*cle_init)(struct xgene_enet_pdata *pdata);
[all …]
H A Dxgene_enet_sgmac.c25 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()
60 static int xgene_enet_ecc_init(struct xgene_enet_pdata *p) in xgene_enet_ecc_init()
160 static void xgene_sgmac_reset(struct xgene_enet_pdata *p) in xgene_sgmac_reset()
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()
212 static void xgene_sgmii_reset(struct xgene_enet_pdata *p) in xgene_sgmii_reset()
329 static void xgene_sgmac_init(struct xgene_enet_pdata *p) in xgene_sgmac_init()
437 static int xgene_enet_reset(struct xgene_enet_pdata *p) in xgene_enet_reset()
[all …]
H A 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()
85 static void xgene_enet_rd_csr(struct xgene_enet_pdata *pdata, in xgene_enet_rd_csr()
124 static bool xgene_enet_rd_pcs(struct xgene_enet_pdata *pdata, in xgene_enet_rd_pcs()
191 static void xgene_xgmac_reset(struct xgene_enet_pdata *pdata) in xgene_xgmac_reset()
197 static void xgene_pcs_reset(struct xgene_enet_pdata *pdata) in xgene_pcs_reset()
299 static void xgene_xgmac_init(struct xgene_enet_pdata *pdata) in xgene_xgmac_init()
380 static int xgene_enet_reset(struct xgene_enet_pdata *pdata) in xgene_enet_reset()
[all …]
H A 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()
412 static void xgene_gmac_reset(struct xgene_enet_pdata *pdata) in xgene_gmac_reset()
560 static void xgene_gmac_init(struct xgene_enet_pdata *pdata) in xgene_gmac_init()
683 bool xgene_ring_mgr_init(struct xgene_enet_pdata *p) in xgene_ring_mgr_init()
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()
[all …]
H A 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);
H A 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()
278 struct xgene_enet_pdata *pdata = netdev_priv(ndev); in xgene_enet_setup_mss()
674 struct xgene_enet_pdata *pdata; in xgene_enet_rx_frame()
938 struct xgene_enet_pdata *pdata; in xgene_enet_free_irq()
1050 struct xgene_enet_pdata *pdata; in xgene_enet_delete_ring()
1131 struct xgene_enet_pdata *pdata; in xgene_enet_free_desc_ring()
1552 struct xgene_enet_pdata *pdata) in xgene_get_port_id_acpi()
2018 struct xgene_enet_pdata *pdata; in xgene_enet_probe()
2132 struct xgene_enet_pdata *pdata; in xgene_enet_remove()
[all …]
H A 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()
H A 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()
H A 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()