Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/apm/xgene-v2/
Dmac.c20 u32 icm0, icm2, ecm0, mc2; in xge_mac_set_speed() local
23 icm0 = xge_rd_csr(pdata, ICM_CONFIG0_REG_0); in xge_mac_set_speed()
35 SET_REG_BITS(&icm0, CFG_MACMODE, 0); in xge_mac_set_speed()
42 SET_REG_BITS(&icm0, CFG_MACMODE, 1); in xge_mac_set_speed()
49 SET_REG_BITS(&icm0, CFG_MACMODE, 2); in xge_mac_set_speed()
61 xge_wr_csr(pdata, ICM_CONFIG0_REG_0, icm0); in xge_mac_set_speed()
/linux-6.1.9/drivers/net/ethernet/apm/xgene/
Dxgene_enet_sgmac.c228 u32 icm0, icm2, intf_ctl; in xgene_sgmac_set_speed() local
243 icm0 = xgene_enet_rd_mcx_csr(p, icm0_addr); in xgene_sgmac_set_speed()
252 CFG_MACMODE_SET(&icm0, 0); in xgene_sgmac_set_speed()
259 CFG_MACMODE_SET(&icm0, 1); in xgene_sgmac_set_speed()
266 CFG_MACMODE_SET(&icm0, 2); in xgene_sgmac_set_speed()
277 xgene_enet_wr_mcx_csr(p, icm0_addr, icm0); in xgene_sgmac_set_speed()
Dxgene_enet_hw.c459 u32 icm0, icm2, mc2; in xgene_gmac_set_speed() local
462 xgene_enet_rd_mcx_csr(pdata, ICM_CONFIG0_REG_0_ADDR, &icm0); in xgene_gmac_set_speed()
472 CFG_MACMODE_SET(&icm0, 0); in xgene_gmac_set_speed()
480 CFG_MACMODE_SET(&icm0, 1); in xgene_gmac_set_speed()
488 CFG_MACMODE_SET(&icm0, 2); in xgene_gmac_set_speed()
506 xgene_enet_wr_mcx_csr(pdata, ICM_CONFIG0_REG_0_ADDR, icm0); in xgene_gmac_set_speed()