Home
last modified time | relevance | path

Searched refs:speed_sel (Results 1 – 6 of 6) sorted by relevance

/openbmc/u-boot/cmd/aspeed/nettest/
H A Dphy.c344 if (eng->run.speed_sel[0]) { in recov_phy_marvell()
371 if ( eng->run.speed_sel[ 0 ] ) { in phy_marvell()
380 if ( eng->run.speed_sel[ 0 ] ) { in phy_marvell()
405 if ( eng->run.speed_sel[ 0 ] ) { in recov_phy_marvell0()
436 if ( eng->run.speed_sel[ 0 ] ) { in phy_marvell0()
439 else if ( eng->run.speed_sel[ 1 ] ) { in phy_marvell0()
449 if ( eng->run.speed_sel[ 0 ] ) { in phy_marvell0()
507 …if ( eng->run.speed_sel[ 0 ] ) phy_write( eng, 1, 0x0002 );//01h[1:0]00 = 10 Mbps, 01 = 100 … in phy_marvell1()
508 …else if ( eng->run.speed_sel[ 1 ] ) phy_write( eng, 1, 0x0001 );//01h[1:0]00 = 10 Mbps, 01 = 100 … in phy_marvell1()
526 if ( eng->run.speed_sel[ 0 ] ) { in recov_phy_marvell2()
[all …]
H A Dmactest.c100 if (p_eng->run.speed_sel[0]) { in Print_Header()
102 } else if (p_eng->run.speed_sel[1]) { in Print_Header()
1231 if (0 == p_eng->run.speed_sel[speed]) { in test_start()
1239 if (p_eng->run.speed_sel[0]) in test_start()
1242 else if (p_eng->run.speed_sel[1]) in test_start()
1381 p_eng->run.speed_sel[speed] = 0; in test_start()
1501 mac_eng.run.speed_sel[i] = mac_eng.run.speed_cfg[i]; in mac_test()
H A Dcomminf.h504 uint8_t speed_sel[3]; member
H A Dmac.c948 if (eng->run.speed_sel[0]) { in init_mac()
950 } else if (eng->run.speed_sel[1]) { in init_mac()
2121 …if ( eng->run.speed_sel[ 0 ] ) { PRINTF( option, "\n[1G ]===================================… in PrintIO_Header()
2122 …else if ( eng->run.speed_sel[ 1 ] ) { PRINTF( option, "\n[100M]===================================… in PrintIO_Header()
/openbmc/linux/drivers/net/pcs/
H A Dpcs-xpcs.c362 int ret, speed_sel; in xpcs_config_usxgmii() local
366 speed_sel = DW_USXGMII_10; in xpcs_config_usxgmii()
369 speed_sel = DW_USXGMII_100; in xpcs_config_usxgmii()
372 speed_sel = DW_USXGMII_1000; in xpcs_config_usxgmii()
375 speed_sel = DW_USXGMII_2500; in xpcs_config_usxgmii()
378 speed_sel = DW_USXGMII_5000; in xpcs_config_usxgmii()
381 speed_sel = DW_USXGMII_10000; in xpcs_config_usxgmii()
401 ret |= speed_sel | DW_USXGMII_FULL; in xpcs_config_usxgmii()
/openbmc/linux/drivers/phy/marvell/
H A Dphy-mvebu-a3700-comphy.c631 u32 mask, data, speed_sel; in mvebu_a3700_comphy_ethernet_power_on() local
663 speed_sel = SERDES_SPEED_1_25_G; in mvebu_a3700_comphy_ethernet_power_on()
667 speed_sel = SERDES_SPEED_3_125_G; in mvebu_a3700_comphy_ethernet_power_on()
676 data = GEN_RX_SEL_VALUE(speed_sel) | GEN_TX_SEL_VALUE(speed_sel); in mvebu_a3700_comphy_ethernet_power_on()