Home
last modified time | relevance | path

Searched refs:mii_autoneg_adv_reg (Results 1 – 12 of 12) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/atheros/atl1e/ !
Datl1e_hw.c286 u16 mii_autoneg_adv_reg; in atl1e_phy_setup_autoneg_adv() local
289 if (0 != hw->mii_autoneg_adv_reg) in atl1e_phy_setup_autoneg_adv()
292 mii_autoneg_adv_reg = MII_AR_DEFAULT_CAP_MASK; in atl1e_phy_setup_autoneg_adv()
308 mii_autoneg_adv_reg &= ~ADVERTISE_ALL; in atl1e_phy_setup_autoneg_adv()
317 mii_autoneg_adv_reg |= ADVERTISE_ALL; in atl1e_phy_setup_autoneg_adv()
326 mii_autoneg_adv_reg |= ADVERTISE_100FULL; in atl1e_phy_setup_autoneg_adv()
331 mii_autoneg_adv_reg |= ADVERTISE_100_HALF; in atl1e_phy_setup_autoneg_adv()
336 mii_autoneg_adv_reg |= ADVERTISE_10_FULL; in atl1e_phy_setup_autoneg_adv()
341 mii_autoneg_adv_reg |= ADVERTISE_10_HALF; in atl1e_phy_setup_autoneg_adv()
347 mii_autoneg_adv_reg |= (ADVERTISE_PAUSE_ASYM | ADVERTISE_PAUSE_CAP); in atl1e_phy_setup_autoneg_adv()
[all …]
Datl1e_ethtool.c94 adv4 = hw->mii_autoneg_adv_reg & ~ADVERTISE_ALL; in atl1e_set_link_ksettings()
107 if (adv4 != hw->mii_autoneg_adv_reg || in atl1e_set_link_ksettings()
109 hw->mii_autoneg_adv_reg = adv4; in atl1e_set_link_ksettings()
Datl1e.h333 u16 mii_autoneg_adv_reg; member
/linux-6.1.9/drivers/net/ethernet/intel/igc/ !
Digc_phy.c224 u16 mii_autoneg_adv_reg; in igc_phy_setup_autoneg() local
230 ret_val = phy->ops.read_reg(hw, PHY_AUTONEG_ADV, &mii_autoneg_adv_reg); in igc_phy_setup_autoneg()
264 mii_autoneg_adv_reg &= ~(NWAY_AR_100TX_FD_CAPS | in igc_phy_setup_autoneg()
275 mii_autoneg_adv_reg |= NWAY_AR_10T_HD_CAPS; in igc_phy_setup_autoneg()
281 mii_autoneg_adv_reg |= NWAY_AR_10T_FD_CAPS; in igc_phy_setup_autoneg()
287 mii_autoneg_adv_reg |= NWAY_AR_100TX_HD_CAPS; in igc_phy_setup_autoneg()
293 mii_autoneg_adv_reg |= NWAY_AR_100TX_FD_CAPS; in igc_phy_setup_autoneg()
340 mii_autoneg_adv_reg &= ~(NWAY_AR_ASM_DIR | NWAY_AR_PAUSE); in igc_phy_setup_autoneg()
352 mii_autoneg_adv_reg |= (NWAY_AR_ASM_DIR | NWAY_AR_PAUSE); in igc_phy_setup_autoneg()
358 mii_autoneg_adv_reg |= NWAY_AR_ASM_DIR; in igc_phy_setup_autoneg()
[all …]
/linux-6.1.9/drivers/net/ethernet/intel/igb/ !
De1000_phy.c928 u16 mii_autoneg_adv_reg; in igb_phy_setup_autoneg() local
934 ret_val = phy->ops.read_reg(hw, PHY_AUTONEG_ADV, &mii_autoneg_adv_reg); in igb_phy_setup_autoneg()
957 mii_autoneg_adv_reg &= ~(NWAY_AR_100TX_FD_CAPS | in igb_phy_setup_autoneg()
968 mii_autoneg_adv_reg |= NWAY_AR_10T_HD_CAPS; in igb_phy_setup_autoneg()
974 mii_autoneg_adv_reg |= NWAY_AR_10T_FD_CAPS; in igb_phy_setup_autoneg()
980 mii_autoneg_adv_reg |= NWAY_AR_100TX_HD_CAPS; in igb_phy_setup_autoneg()
986 mii_autoneg_adv_reg |= NWAY_AR_100TX_FD_CAPS; in igb_phy_setup_autoneg()
1021 mii_autoneg_adv_reg &= ~(NWAY_AR_ASM_DIR | NWAY_AR_PAUSE); in igb_phy_setup_autoneg()
1033 mii_autoneg_adv_reg |= (NWAY_AR_ASM_DIR | NWAY_AR_PAUSE); in igb_phy_setup_autoneg()
1039 mii_autoneg_adv_reg |= NWAY_AR_ASM_DIR; in igb_phy_setup_autoneg()
[all …]
/linux-6.1.9/drivers/net/ethernet/intel/e1000e/ !
Dphy.c921 u16 mii_autoneg_adv_reg; in e1000_phy_setup_autoneg() local
927 ret_val = e1e_rphy(hw, MII_ADVERTISE, &mii_autoneg_adv_reg); in e1000_phy_setup_autoneg()
949 mii_autoneg_adv_reg &= ~(ADVERTISE_100FULL | in e1000_phy_setup_autoneg()
959 mii_autoneg_adv_reg |= ADVERTISE_10HALF; in e1000_phy_setup_autoneg()
965 mii_autoneg_adv_reg |= ADVERTISE_10FULL; in e1000_phy_setup_autoneg()
971 mii_autoneg_adv_reg |= ADVERTISE_100HALF; in e1000_phy_setup_autoneg()
977 mii_autoneg_adv_reg |= ADVERTISE_100FULL; in e1000_phy_setup_autoneg()
1012 mii_autoneg_adv_reg &= in e1000_phy_setup_autoneg()
1025 mii_autoneg_adv_reg |= in e1000_phy_setup_autoneg()
1032 mii_autoneg_adv_reg |= ADVERTISE_PAUSE_ASYM; in e1000_phy_setup_autoneg()
[all …]
/linux-6.1.9/drivers/net/ethernet/atheros/atlx/ !
Datl2.c1044 atl2_write_phy_reg(hw, MII_ADVERTISE, hw->mii_autoneg_adv_reg); in atl2_phy_config()
2530 s16 mii_autoneg_adv_reg; in atl2_phy_setup_autoneg_adv() local
2533 mii_autoneg_adv_reg = MII_AR_DEFAULT_CAP_MASK; in atl2_phy_setup_autoneg_adv()
2545 mii_autoneg_adv_reg &= ~MII_AR_SPEED_MASK; in atl2_phy_setup_autoneg_adv()
2551 mii_autoneg_adv_reg |= in atl2_phy_setup_autoneg_adv()
2563 mii_autoneg_adv_reg |= MII_AR_100TX_FD_CAPS; in atl2_phy_setup_autoneg_adv()
2567 mii_autoneg_adv_reg |= MII_AR_100TX_HD_CAPS; in atl2_phy_setup_autoneg_adv()
2571 mii_autoneg_adv_reg |= MII_AR_10T_FD_CAPS; in atl2_phy_setup_autoneg_adv()
2575 mii_autoneg_adv_reg |= MII_AR_10T_HD_CAPS; in atl2_phy_setup_autoneg_adv()
2581 mii_autoneg_adv_reg |= (MII_AR_ASM_DIR | MII_AR_PAUSE); in atl2_phy_setup_autoneg_adv()
[all …]
Datl1.c696 s16 mii_autoneg_adv_reg; in atl1_phy_setup_autoneg_adv() local
700 mii_autoneg_adv_reg = MII_AR_DEFAULT_CAP_MASK; in atl1_phy_setup_autoneg_adv()
710 mii_autoneg_adv_reg &= ~MII_AR_SPEED_MASK; in atl1_phy_setup_autoneg_adv()
719 mii_autoneg_adv_reg |= (MII_AR_10T_HD_CAPS | in atl1_phy_setup_autoneg_adv()
731 mii_autoneg_adv_reg |= MII_AR_100TX_FD_CAPS; in atl1_phy_setup_autoneg_adv()
735 mii_autoneg_adv_reg |= MII_AR_100TX_HD_CAPS; in atl1_phy_setup_autoneg_adv()
739 mii_autoneg_adv_reg |= MII_AR_10T_FD_CAPS; in atl1_phy_setup_autoneg_adv()
743 mii_autoneg_adv_reg |= MII_AR_10T_HD_CAPS; in atl1_phy_setup_autoneg_adv()
748 mii_autoneg_adv_reg |= (MII_AR_ASM_DIR | MII_AR_PAUSE); in atl1_phy_setup_autoneg_adv()
750 hw->mii_autoneg_adv_reg = mii_autoneg_adv_reg; in atl1_phy_setup_autoneg_adv()
[all …]
Datl2.h395 u16 mii_autoneg_adv_reg; member
Datl1.h726 u16 mii_autoneg_adv_reg; member
/linux-6.1.9/drivers/net/ethernet/intel/e1000/ !
De1000_hw.c1497 u16 mii_autoneg_adv_reg; in e1000_phy_setup_autoneg() local
1501 ret_val = e1000_read_phy_reg(hw, PHY_AUTONEG_ADV, &mii_autoneg_adv_reg); in e1000_phy_setup_autoneg()
1523 mii_autoneg_adv_reg &= ~REG4_SPEED_MASK; in e1000_phy_setup_autoneg()
1531 mii_autoneg_adv_reg |= NWAY_AR_10T_HD_CAPS; in e1000_phy_setup_autoneg()
1537 mii_autoneg_adv_reg |= NWAY_AR_10T_FD_CAPS; in e1000_phy_setup_autoneg()
1543 mii_autoneg_adv_reg |= NWAY_AR_100TX_HD_CAPS; in e1000_phy_setup_autoneg()
1549 mii_autoneg_adv_reg |= NWAY_AR_100TX_FD_CAPS; in e1000_phy_setup_autoneg()
1586 mii_autoneg_adv_reg &= ~(NWAY_AR_ASM_DIR | NWAY_AR_PAUSE); in e1000_phy_setup_autoneg()
1598 mii_autoneg_adv_reg |= (NWAY_AR_ASM_DIR | NWAY_AR_PAUSE); in e1000_phy_setup_autoneg()
1604 mii_autoneg_adv_reg |= NWAY_AR_ASM_DIR; in e1000_phy_setup_autoneg()
[all …]
/linux-6.1.9/drivers/net/ethernet/atheros/atl1c/ !
Datl1c.h386 u16 mii_autoneg_adv_reg; member