Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/net/ethernet/apm/xgene/
Dxgene_enet_sgmac.c25 static void xgene_enet_wr_csr(struct xgene_enet_pdata *p, u32 offset, u32 val) in xgene_enet_wr_csr()
30 static void xgene_enet_wr_ring_if(struct xgene_enet_pdata *p, in xgene_enet_wr_ring_if()
36 static void xgene_enet_wr_diag_csr(struct xgene_enet_pdata *p, in xgene_enet_wr_diag_csr()
63 static void xgene_enet_wr_mac(struct xgene_enet_pdata *p, in xgene_enet_wr_mac()
77 static u32 xgene_enet_rd_csr(struct xgene_enet_pdata *p, u32 offset) in xgene_enet_rd_csr()
82 static u32 xgene_enet_rd_diag_csr(struct xgene_enet_pdata *p, u32 offset) in xgene_enet_rd_diag_csr()
111 static u32 xgene_enet_rd_mac(struct xgene_enet_pdata *p, u32 rd_addr) in xgene_enet_rd_mac()
123 static int xgene_enet_ecc_init(struct xgene_enet_pdata *p) in xgene_enet_ecc_init()
141 static void xgene_enet_config_ring_if_assoc(struct xgene_enet_pdata *p) in xgene_enet_config_ring_if_assoc()
149 static void xgene_mii_phy_write(struct xgene_enet_pdata *p, u8 phy_id, in xgene_mii_phy_write()
[all …]
Dxgene_enet_xgmac.c25 static void xgene_enet_wr_csr(struct xgene_enet_pdata *pdata, in xgene_enet_wr_csr()
33 static void xgene_enet_wr_ring_if(struct xgene_enet_pdata *pdata, in xgene_enet_wr_ring_if()
41 static void xgene_enet_wr_diag_csr(struct xgene_enet_pdata *pdata, in xgene_enet_wr_diag_csr()
72 static void xgene_enet_wr_mac(struct xgene_enet_pdata *pdata, in xgene_enet_wr_mac()
87 static void xgene_enet_rd_csr(struct xgene_enet_pdata *pdata, in xgene_enet_rd_csr()
95 static void xgene_enet_rd_diag_csr(struct xgene_enet_pdata *pdata, in xgene_enet_rd_diag_csr()
126 static void xgene_enet_rd_mac(struct xgene_enet_pdata *pdata, in xgene_enet_rd_mac()
141 static int xgene_enet_ecc_init(struct xgene_enet_pdata *pdata) in xgene_enet_ecc_init()
161 static void xgene_enet_config_ring_if_assoc(struct xgene_enet_pdata *pdata) in xgene_enet_config_ring_if_assoc()
169 static void xgene_xgmac_reset(struct xgene_enet_pdata *pdata) in xgene_xgmac_reset()
[all …]
Dxgene_enet_main.h91 void (*init)(struct xgene_enet_pdata *pdata);
92 void (*reset)(struct xgene_enet_pdata *pdata);
93 void (*tx_enable)(struct xgene_enet_pdata *pdata);
94 void (*rx_enable)(struct xgene_enet_pdata *pdata);
95 void (*tx_disable)(struct xgene_enet_pdata *pdata);
96 void (*rx_disable)(struct xgene_enet_pdata *pdata);
97 void (*set_mac_addr)(struct xgene_enet_pdata *pdata);
102 int (*reset)(struct xgene_enet_pdata *pdata);
103 void (*cle_bypass)(struct xgene_enet_pdata *pdata,
105 void (*shutdown)(struct xgene_enet_pdata *pdata);
[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()
190 struct xgene_enet_pdata *pdata, in xgene_enet_parse_error()
220 static void xgene_enet_wr_csr(struct xgene_enet_pdata *pdata, in xgene_enet_wr_csr()
228 static void xgene_enet_wr_ring_if(struct xgene_enet_pdata *pdata, in xgene_enet_wr_ring_if()
236 static void xgene_enet_wr_diag_csr(struct xgene_enet_pdata *pdata, in xgene_enet_wr_diag_csr()
244 static void xgene_enet_wr_mcx_csr(struct xgene_enet_pdata *pdata, in xgene_enet_wr_mcx_csr()
275 static void xgene_enet_wr_mcx_mac(struct xgene_enet_pdata *pdata, in xgene_enet_wr_mcx_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.c93 struct xgene_enet_pdata *pdata = netdev_priv(ring->ndev); in xgene_enet_dst_ring_num()
261 struct xgene_enet_pdata *pdata = netdev_priv(ndev); in xgene_enet_start_xmit()
303 struct xgene_enet_pdata *pdata; in xgene_enet_rx_frame()
365 struct xgene_enet_pdata *pdata = netdev_priv(ring->ndev); in xgene_enet_process_ring()
422 struct xgene_enet_pdata *pdata = netdev_priv(ndev); in xgene_enet_timeout()
429 struct xgene_enet_pdata *pdata = netdev_priv(ndev); in xgene_enet_register_irq()
455 struct xgene_enet_pdata *pdata; in xgene_enet_free_irq()
468 static void xgene_enet_napi_enable(struct xgene_enet_pdata *pdata) in xgene_enet_napi_enable()
481 static void xgene_enet_napi_disable(struct xgene_enet_pdata *pdata) in xgene_enet_napi_disable()
496 struct xgene_enet_pdata *pdata = netdev_priv(ndev); in xgene_enet_open()
[all …]
Dxgene_enet_ethtool.c28 #define XGENE_STAT(m) { #m, offsetof(struct xgene_enet_pdata, stats.m) }
48 struct xgene_enet_pdata *pdata = netdev_priv(ndev); in xgene_get_drvinfo()
59 struct xgene_enet_pdata *pdata = netdev_priv(ndev); in xgene_get_settings()
91 struct xgene_enet_pdata *pdata = netdev_priv(ndev); in xgene_set_settings()
Dxgene_enet_hw.h27 struct xgene_enet_pdata;
321 struct xgene_enet_pdata *pdata,
324 int xgene_enet_mdio_config(struct xgene_enet_pdata *pdata);
325 void xgene_enet_mdio_remove(struct xgene_enet_pdata *pdata);
326 bool xgene_ring_mgr_init(struct xgene_enet_pdata *p);