Searched refs:phy_status (Results 1 - 25 of 28) sorted by relevance

12

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/char/rtl8365mb/
H A Drtl8367c_asicdrv_green.c172 rtk_uint32 phy_status; local
180 phy_status = (regData & 0x0007);
182 if(phy_status == 3)
225 if(phy_status == 3)
302 rtk_uint32 phy_status; local
312 phy_status = (regData & 0x0007);
314 if(phy_status == 3)
352 if(phy_status == 3)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/char/rtl8365mb/
H A Drtl8367c_asicdrv_green.c172 rtk_uint32 phy_status; local
180 phy_status = (regData & 0x0007);
182 if(phy_status == 3)
225 if(phy_status == 3)
302 rtk_uint32 phy_status; local
312 phy_status = (regData & 0x0007);
314 if(phy_status == 3)
352 if(phy_status == 3)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/staging/octeon/
H A Dcvmx-helper-board.c262 int phy_status = local
265 switch ((phy_status >> 8) & 0x7) {
314 int phy_status = local
323 if ((phy_status & (1 << 11)) == 0) {
328 phy_status |= 1 << 11;
336 if (phy_status & (1 << 11)) {
338 result.s.full_duplex = ((phy_status >> 13) & 1);
339 switch ((phy_status >> 14) & 3) {
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/staging/octeon/
H A Dcvmx-helper-board.c262 int phy_status = local
265 switch ((phy_status >> 8) & 0x7) {
314 int phy_status = local
323 if ((phy_status & (1 << 11)) == 0) {
328 phy_status |= 1 << 11;
336 if (phy_status & (1 << 11)) {
338 result.s.full_duplex = ((phy_status >> 13) & 1);
339 switch ((phy_status >> 14) & 3) {
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/scsi/mvsas/
H A Dmv_94xx.c33 u32 phy_status; local
37 phy_status = ((reg & 0x3f0000) >> 16) & 0xff;
39 switch (phy_status) {
503 mv_dprintk("get all reg link rate is 0x%x\n", phy->phy_status);
505 (phy->phy_status & PHY_NEG_SPP_PHYS_LINK_RATE_MASK) >>
H A Dmv_64xx.c603 (phy->phy_status & PHY_NEG_SPP_PHYS_LINK_RATE_MASK) >>
607 (phy->phy_status &
610 (phy->phy_status &
633 if (((phy->phy_status & PHY_NEG_SPP_PHYS_LINK_RATE_MASK) >>
H A Dmv_sas.h224 u32 phy_status; member in struct:mvs_phy
H A Dmv_sas.c1159 phy->phy_status = mvs_is_phy_ready(mvi, i);
1162 if (phy->phy_status) {
2127 phy->phy_status = mvs_is_phy_ready(mvi, phy_no);
2130 if (phy->phy_status) {
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/scsi/mvsas/
H A Dmv_94xx.c33 u32 phy_status; local
37 phy_status = ((reg & 0x3f0000) >> 16) & 0xff;
39 switch (phy_status) {
503 mv_dprintk("get all reg link rate is 0x%x\n", phy->phy_status);
505 (phy->phy_status & PHY_NEG_SPP_PHYS_LINK_RATE_MASK) >>
H A Dmv_64xx.c603 (phy->phy_status & PHY_NEG_SPP_PHYS_LINK_RATE_MASK) >>
607 (phy->phy_status &
610 (phy->phy_status &
633 if (((phy->phy_status & PHY_NEG_SPP_PHYS_LINK_RATE_MASK) >>
H A Dmv_sas.h224 u32 phy_status; member in struct:mvs_phy
H A Dmv_sas.c1159 phy->phy_status = mvs_is_phy_ready(mvi, i);
1162 if (phy->phy_status) {
2127 phy->phy_status = mvs_is_phy_ready(mvi, phy_no);
2130 if (phy->phy_status) {
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/net/igb/
H A De1000_phy.c1451 u16 i, phy_status; local
1455 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status);
1458 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status);
1461 if (phy_status & MII_SR_AUTONEG_COMPLETE)
1486 u16 i, phy_status; local
1494 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status);
1503 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status);
1506 if (phy_status & MII_SR_LINK_STATUS)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/net/igb/
H A De1000_phy.c1451 u16 i, phy_status; local
1455 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status);
1458 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status);
1461 if (phy_status & MII_SR_AUTONEG_COMPLETE)
1486 u16 i, phy_status; local
1494 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status);
1503 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status);
1506 if (phy_status & MII_SR_LINK_STATUS)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/net/ixgbe/
H A Dixgbe_82598.c750 s32 phy_status = 0; local
798 phy_status = hw->phy.ops.init(hw);
799 if (phy_status == IXGBE_ERR_SFP_NOT_SUPPORTED)
801 else if (phy_status == IXGBE_ERR_SFP_NOT_PRESENT)
868 if (phy_status)
869 status = phy_status;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/net/ixgbe/
H A Dixgbe_82598.c750 s32 phy_status = 0; local
798 phy_status = hw->phy.ops.init(hw);
799 if (phy_status == IXGBE_ERR_SFP_NOT_SUPPORTED)
801 else if (phy_status == IXGBE_ERR_SFP_NOT_PRESENT)
868 if (phy_status)
869 status = phy_status;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/cfe/cfe/dev/
H A Ddev_dp83815.c231 uint32_t phy_status; member in struct:dp83815_softc
1317 if ((status & M_CFG_FDUP) != (sc->phy_status & M_CFG_FDUP)) {
1338 sc->phy_status = status;
1358 sc->phy_status = 0;
1509 if (status != sc->phy_status) {
1530 sc->phy_status = READCSR(sc, R_CFG) & M_CFG_LNKSUMMARY;
H A Ddev_bcm5700.c433 uint16_t phy_status; member in struct:t3_ether_s
1214 if (status != sc->phy_status
1220 if (status != sc->phy_status)
1221 xprintf(" ST: %04x %04x", sc->phy_status, status);
1228 sc->phy_status = status;
1385 sc->phy_status = status;
1456 sc->phy_status = 0;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/net/e1000e/
H A Dphy.c1717 u16 i, phy_status; local
1721 ret_val = e1e_rphy(hw, PHY_STATUS, &phy_status);
1724 ret_val = e1e_rphy(hw, PHY_STATUS, &phy_status);
1727 if (phy_status & MII_SR_AUTONEG_COMPLETE)
1752 u16 i, phy_status; local
1760 ret_val = e1e_rphy(hw, PHY_STATUS, &phy_status);
1768 ret_val = e1e_rphy(hw, PHY_STATUS, &phy_status);
1771 if (phy_status & MII_SR_LINK_STATUS)
H A Dnetdev.c930 u16 phy_status, phy_1000t_status, phy_ext_status; local
933 e1e_rphy(hw, PHY_STATUS, &phy_status);
964 phy_status,
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/net/e1000e/
H A Dphy.c1717 u16 i, phy_status; local
1721 ret_val = e1e_rphy(hw, PHY_STATUS, &phy_status);
1724 ret_val = e1e_rphy(hw, PHY_STATUS, &phy_status);
1727 if (phy_status & MII_SR_AUTONEG_COMPLETE)
1752 u16 i, phy_status; local
1760 ret_val = e1e_rphy(hw, PHY_STATUS, &phy_status);
1768 ret_val = e1e_rphy(hw, PHY_STATUS, &phy_status);
1771 if (phy_status & MII_SR_LINK_STATUS)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/net/
H A Dtlan.c2810 u16 phy_status; local
2815 TLan_MiiReadReg( dev, phy, MII_GEN_STS, &phy_status );
2818 if (!(phy_status & MII_GS_LINK)) {
2829 if ((phy_status & MII_GS_LINK) && !priv->link) {
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/net/
H A Dtlan.c2810 u16 phy_status; local
2815 TLan_MiiReadReg( dev, phy, MII_GEN_STS, &phy_status );
2818 if (!(phy_status & MII_GS_LINK)) {
2829 if ((phy_status & MII_GS_LINK) && !priv->link) {
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/net/e1000/
H A De1000_main.c4151 u16 phy_status; local
4161 e1000_read_phy_reg(hw, PHY_1000T_STATUS, &phy_status);
4162 if (!(phy_status & SR_1000T_MS_CONFIG_FAULT)) return;
4163 e1000_read_phy_reg(hw, PHY_1000T_STATUS, &phy_status);
4164 if (!(phy_status & SR_1000T_MS_CONFIG_FAULT)) return;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/net/e1000/
H A De1000_main.c4151 u16 phy_status; local
4161 e1000_read_phy_reg(hw, PHY_1000T_STATUS, &phy_status);
4162 if (!(phy_status & SR_1000T_MS_CONFIG_FAULT)) return;
4163 e1000_read_phy_reg(hw, PHY_1000T_STATUS, &phy_status);
4164 if (!(phy_status & SR_1000T_MS_CONFIG_FAULT)) return;

Completed in 192 milliseconds

12