Home
last modified time | relevance | path

Searched refs:linkmode_test_bit (Results 1 – 20 of 20) sorted by relevance

/linux-6.1.9/drivers/net/phy/
Dmarvell-88x2222.c118 if ((linkmode_test_bit(ETHTOOL_LINK_MODE_1000baseT_Full_BIT, in mv2222_set_sgmii_speed()
120 linkmode_test_bit(ETHTOOL_LINK_MODE_1000baseT_Half_BIT, in mv2222_set_sgmii_speed()
129 if ((linkmode_test_bit(ETHTOOL_LINK_MODE_100baseT_Full_BIT, in mv2222_set_sgmii_speed()
131 linkmode_test_bit(ETHTOOL_LINK_MODE_100baseT_Half_BIT, in mv2222_set_sgmii_speed()
139 if ((linkmode_test_bit(ETHTOOL_LINK_MODE_10baseT_Full_BIT, in mv2222_set_sgmii_speed()
141 linkmode_test_bit(ETHTOOL_LINK_MODE_10baseT_Half_BIT, in mv2222_set_sgmii_speed()
156 return (linkmode_test_bit(ETHTOOL_LINK_MODE_10000baseT_Full_BIT, in mv2222_is_10g_capable()
158 linkmode_test_bit(ETHTOOL_LINK_MODE_10000baseCR_Full_BIT, in mv2222_is_10g_capable()
160 linkmode_test_bit(ETHTOOL_LINK_MODE_10000baseSR_Full_BIT, in mv2222_is_10g_capable()
162 linkmode_test_bit(ETHTOOL_LINK_MODE_10000baseLR_Full_BIT, in mv2222_is_10g_capable()
[all …]
Dlinkmode.c31 if (linkmode_test_bit(ETHTOOL_LINK_MODE_Pause_BIT, m)) { in linkmode_resolve_pause()
34 } else if (linkmode_test_bit(ETHTOOL_LINK_MODE_Asym_Pause_BIT, m)) { in linkmode_resolve_pause()
35 *tx_pause = linkmode_test_bit(ETHTOOL_LINK_MODE_Pause_BIT, in linkmode_resolve_pause()
37 *rx_pause = linkmode_test_bit(ETHTOOL_LINK_MODE_Pause_BIT, in linkmode_resolve_pause()
Daquantia_main.c254 if (linkmode_test_bit(ETHTOOL_LINK_MODE_1000baseT_Full_BIT, in aqr_config_aneg()
258 if (linkmode_test_bit(ETHTOOL_LINK_MODE_1000baseT_Half_BIT, in aqr_config_aneg()
263 if (linkmode_test_bit(ETHTOOL_LINK_MODE_2500baseT_Full_BIT, in aqr_config_aneg()
267 if (linkmode_test_bit(ETHTOOL_LINK_MODE_5000baseT_Full_BIT, in aqr_config_aneg()
Dphy_device.c1990 if (linkmode_test_bit(ETHTOOL_LINK_MODE_1000baseX_Full_BIT, in genphy_c37_config_advert()
1993 if (linkmode_test_bit(ETHTOOL_LINK_MODE_Pause_BIT, in genphy_c37_config_advert()
1996 if (linkmode_test_bit(ETHTOOL_LINK_MODE_Asym_Pause_BIT, in genphy_c37_config_advert()
2684 linkmode_test_bit(ETHTOOL_LINK_MODE_Asym_Pause_BIT, src)); in phy_copy_pause_bits()
2686 linkmode_test_bit(ETHTOOL_LINK_MODE_Pause_BIT, src)); in phy_copy_pause_bits()
2792 if (!linkmode_test_bit(ETHTOOL_LINK_MODE_Pause_BIT, in phy_validate_pause()
2796 if (!linkmode_test_bit(ETHTOOL_LINK_MODE_Asym_Pause_BIT, in phy_validate_pause()
3071 if (!linkmode_test_bit(ETHTOOL_LINK_MODE_Autoneg_BIT, in phy_probe()
3075 if (linkmode_test_bit(ETHTOOL_LINK_MODE_1000baseT_Half_BIT, in phy_probe()
3078 if (linkmode_test_bit(ETHTOOL_LINK_MODE_1000baseT_Full_BIT, in phy_probe()
Dmarvell.c621 if (linkmode_test_bit(ETHTOOL_LINK_MODE_1000baseT_Half_BIT, advertise)) in linkmode_adv_to_fiber_adv_t()
623 if (linkmode_test_bit(ETHTOOL_LINK_MODE_1000baseT_Full_BIT, advertise)) in linkmode_adv_to_fiber_adv_t()
626 if (linkmode_test_bit(ETHTOOL_LINK_MODE_Asym_Pause_BIT, advertise) && in linkmode_adv_to_fiber_adv_t()
627 linkmode_test_bit(ETHTOOL_LINK_MODE_Pause_BIT, advertise)) in linkmode_adv_to_fiber_adv_t()
629 else if (linkmode_test_bit(ETHTOOL_LINK_MODE_Pause_BIT, advertise)) in linkmode_adv_to_fiber_adv_t()
1697 if (linkmode_test_bit(ETHTOOL_LINK_MODE_FIBRE_BIT, in marvell_read_status()
1741 if (linkmode_test_bit(ETHTOOL_LINK_MODE_FIBRE_BIT, in marvell_suspend()
1776 if (linkmode_test_bit(ETHTOOL_LINK_MODE_FIBRE_BIT, in marvell_resume()
1942 if (linkmode_test_bit(ETHTOOL_LINK_MODE_FIBRE_BIT, in marvell_get_sset_count()
Dbcm-phy-lib.c391 if (linkmode_test_bit(ETHTOOL_LINK_MODE_1000baseT_Full_BIT, in bcm_phy_set_eee()
394 if (linkmode_test_bit(ETHTOOL_LINK_MODE_100baseT_Full_BIT, in bcm_phy_set_eee()
Dphy-core.c412 phydev->pause = linkmode_test_bit(ETHTOOL_LINK_MODE_Pause_BIT, in phy_resolve_aneg_pause()
414 phydev->asym_pause = linkmode_test_bit( in phy_resolve_aneg_pause()
Dphy.c79 local_pause = linkmode_test_bit(ETHTOOL_LINK_MODE_Pause_BIT, in phy_pause_str()
81 local_asym_pause = linkmode_test_bit(ETHTOOL_LINK_MODE_Asym_Pause_BIT, in phy_pause_str()
Dphylink.c3159 if (linkmode_test_bit(fd_bit, state->advertising) && in phylink_decode_c37_word()
3160 linkmode_test_bit(fd_bit, state->lp_advertising)) { in phylink_decode_c37_word()
3348 if (linkmode_test_bit(ETHTOOL_LINK_MODE_Pause_BIT, in phylink_mii_c22_pcs_encode_advertisement()
3351 if (linkmode_test_bit(ETHTOOL_LINK_MODE_Asym_Pause_BIT, in phylink_mii_c22_pcs_encode_advertisement()
3398 linkmode_test_bit(ETHTOOL_LINK_MODE_Autoneg_BIT, advertising))) in phylink_mii_c22_pcs_config()
Dphy-c45.c917 if (linkmode_test_bit(ETHTOOL_LINK_MODE_2500baseT_Full_BIT, phydev->supported)) { in genphy_c45_fast_retrain()
Ddp83869.c165 if (linkmode_test_bit(ETHTOOL_LINK_MODE_FIBRE_BIT, phydev->supported)) { in dp83869_read_status()
Drealtek.c665 if (linkmode_test_bit(ETHTOOL_LINK_MODE_2500baseT_Full_BIT, in rtl822x_config_aneg()
Dat803x.c1348 if (linkmode_test_bit(ETHTOOL_LINK_MODE_2500baseT_Full_BIT, phydev->advertising)) in at803x_config_aneg()
/linux-6.1.9/include/linux/
Dmii.h147 if (linkmode_test_bit(ETHTOOL_LINK_MODE_10baseT_Half_BIT, advertising)) in linkmode_adv_to_mii_adv_t()
149 if (linkmode_test_bit(ETHTOOL_LINK_MODE_10baseT_Full_BIT, advertising)) in linkmode_adv_to_mii_adv_t()
151 if (linkmode_test_bit(ETHTOOL_LINK_MODE_100baseT_Half_BIT, advertising)) in linkmode_adv_to_mii_adv_t()
153 if (linkmode_test_bit(ETHTOOL_LINK_MODE_100baseT_Full_BIT, advertising)) in linkmode_adv_to_mii_adv_t()
155 if (linkmode_test_bit(ETHTOOL_LINK_MODE_Pause_BIT, advertising)) in linkmode_adv_to_mii_adv_t()
157 if (linkmode_test_bit(ETHTOOL_LINK_MODE_Asym_Pause_BIT, advertising)) in linkmode_adv_to_mii_adv_t()
222 if (linkmode_test_bit(ETHTOOL_LINK_MODE_1000baseT_Half_BIT, in linkmode_adv_to_mii_ctrl1000_t()
225 if (linkmode_test_bit(ETHTOOL_LINK_MODE_1000baseT_Full_BIT, in linkmode_adv_to_mii_ctrl1000_t()
460 if (linkmode_test_bit(ETHTOOL_LINK_MODE_Pause_BIT, in linkmode_adv_to_lcl_adv_t()
463 if (linkmode_test_bit(ETHTOOL_LINK_MODE_Asym_Pause_BIT, in linkmode_adv_to_lcl_adv_t()
[all …]
Dmdio.h311 if (linkmode_test_bit(ETHTOOL_LINK_MODE_2500baseT_Full_BIT, in linkmode_adv_to_mii_10gbt_adv_t()
314 if (linkmode_test_bit(ETHTOOL_LINK_MODE_5000baseT_Full_BIT, in linkmode_adv_to_mii_10gbt_adv_t()
317 if (linkmode_test_bit(ETHTOOL_LINK_MODE_10000baseT_Full_BIT, in linkmode_adv_to_mii_10gbt_adv_t()
387 if (linkmode_test_bit(ETHTOOL_LINK_MODE_Pause_BIT, advertising)) in linkmode_adv_to_mii_t1_adv_l_t()
389 if (linkmode_test_bit(ETHTOOL_LINK_MODE_Asym_Pause_BIT, advertising)) in linkmode_adv_to_mii_t1_adv_l_t()
407 if (linkmode_test_bit(ETHTOOL_LINK_MODE_10baseT1L_Full_BIT, advertising)) in linkmode_adv_to_mii_t1_adv_m_t()
Dlinkmode.h69 static inline int linkmode_test_bit(int nr, const volatile unsigned long *addr) in linkmode_test_bit() function
/linux-6.1.9/drivers/net/ethernet/asix/
Dax88796c_main.c855 if (linkmode_test_bit(ETHTOOL_LINK_MODE_Pause_BIT, in ax88796c_open()
857 linkmode_test_bit(ETHTOOL_LINK_MODE_Asym_Pause_BIT, in ax88796c_open()
861 fc |= linkmode_test_bit(ETHTOOL_LINK_MODE_Pause_BIT, in ax88796c_open()
863 fc |= (linkmode_test_bit(ETHTOOL_LINK_MODE_Pause_BIT, in ax88796c_open()
865 linkmode_test_bit(ETHTOOL_LINK_MODE_Asym_Pause_BIT, in ax88796c_open()
/linux-6.1.9/drivers/net/ethernet/broadcom/genet/
Dbcmmii.c230 if (linkmode_test_bit(ETHTOOL_LINK_MODE_1000baseT_Full_BIT, in bcmgenet_mii_config()
/linux-6.1.9/drivers/net/ethernet/cavium/octeon/
Docteon_mgmt.c1083 (linkmode_test_bit(ETHTOOL_LINK_MODE_1000baseT_Half_BIT, in octeon_mgmt_open()
1085 linkmode_test_bit(ETHTOOL_LINK_MODE_1000baseT_Full_BIT, in octeon_mgmt_open()
/linux-6.1.9/drivers/net/pcs/
Dpcs-xpcs.c849 linkmode_test_bit(ETHTOOL_LINK_MODE_Autoneg_BIT, advertising)) { in xpcs_config_aneg_c37_1000basex()