Home
last modified time | relevance | path

Searched refs:icm2 (Results 1 – 3 of 3) sorted by relevance

/drivers/net/ethernet/apm/xgene-v2/
Dmac.c20 u32 icm0, icm2, ecm0, mc2; in xge_mac_set_speed() local
24 icm2 = xge_rd_csr(pdata, ICM_CONFIG2_REG_0); in xge_mac_set_speed()
29 icm2 |= CFG_WAITASYNCRD_EN; in xge_mac_set_speed()
36 SET_REG_BITS(&icm2, CFG_WAITASYNCRD, 500); in xge_mac_set_speed()
43 SET_REG_BITS(&icm2, CFG_WAITASYNCRD, 80); in xge_mac_set_speed()
50 SET_REG_BITS(&icm2, CFG_WAITASYNCRD, 16); in xge_mac_set_speed()
62 xge_wr_csr(pdata, ICM_CONFIG2_REG_0, icm2); in xge_mac_set_speed()
/drivers/net/ethernet/apm/xgene/
Dxgene_enet_sgmac.c228 u32 icm0, icm2, intf_ctl; in xgene_sgmac_set_speed() local
244 icm2 = xgene_enet_rd_mcx_csr(p, icm2_addr); in xgene_sgmac_set_speed()
253 CFG_WAITASYNCRD_SET(&icm2, 500); in xgene_sgmac_set_speed()
260 CFG_WAITASYNCRD_SET(&icm2, 80); in xgene_sgmac_set_speed()
267 CFG_WAITASYNCRD_SET(&icm2, 16); in xgene_sgmac_set_speed()
278 xgene_enet_wr_mcx_csr(p, icm2_addr, icm2); in xgene_sgmac_set_speed()
Dxgene_enet_hw.c459 u32 icm0, icm2, mc2; in xgene_gmac_set_speed() local
463 xgene_enet_rd_mcx_csr(pdata, ICM_CONFIG2_REG_0_ADDR, &icm2); in xgene_gmac_set_speed()
473 CFG_WAITASYNCRD_SET(&icm2, 500); in xgene_gmac_set_speed()
481 CFG_WAITASYNCRD_SET(&icm2, 80); in xgene_gmac_set_speed()
489 CFG_WAITASYNCRD_SET(&icm2, 0); in xgene_gmac_set_speed()
507 xgene_enet_wr_mcx_csr(pdata, ICM_CONFIG2_REG_0_ADDR, icm2); in xgene_gmac_set_speed()