Searched refs:mii_autoneg_adv_reg (Results 1 – 11 of 11) sorted by relevance
299 u16 mii_autoneg_adv_reg; in atl1e_phy_setup_autoneg_adv() local302 if (0 != hw->mii_autoneg_adv_reg) in atl1e_phy_setup_autoneg_adv()305 mii_autoneg_adv_reg = MII_AR_DEFAULT_CAP_MASK; in atl1e_phy_setup_autoneg_adv()321 mii_autoneg_adv_reg &= ~ADVERTISE_ALL; in atl1e_phy_setup_autoneg_adv()330 mii_autoneg_adv_reg |= ADVERTISE_ALL; in atl1e_phy_setup_autoneg_adv()339 mii_autoneg_adv_reg |= ADVERTISE_100FULL; in atl1e_phy_setup_autoneg_adv()344 mii_autoneg_adv_reg |= ADVERTISE_100_HALF; in atl1e_phy_setup_autoneg_adv()349 mii_autoneg_adv_reg |= ADVERTISE_10_FULL; in atl1e_phy_setup_autoneg_adv()354 mii_autoneg_adv_reg |= ADVERTISE_10_HALF; in atl1e_phy_setup_autoneg_adv()360 mii_autoneg_adv_reg |= (ADVERTISE_PAUSE_ASYM | ADVERTISE_PAUSE_CAP); in atl1e_phy_setup_autoneg_adv()[all …]
98 adv4 = hw->mii_autoneg_adv_reg & ~ADVERTISE_ALL; in atl1e_set_settings()111 if (adv4 != hw->mii_autoneg_adv_reg || in atl1e_set_settings()113 hw->mii_autoneg_adv_reg = adv4; in atl1e_set_settings()
346 u16 mii_autoneg_adv_reg; member
952 u16 mii_autoneg_adv_reg; in igb_phy_setup_autoneg() local958 ret_val = phy->ops.read_reg(hw, PHY_AUTONEG_ADV, &mii_autoneg_adv_reg); in igb_phy_setup_autoneg()981 mii_autoneg_adv_reg &= ~(NWAY_AR_100TX_FD_CAPS | in igb_phy_setup_autoneg()992 mii_autoneg_adv_reg |= NWAY_AR_10T_HD_CAPS; in igb_phy_setup_autoneg()998 mii_autoneg_adv_reg |= NWAY_AR_10T_FD_CAPS; in igb_phy_setup_autoneg()1004 mii_autoneg_adv_reg |= NWAY_AR_100TX_HD_CAPS; in igb_phy_setup_autoneg()1010 mii_autoneg_adv_reg |= NWAY_AR_100TX_FD_CAPS; in igb_phy_setup_autoneg()1045 mii_autoneg_adv_reg &= ~(NWAY_AR_ASM_DIR | NWAY_AR_PAUSE); in igb_phy_setup_autoneg()1057 mii_autoneg_adv_reg |= (NWAY_AR_ASM_DIR | NWAY_AR_PAUSE); in igb_phy_setup_autoneg()1063 mii_autoneg_adv_reg |= NWAY_AR_ASM_DIR; in igb_phy_setup_autoneg()[all …]
939 u16 mii_autoneg_adv_reg; in e1000_phy_setup_autoneg() local945 ret_val = e1e_rphy(hw, MII_ADVERTISE, &mii_autoneg_adv_reg); in e1000_phy_setup_autoneg()967 mii_autoneg_adv_reg &= ~(ADVERTISE_100FULL | in e1000_phy_setup_autoneg()977 mii_autoneg_adv_reg |= ADVERTISE_10HALF; in e1000_phy_setup_autoneg()983 mii_autoneg_adv_reg |= ADVERTISE_10FULL; in e1000_phy_setup_autoneg()989 mii_autoneg_adv_reg |= ADVERTISE_100HALF; in e1000_phy_setup_autoneg()995 mii_autoneg_adv_reg |= ADVERTISE_100FULL; in e1000_phy_setup_autoneg()1030 mii_autoneg_adv_reg &= in e1000_phy_setup_autoneg()1043 mii_autoneg_adv_reg |= in e1000_phy_setup_autoneg()1050 mii_autoneg_adv_reg |= ADVERTISE_PAUSE_ASYM; in e1000_phy_setup_autoneg()[all …]
1067 atl2_write_phy_reg(hw, MII_ADVERTISE, hw->mii_autoneg_adv_reg); in atl2_phy_config()2583 s16 mii_autoneg_adv_reg; in atl2_phy_setup_autoneg_adv() local2586 mii_autoneg_adv_reg = MII_AR_DEFAULT_CAP_MASK; in atl2_phy_setup_autoneg_adv()2598 mii_autoneg_adv_reg &= ~MII_AR_SPEED_MASK; in atl2_phy_setup_autoneg_adv()2604 mii_autoneg_adv_reg |= in atl2_phy_setup_autoneg_adv()2616 mii_autoneg_adv_reg |= MII_AR_100TX_FD_CAPS; in atl2_phy_setup_autoneg_adv()2620 mii_autoneg_adv_reg |= MII_AR_100TX_HD_CAPS; in atl2_phy_setup_autoneg_adv()2624 mii_autoneg_adv_reg |= MII_AR_10T_FD_CAPS; in atl2_phy_setup_autoneg_adv()2628 mii_autoneg_adv_reg |= MII_AR_10T_HD_CAPS; in atl2_phy_setup_autoneg_adv()2634 mii_autoneg_adv_reg |= (MII_AR_ASM_DIR | MII_AR_PAUSE); in atl2_phy_setup_autoneg_adv()[all …]
715 s16 mii_autoneg_adv_reg; in atl1_phy_setup_autoneg_adv() local719 mii_autoneg_adv_reg = MII_AR_DEFAULT_CAP_MASK; in atl1_phy_setup_autoneg_adv()729 mii_autoneg_adv_reg &= ~MII_AR_SPEED_MASK; in atl1_phy_setup_autoneg_adv()738 mii_autoneg_adv_reg |= (MII_AR_10T_HD_CAPS | in atl1_phy_setup_autoneg_adv()750 mii_autoneg_adv_reg |= MII_AR_100TX_FD_CAPS; in atl1_phy_setup_autoneg_adv()754 mii_autoneg_adv_reg |= MII_AR_100TX_HD_CAPS; in atl1_phy_setup_autoneg_adv()758 mii_autoneg_adv_reg |= MII_AR_10T_FD_CAPS; in atl1_phy_setup_autoneg_adv()762 mii_autoneg_adv_reg |= MII_AR_10T_HD_CAPS; in atl1_phy_setup_autoneg_adv()767 mii_autoneg_adv_reg |= (MII_AR_ASM_DIR | MII_AR_PAUSE); in atl1_phy_setup_autoneg_adv()769 hw->mii_autoneg_adv_reg = mii_autoneg_adv_reg; in atl1_phy_setup_autoneg_adv()[all …]
411 u16 mii_autoneg_adv_reg; member
739 u16 mii_autoneg_adv_reg; member
1524 u16 mii_autoneg_adv_reg; in e1000_phy_setup_autoneg() local1528 ret_val = e1000_read_phy_reg(hw, PHY_AUTONEG_ADV, &mii_autoneg_adv_reg); in e1000_phy_setup_autoneg()1550 mii_autoneg_adv_reg &= ~REG4_SPEED_MASK; in e1000_phy_setup_autoneg()1558 mii_autoneg_adv_reg |= NWAY_AR_10T_HD_CAPS; in e1000_phy_setup_autoneg()1564 mii_autoneg_adv_reg |= NWAY_AR_10T_FD_CAPS; in e1000_phy_setup_autoneg()1570 mii_autoneg_adv_reg |= NWAY_AR_100TX_HD_CAPS; in e1000_phy_setup_autoneg()1576 mii_autoneg_adv_reg |= NWAY_AR_100TX_FD_CAPS; in e1000_phy_setup_autoneg()1613 mii_autoneg_adv_reg &= ~(NWAY_AR_ASM_DIR | NWAY_AR_PAUSE); in e1000_phy_setup_autoneg()1625 mii_autoneg_adv_reg |= (NWAY_AR_ASM_DIR | NWAY_AR_PAUSE); in e1000_phy_setup_autoneg()1631 mii_autoneg_adv_reg |= NWAY_AR_ASM_DIR; in e1000_phy_setup_autoneg()[all …]
400 u16 mii_autoneg_adv_reg; member