Searched refs:mii_autoneg_adv_reg (Results 1 – 12 of 12) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_hw.c | 286 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 …]
|
D | atl1e_ethtool.c | 94 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()
|
D | atl1e.h | 333 u16 mii_autoneg_adv_reg; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igc/ |
D | igc_phy.c | 234 u16 mii_autoneg_adv_reg; in igc_phy_setup_autoneg() local 240 ret_val = phy->ops.read_reg(hw, PHY_AUTONEG_ADV, &mii_autoneg_adv_reg); in igc_phy_setup_autoneg() 275 mii_autoneg_adv_reg &= ~(NWAY_AR_100TX_FD_CAPS | in igc_phy_setup_autoneg() 286 mii_autoneg_adv_reg |= NWAY_AR_10T_HD_CAPS; in igc_phy_setup_autoneg() 292 mii_autoneg_adv_reg |= NWAY_AR_10T_FD_CAPS; in igc_phy_setup_autoneg() 298 mii_autoneg_adv_reg |= NWAY_AR_100TX_HD_CAPS; in igc_phy_setup_autoneg() 304 mii_autoneg_adv_reg |= NWAY_AR_100TX_FD_CAPS; in igc_phy_setup_autoneg() 351 mii_autoneg_adv_reg &= ~(NWAY_AR_ASM_DIR | NWAY_AR_PAUSE); in igc_phy_setup_autoneg() 363 mii_autoneg_adv_reg |= (NWAY_AR_ASM_DIR | NWAY_AR_PAUSE); in igc_phy_setup_autoneg() 369 mii_autoneg_adv_reg |= NWAY_AR_ASM_DIR; in igc_phy_setup_autoneg() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/ |
D | e1000_phy.c | 927 u16 mii_autoneg_adv_reg; in igb_phy_setup_autoneg() local 933 ret_val = phy->ops.read_reg(hw, PHY_AUTONEG_ADV, &mii_autoneg_adv_reg); in igb_phy_setup_autoneg() 956 mii_autoneg_adv_reg &= ~(NWAY_AR_100TX_FD_CAPS | in igb_phy_setup_autoneg() 967 mii_autoneg_adv_reg |= NWAY_AR_10T_HD_CAPS; in igb_phy_setup_autoneg() 973 mii_autoneg_adv_reg |= NWAY_AR_10T_FD_CAPS; in igb_phy_setup_autoneg() 979 mii_autoneg_adv_reg |= NWAY_AR_100TX_HD_CAPS; in igb_phy_setup_autoneg() 985 mii_autoneg_adv_reg |= NWAY_AR_100TX_FD_CAPS; in igb_phy_setup_autoneg() 1020 mii_autoneg_adv_reg &= ~(NWAY_AR_ASM_DIR | NWAY_AR_PAUSE); in igb_phy_setup_autoneg() 1032 mii_autoneg_adv_reg |= (NWAY_AR_ASM_DIR | NWAY_AR_PAUSE); in igb_phy_setup_autoneg() 1038 mii_autoneg_adv_reg |= NWAY_AR_ASM_DIR; in igb_phy_setup_autoneg() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/e1000e/ |
D | phy.c | 921 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 …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/atheros/atlx/ |
D | atl2.c | 1044 atl2_write_phy_reg(hw, MII_ADVERTISE, hw->mii_autoneg_adv_reg); in atl2_phy_config() 2553 s16 mii_autoneg_adv_reg; in atl2_phy_setup_autoneg_adv() local 2556 mii_autoneg_adv_reg = MII_AR_DEFAULT_CAP_MASK; in atl2_phy_setup_autoneg_adv() 2568 mii_autoneg_adv_reg &= ~MII_AR_SPEED_MASK; in atl2_phy_setup_autoneg_adv() 2574 mii_autoneg_adv_reg |= in atl2_phy_setup_autoneg_adv() 2586 mii_autoneg_adv_reg |= MII_AR_100TX_FD_CAPS; in atl2_phy_setup_autoneg_adv() 2590 mii_autoneg_adv_reg |= MII_AR_100TX_HD_CAPS; in atl2_phy_setup_autoneg_adv() 2594 mii_autoneg_adv_reg |= MII_AR_10T_FD_CAPS; in atl2_phy_setup_autoneg_adv() 2598 mii_autoneg_adv_reg |= MII_AR_10T_HD_CAPS; in atl2_phy_setup_autoneg_adv() 2604 mii_autoneg_adv_reg |= (MII_AR_ASM_DIR | MII_AR_PAUSE); in atl2_phy_setup_autoneg_adv() [all …]
|
D | atl1.c | 696 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 …]
|
D | atl2.h | 395 u16 mii_autoneg_adv_reg; member
|
D | atl1.h | 726 u16 mii_autoneg_adv_reg; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/e1000/ |
D | e1000_hw.c | 1496 u16 mii_autoneg_adv_reg; in e1000_phy_setup_autoneg() local 1500 ret_val = e1000_read_phy_reg(hw, PHY_AUTONEG_ADV, &mii_autoneg_adv_reg); in e1000_phy_setup_autoneg() 1522 mii_autoneg_adv_reg &= ~REG4_SPEED_MASK; in e1000_phy_setup_autoneg() 1530 mii_autoneg_adv_reg |= NWAY_AR_10T_HD_CAPS; in e1000_phy_setup_autoneg() 1536 mii_autoneg_adv_reg |= NWAY_AR_10T_FD_CAPS; in e1000_phy_setup_autoneg() 1542 mii_autoneg_adv_reg |= NWAY_AR_100TX_HD_CAPS; in e1000_phy_setup_autoneg() 1548 mii_autoneg_adv_reg |= NWAY_AR_100TX_FD_CAPS; in e1000_phy_setup_autoneg() 1585 mii_autoneg_adv_reg &= ~(NWAY_AR_ASM_DIR | NWAY_AR_PAUSE); in e1000_phy_setup_autoneg() 1597 mii_autoneg_adv_reg |= (NWAY_AR_ASM_DIR | NWAY_AR_PAUSE); in e1000_phy_setup_autoneg() 1603 mii_autoneg_adv_reg |= NWAY_AR_ASM_DIR; in e1000_phy_setup_autoneg() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c.h | 387 u16 mii_autoneg_adv_reg; member
|