Home
last modified time | relevance | path

Searched refs:intf_ctl (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/apm/xgene/
Dxgene_enet_sgmac.c228 u32 icm0, icm2, intf_ctl; in xgene_sgmac_set_speed() local
246 intf_ctl = xgene_enet_rd_mac(p, INTERFACE_CONTROL_ADDR); in xgene_sgmac_set_speed()
251 intf_ctl &= ~(ENET_LHD_MODE | ENET_GHD_MODE); in xgene_sgmac_set_speed()
257 intf_ctl &= ~ENET_GHD_MODE; in xgene_sgmac_set_speed()
258 intf_ctl |= ENET_LHD_MODE; in xgene_sgmac_set_speed()
264 intf_ctl &= ~ENET_LHD_MODE; in xgene_sgmac_set_speed()
265 intf_ctl |= ENET_GHD_MODE; in xgene_sgmac_set_speed()
276 xgene_enet_wr_mac(p, INTERFACE_CONTROL_ADDR, intf_ctl); in xgene_sgmac_set_speed()
Dxgene_enet_hw.c460 u32 intf_ctl, rgmii, value; in xgene_gmac_set_speed() local
465 intf_ctl = xgene_enet_rd_mac(pdata, INTERFACE_CONTROL_ADDR); in xgene_gmac_set_speed()
471 intf_ctl &= ~(ENET_LHD_MODE | ENET_GHD_MODE); in xgene_gmac_set_speed()
478 intf_ctl &= ~ENET_GHD_MODE; in xgene_gmac_set_speed()
479 intf_ctl |= ENET_LHD_MODE; in xgene_gmac_set_speed()
486 intf_ctl &= ~ENET_LHD_MODE; in xgene_gmac_set_speed()
487 intf_ctl |= ENET_GHD_MODE; in xgene_gmac_set_speed()
502 xgene_enet_wr_mac(pdata, INTERFACE_CONTROL_ADDR, intf_ctl); in xgene_gmac_set_speed()