Home
last modified time | relevance | path

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

/Linux-v5.4/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()
478 if (linkmode_test_bit(ETHTOOL_LINK_MODE_Pause_BIT, in linkmode_adv_to_lcl_adv_t()
481 if (linkmode_test_bit(ETHTOOL_LINK_MODE_Asym_Pause_BIT, in linkmode_adv_to_lcl_adv_t()
Dmdio.h285 if (linkmode_test_bit(ETHTOOL_LINK_MODE_2500baseT_Full_BIT, in linkmode_adv_to_mii_10gbt_adv_t()
288 if (linkmode_test_bit(ETHTOOL_LINK_MODE_5000baseT_Full_BIT, in linkmode_adv_to_mii_10gbt_adv_t()
291 if (linkmode_test_bit(ETHTOOL_LINK_MODE_10000baseT_Full_BIT, in linkmode_adv_to_mii_10gbt_adv_t()
Dlinkmode.h74 static inline int linkmode_test_bit(int nr, volatile unsigned long *addr) in linkmode_test_bit() function
/Linux-v5.4/drivers/net/phy/
Dmarvell.c510 if (linkmode_test_bit(ETHTOOL_LINK_MODE_1000baseT_Half_BIT, advertise)) in linkmode_adv_to_fiber_adv_t()
512 if (linkmode_test_bit(ETHTOOL_LINK_MODE_1000baseT_Full_BIT, advertise)) in linkmode_adv_to_fiber_adv_t()
515 if (linkmode_test_bit(ETHTOOL_LINK_MODE_Asym_Pause_BIT, advertise) && in linkmode_adv_to_fiber_adv_t()
516 linkmode_test_bit(ETHTOOL_LINK_MODE_Pause_BIT, advertise)) in linkmode_adv_to_fiber_adv_t()
518 else if (linkmode_test_bit(ETHTOOL_LINK_MODE_Pause_BIT, advertise)) in linkmode_adv_to_fiber_adv_t()
1360 if (linkmode_test_bit(ETHTOOL_LINK_MODE_FIBRE_BIT, in marvell_read_status()
1404 if (!linkmode_test_bit(ETHTOOL_LINK_MODE_FIBRE_BIT, in marvell_suspend()
1439 if (!linkmode_test_bit(ETHTOOL_LINK_MODE_FIBRE_BIT, in marvell_resume()
1591 if (linkmode_test_bit(ETHTOOL_LINK_MODE_FIBRE_BIT, in marvell_get_sset_count()
Dphy_device.c2027 linkmode_test_bit(ETHTOOL_LINK_MODE_Asym_Pause_BIT, src)); in phy_copy_pause_bits()
2029 linkmode_test_bit(ETHTOOL_LINK_MODE_Pause_BIT, src)); in phy_copy_pause_bits()
2150 if (!linkmode_test_bit(ETHTOOL_LINK_MODE_Pause_BIT, in phy_validate_pause()
2154 if (!linkmode_test_bit(ETHTOOL_LINK_MODE_Asym_Pause_BIT, in phy_validate_pause()
2225 if (!linkmode_test_bit(ETHTOOL_LINK_MODE_Autoneg_BIT, in phy_probe()
2229 if (linkmode_test_bit(ETHTOOL_LINK_MODE_1000baseT_Half_BIT, in phy_probe()
2232 if (linkmode_test_bit(ETHTOOL_LINK_MODE_1000baseT_Full_BIT, in phy_probe()
Daquantia_main.c225 if (linkmode_test_bit(ETHTOOL_LINK_MODE_1000baseT_Full_BIT, in aqr_config_aneg()
229 if (linkmode_test_bit(ETHTOOL_LINK_MODE_1000baseT_Half_BIT, in aqr_config_aneg()
Dphy-core.c289 phydev->pause = linkmode_test_bit(ETHTOOL_LINK_MODE_Pause_BIT, in phy_resolve_aneg_pause()
291 phydev->asym_pause = linkmode_test_bit( in phy_resolve_aneg_pause()
Dphy.c71 local_pause = linkmode_test_bit(ETHTOOL_LINK_MODE_Pause_BIT, in phy_pause_str()
73 local_asym_pause = linkmode_test_bit(ETHTOOL_LINK_MODE_Asym_Pause_BIT, in phy_pause_str()
Drealtek.c374 if (linkmode_test_bit(ETHTOOL_LINK_MODE_2500baseT_Full_BIT, in rtl8125_config_aneg()
/Linux-v5.4/drivers/net/ethernet/broadcom/genet/
Dbcmmii.c259 if (linkmode_test_bit(ETHTOOL_LINK_MODE_1000baseT_Full_BIT, in bcmgenet_mii_config()
/Linux-v5.4/drivers/net/ethernet/cavium/octeon/
Docteon_mgmt.c1084 (linkmode_test_bit(ETHTOOL_LINK_MODE_1000baseT_Half_BIT, in octeon_mgmt_open()
1086 linkmode_test_bit(ETHTOOL_LINK_MODE_1000baseT_Full_BIT, in octeon_mgmt_open()