Searched refs:mii_autoneg_adv_reg (Results 1 – 12 of 12) sorted by relevance
/linux-6.12.1/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
|
/linux-6.12.1/drivers/net/ethernet/intel/igc/ |
D | igc_phy.c | 221 u16 mii_autoneg_adv_reg; in igc_phy_setup_autoneg() local 227 ret_val = phy->ops.read_reg(hw, PHY_AUTONEG_ADV, &mii_autoneg_adv_reg); in igc_phy_setup_autoneg() 261 mii_autoneg_adv_reg &= ~(NWAY_AR_100TX_FD_CAPS | in igc_phy_setup_autoneg() 272 mii_autoneg_adv_reg |= NWAY_AR_10T_HD_CAPS; in igc_phy_setup_autoneg() 278 mii_autoneg_adv_reg |= NWAY_AR_10T_FD_CAPS; in igc_phy_setup_autoneg() 284 mii_autoneg_adv_reg |= NWAY_AR_100TX_HD_CAPS; in igc_phy_setup_autoneg() 290 mii_autoneg_adv_reg |= NWAY_AR_100TX_FD_CAPS; in igc_phy_setup_autoneg() 337 mii_autoneg_adv_reg &= ~(NWAY_AR_ASM_DIR | NWAY_AR_PAUSE); in igc_phy_setup_autoneg() 349 mii_autoneg_adv_reg |= (NWAY_AR_ASM_DIR | NWAY_AR_PAUSE); in igc_phy_setup_autoneg() 355 mii_autoneg_adv_reg |= NWAY_AR_ASM_DIR; in igc_phy_setup_autoneg() [all …]
|
/linux-6.12.1/drivers/net/ethernet/intel/igb/ |
D | e1000_phy.c | 928 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.12.1/drivers/net/ethernet/intel/e1000e/ |
D | phy.c | 962 u16 mii_autoneg_adv_reg; in e1000_phy_setup_autoneg() local 968 ret_val = e1e_rphy(hw, MII_ADVERTISE, &mii_autoneg_adv_reg); in e1000_phy_setup_autoneg() 990 mii_autoneg_adv_reg &= ~(ADVERTISE_100FULL | in e1000_phy_setup_autoneg() 1000 mii_autoneg_adv_reg |= ADVERTISE_10HALF; in e1000_phy_setup_autoneg() 1006 mii_autoneg_adv_reg |= ADVERTISE_10FULL; in e1000_phy_setup_autoneg() 1012 mii_autoneg_adv_reg |= ADVERTISE_100HALF; in e1000_phy_setup_autoneg() 1018 mii_autoneg_adv_reg |= ADVERTISE_100FULL; in e1000_phy_setup_autoneg() 1053 mii_autoneg_adv_reg &= in e1000_phy_setup_autoneg() 1068 mii_autoneg_adv_reg |= in e1000_phy_setup_autoneg() 1077 mii_autoneg_adv_reg |= ADVERTISE_PAUSE_ASYM; in e1000_phy_setup_autoneg() [all …]
|
/linux-6.12.1/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() 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 …]
|
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
|
/linux-6.12.1/drivers/net/ethernet/intel/e1000/ |
D | e1000_hw.c | 1498 u16 mii_autoneg_adv_reg; in e1000_phy_setup_autoneg() local 1502 ret_val = e1000_read_phy_reg(hw, PHY_AUTONEG_ADV, &mii_autoneg_adv_reg); in e1000_phy_setup_autoneg() 1524 mii_autoneg_adv_reg &= ~REG4_SPEED_MASK; in e1000_phy_setup_autoneg() 1532 mii_autoneg_adv_reg |= NWAY_AR_10T_HD_CAPS; in e1000_phy_setup_autoneg() 1538 mii_autoneg_adv_reg |= NWAY_AR_10T_FD_CAPS; in e1000_phy_setup_autoneg() 1544 mii_autoneg_adv_reg |= NWAY_AR_100TX_HD_CAPS; in e1000_phy_setup_autoneg() 1550 mii_autoneg_adv_reg |= NWAY_AR_100TX_FD_CAPS; in e1000_phy_setup_autoneg() 1587 mii_autoneg_adv_reg &= ~(NWAY_AR_ASM_DIR | NWAY_AR_PAUSE); in e1000_phy_setup_autoneg() 1599 mii_autoneg_adv_reg |= (NWAY_AR_ASM_DIR | NWAY_AR_PAUSE); in e1000_phy_setup_autoneg() 1605 mii_autoneg_adv_reg |= NWAY_AR_ASM_DIR; in e1000_phy_setup_autoneg() [all …]
|
/linux-6.12.1/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c.h | 386 u16 mii_autoneg_adv_reg; member
|