/openbmc/u-boot/include/linux/ |
H A D | mii.h | 100 #define LPA_100FULL 0x0100 /* Can do 100mbps full-duplex */ macro 110 #define LPA_DUPLEX (LPA_10FULL | LPA_100FULL) 111 #define LPA_100 (LPA_100FULL | LPA_100HALF | LPA_100BASE4) 172 if (negotiated & LPA_100FULL) in mii_nway_result() 173 ret = LPA_100FULL; in mii_nway_result()
|
/openbmc/linux/include/uapi/linux/ |
H A D | mii.h | 103 #define LPA_100FULL 0x0100 /* Can do 100mbps full-duplex */ macro 113 #define LPA_DUPLEX (LPA_10FULL | LPA_100FULL) 114 #define LPA_100 (LPA_100FULL | LPA_100HALF | LPA_100BASE4)
|
/openbmc/linux/drivers/net/phy/ |
H A D | swphy.c | 47 .lpa = LPA_100FULL | LPA_100HALF, 65 .lpa = LPA_10FULL | LPA_100FULL,
|
H A D | lxt.c | 257 if (lpa & (LPA_100FULL | LPA_100HALF)) { in lxt973a2_read_status() 260 if (lpa & LPA_100FULL) in lxt973a2_read_status()
|
/openbmc/linux/include/linux/ |
H A D | mii.h | 74 if (negotiated & LPA_100FULL) in mii_nway_result() 75 ret = LPA_100FULL; in mii_nway_result()
|
/openbmc/u-boot/drivers/net/ti/ |
H A D | davinci_emac.c | 294 if (tmp & (LPA_100FULL | LPA_10FULL)) { in gen_get_link_speed() 305 if (tmp & (LPA_100FULL | LPA_100HALF)) in gen_get_link_speed() 523 if (lpa_val & (LPA_100FULL | LPA_10FULL)) in davinci_eth_open()
|
/openbmc/linux/drivers/net/ethernet/ibm/emac/ |
H A D | phy.c | 247 } else if (lpa & (LPA_100FULL | LPA_100HALF)) { in genmii_read_link() 249 if (lpa & LPA_100FULL) in genmii_read_link()
|
/openbmc/u-boot/drivers/qe/ |
H A D | uec_phy.c | 430 if (status & (LPA_10FULL | LPA_100FULL)) in genmii_read_status() 434 if (status & (LPA_100FULL | LPA_100HALF)) in genmii_read_status()
|
/openbmc/u-boot/drivers/net/phy/ |
H A D | phy.c | 335 if (lpa & (LPA_100FULL | LPA_100HALF)) { in genphy_parse_link() 338 if (lpa & LPA_100FULL) in genphy_parse_link()
|
/openbmc/u-boot/common/ |
H A D | miiphyutil.c | 504 return ((anlpar & adv) & (LPA_10FULL | LPA_100FULL)) ? in miiphy_duplex()
|
/openbmc/linux/drivers/net/ethernet/sun/ |
H A D | sunhme.c | 514 hp->sw_lpa & (LPA_100HALF | LPA_100FULL) ? 100 : 10, in display_link_mode() 515 hp->sw_lpa & (LPA_100FULL | LPA_10FULL) ? "Full" : "Half"); in display_link_mode() 538 if (!(hp->sw_lpa & (LPA_10HALF | LPA_10FULL | LPA_100HALF | LPA_100FULL))) in set_happy_link_modes() 540 if (hp->sw_lpa & LPA_100FULL) in set_happy_link_modes() 2145 speed = ((hp->sw_lpa & (LPA_100HALF | LPA_100FULL)) ? in hme_get_link_ksettings() 2149 (hp->sw_lpa & (LPA_100FULL)) ? in hme_get_link_ksettings()
|
/openbmc/linux/drivers/net/ |
H A D | sungem_phy.c | 394 if (lpa & (LPA_10FULL | LPA_100FULL)) in genmii_read_link() 398 if (lpa & (LPA_100FULL | LPA_100HALF)) in genmii_read_link()
|
/openbmc/linux/drivers/net/usb/ |
H A D | rtl8150.c | 796 u32 speed = ((lpa & (LPA_100HALF | LPA_100FULL)) ? in rtl8150_get_link_ksettings() 801 ecmd->base.duplex = (lpa & LPA_100FULL) ? in rtl8150_get_link_ksettings()
|
/openbmc/u-boot/drivers/net/ |
H A D | ftmac110.c | 168 if (tmp & LPA_100FULL) /* 100Mbps full-duplex */ in ftmac110_phyqry()
|
H A D | fec_mxc.c | 252 LPA_100FULL | LPA_100HALF | LPA_10FULL | in miiphy_restart_aneg()
|
/openbmc/linux/drivers/net/ethernet/atheros/atl1c/ |
H A D | atl1c_hw.c | 733 else if (mii_lpa_data & LPA_100FULL) in atl1c_phy_to_ps_link()
|
/openbmc/linux/drivers/net/ethernet/natsemi/ |
H A D | natsemi.c | 1682 if (tmp == LPA_100FULL || tmp == LPA_10FULL) in check_link() 2892 if (tmp == LPA_100FULL || tmp == LPA_100HALF) in netdev_get_ecmd() 2896 if (tmp == LPA_100FULL || tmp == LPA_10FULL) in netdev_get_ecmd()
|
/openbmc/linux/drivers/net/dsa/microchip/ |
H A D | ksz8795.c | 739 data |= LPA_100FULL; in ksz8_r_phy()
|
/openbmc/linux/drivers/net/ethernet/dec/tulip/ |
H A D | winbond-840.c | 705 duplex = (negotiated & LPA_100FULL) || ((negotiated & 0x02C0) == LPA_10FULL); in update_link()
|
/openbmc/linux/drivers/net/ethernet/smsc/ |
H A D | epic100.c | 712 if ((mii_lpa & LPA_100FULL) || (mii_lpa & 0x01C0) == LPA_10FULL) in epic_open()
|
/openbmc/linux/drivers/net/ethernet/sis/ |
H A D | sis190.c | 953 { LPA_100FULL, 0x04000800 | 0x00001000, in sis190_phy_task()
|
/openbmc/linux/drivers/net/ethernet/adaptec/ |
H A D | starfire.c | 1637 if (reg4 & ADVERTISE_100FULL && reg5 & LPA_100FULL) { in netdev_media_change()
|
/openbmc/linux/drivers/net/ethernet/realtek/ |
H A D | 8139too.c | 1577 int duplex = ((mii_lpa & LPA_100FULL) || in rtl8139_thread_iter()
|
/openbmc/linux/drivers/net/ethernet/nvidia/ |
H A D | forcedeth.c | 3422 if (np->fixed_mode & LPA_100FULL) { in nv_update_linkspeed() 3465 if (adv_lpa & LPA_100FULL) { in nv_update_linkspeed()
|
/openbmc/linux/drivers/net/ethernet/intel/e1000e/ |
H A D | ich8lan.c | 893 if (data & LPA_100FULL) in e1000_set_eee_pchlan()
|