Searched refs:xgene_enet_wr_csr (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/apm/xgene/ |
D | xgene_enet_xgmac.c | 27 static void xgene_enet_wr_csr(struct xgene_enet_pdata *pdata, in xgene_enet_wr_csr() function 248 xgene_enet_wr_csr(pdata, XG_TSIF_MSS_REG0_ADDR + offset, data); in xgene_xgmac_set_mss() 328 xgene_enet_wr_csr(pdata, XG_RSIF_CONFIG_REG_ADDR, data); in xgene_xgmac_init() 333 xgene_enet_wr_csr(pdata, XG_RSIF_CONFIG1_REG_ADDR, data); in xgene_xgmac_init() 337 xgene_enet_wr_csr(pdata, XG_ENET_SPARE_CFG_REG_ADDR, data); in xgene_xgmac_init() 338 xgene_enet_wr_csr(pdata, XG_ENET_SPARE_CFG_REG_1_ADDR, 0x82); in xgene_xgmac_init() 339 xgene_enet_wr_csr(pdata, XGENET_RX_DV_GATE_REG_0_ADDR, 0); in xgene_xgmac_init() 340 xgene_enet_wr_csr(pdata, XG_CFG_BYPASS_ADDR, RESUME_TX); in xgene_xgmac_init() 354 xgene_enet_wr_csr(pdata, XG_RXBUF_PAUSE_THRESH, data); in xgene_xgmac_init() 434 xgene_enet_wr_csr(pdata, XCLE_BYPASS_REG0_ADDR, cb); in xgene_enet_xgcle_bypass() [all …]
|
D | xgene_enet_sgmac.c | 26 static void xgene_enet_wr_csr(struct xgene_enet_pdata *p, u32 offset, u32 val) in xgene_enet_wr_csr() function 282 xgene_enet_wr_csr(p, debug_addr, value); in xgene_sgmac_set_speed() 371 xgene_enet_wr_csr(p, enet_spare_cfg_reg, data); in xgene_sgmac_init() 381 xgene_enet_wr_csr(p, rsif_config_reg, data); in xgene_sgmac_init() 413 xgene_enet_wr_csr(p, pause_thres_reg, data1); in xgene_sgmac_init() 414 xgene_enet_wr_csr(p, pause_off_thres_reg, data2); in xgene_sgmac_init() 417 xgene_enet_wr_csr(p, pause_thres_reg, data); in xgene_sgmac_init() 424 xgene_enet_wr_csr(p, XG_ENET_SPARE_CFG_REG_1_ADDR, 0x84); in xgene_sgmac_init() 425 xgene_enet_wr_csr(p, cfg_bypass_reg, RESUME_TX); in xgene_sgmac_init() 509 xgene_enet_wr_csr(p, cle_bypass_reg0 + offset, data); in xgene_enet_cle_bypass() [all …]
|
D | xgene_enet_hw.c | 235 static void xgene_enet_wr_csr(struct xgene_enet_pdata *pdata, in xgene_enet_wr_csr() function 508 xgene_enet_wr_csr(pdata, DEBUG_REG_ADDR, value); in xgene_gmac_set_speed() 515 xgene_enet_wr_csr(pdata, RGMII_REG_0_ADDR, rgmii); in xgene_gmac_set_speed() 590 xgene_enet_wr_csr(pdata, RSIF_CONFIG_REG_ADDR, value); in xgene_gmac_init() 593 xgene_enet_wr_csr(pdata, RSIF_RAM_DBG_REG0_ADDR, 0); in xgene_gmac_init() 600 xgene_enet_wr_csr(pdata, RXBUF_PAUSE_THRESH, DEF_PAUSE_THRES); in xgene_gmac_init() 601 xgene_enet_wr_csr(pdata, RXBUF_PAUSE_OFF_THRESH, DEF_PAUSE_OFF_THRES); in xgene_gmac_init() 607 xgene_enet_wr_csr(pdata, CFG_LINK_AGGR_RESUME_0_ADDR, TX_PORT0); in xgene_gmac_init() 615 xgene_enet_wr_csr(pdata, CFG_BYPASS_ADDR, RESUME_TX); in xgene_gmac_init() 654 xgene_enet_wr_csr(pdata, CLE_BYPASS_REG0_0_ADDR, cb); in xgene_enet_cle_bypass() [all …]
|