Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/ethernet/apm/xgene/
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()
125 static void xgene_enet_rd_mac(struct xgene_enet_pdata *pdata, in xgene_enet_rd_mac()
140 static int xgene_enet_ecc_init(struct xgene_enet_pdata *pdata) in xgene_enet_ecc_init()
160 static void xgene_enet_config_ring_if_assoc(struct xgene_enet_pdata *pdata) in xgene_enet_config_ring_if_assoc()
168 static void xgene_xgmac_reset(struct xgene_enet_pdata *pdata) in xgene_xgmac_reset()
[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_ring_if(struct xgene_enet_pdata *p, in xgene_enet_wr_ring_if()
37 static void xgene_enet_wr_diag_csr(struct xgene_enet_pdata *p, in xgene_enet_wr_diag_csr()
43 static void xgene_enet_wr_mcx_csr(struct xgene_enet_pdata *pdata, in xgene_enet_wr_mcx_csr()
72 static void xgene_enet_wr_mac(struct xgene_enet_pdata *p, in xgene_enet_wr_mac()
86 static u32 xgene_enet_rd_csr(struct xgene_enet_pdata *p, u32 offset) in xgene_enet_rd_csr()
91 static u32 xgene_enet_rd_diag_csr(struct xgene_enet_pdata *p, u32 offset) in xgene_enet_rd_diag_csr()
120 static u32 xgene_enet_rd_mac(struct xgene_enet_pdata *p, u32 rd_addr) in xgene_enet_rd_mac()
132 static int xgene_enet_ecc_init(struct xgene_enet_pdata *p) in xgene_enet_ecc_init()
150 static void xgene_enet_config_ring_if_assoc(struct xgene_enet_pdata *p) in xgene_enet_config_ring_if_assoc()
[all …]
Dxgene_enet_main.h120 void (*init)(struct xgene_enet_pdata *pdata);
121 void (*reset)(struct xgene_enet_pdata *pdata);
122 void (*tx_enable)(struct xgene_enet_pdata *pdata);
123 void (*rx_enable)(struct xgene_enet_pdata *pdata);
124 void (*tx_disable)(struct xgene_enet_pdata *pdata);
125 void (*rx_disable)(struct xgene_enet_pdata *pdata);
126 void (*set_mac_addr)(struct xgene_enet_pdata *pdata);
127 void (*set_mss)(struct xgene_enet_pdata *pdata);
132 int (*reset)(struct xgene_enet_pdata *pdata);
133 void (*cle_bypass)(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()
90 struct xgene_enet_pdata *pdata = netdev_priv(ring->ndev); in xgene_enet_write_ring_state()
208 struct xgene_enet_pdata *pdata, in xgene_enet_parse_error()
238 static void xgene_enet_wr_csr(struct xgene_enet_pdata *pdata, in xgene_enet_wr_csr()
246 static void xgene_enet_wr_ring_if(struct xgene_enet_pdata *pdata, in xgene_enet_wr_ring_if()
254 static void xgene_enet_wr_diag_csr(struct xgene_enet_pdata *pdata, in xgene_enet_wr_diag_csr()
262 static void xgene_enet_wr_mcx_csr(struct xgene_enet_pdata *pdata, in xgene_enet_wr_mcx_csr()
293 static void xgene_enet_wr_mcx_mac(struct xgene_enet_pdata *pdata, in xgene_enet_wr_mcx_mac()
308 static void xgene_enet_rd_csr(struct xgene_enet_pdata *pdata, in xgene_enet_rd_csr()
[all …]
Dxgene_enet_main.c54 struct xgene_enet_pdata *pdata; in xgene_enet_refill_bufpool()
98 struct xgene_enet_pdata *pdata = netdev_priv(ring->ndev); in xgene_enet_dst_ring_num()
112 struct xgene_enet_pdata *pdata = netdev_priv(buf_pool->ndev); in xgene_enet_delete_bufpool()
192 struct xgene_enet_pdata *pdata = netdev_priv(ndev); in xgene_enet_work_msg()
292 struct xgene_enet_pdata *pdata = netdev_priv(tx_ring->ndev); in xgene_enet_setup_tx_desc()
432 struct xgene_enet_pdata *pdata = netdev_priv(ndev); in xgene_enet_start_xmit()
477 struct xgene_enet_pdata *pdata; in xgene_enet_rx_frame()
539 struct xgene_enet_pdata *pdata = netdev_priv(ring->ndev); in xgene_enet_process_ring()
618 struct xgene_enet_pdata *pdata = netdev_priv(ndev); in xgene_enet_timeout()
625 struct xgene_enet_pdata *pdata = netdev_priv(ndev); in xgene_enet_register_irq()
[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;
336 struct xgene_enet_pdata *pdata,
339 int xgene_enet_mdio_config(struct xgene_enet_pdata *pdata);
340 void xgene_enet_mdio_remove(struct xgene_enet_pdata *pdata);
341 bool xgene_ring_mgr_init(struct xgene_enet_pdata *p);
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()