Home
last modified time | relevance | path

Searched refs:linkmode_set_bit (Results 1 – 23 of 23) sorted by relevance

/linux-6.1.9/drivers/net/phy/
Dmarvell-88x2222.c568 linkmode_set_bit(ETHTOOL_LINK_MODE_Autoneg_BIT, supported); in mv2222_probe()
569 linkmode_set_bit(ETHTOOL_LINK_MODE_Pause_BIT, supported); in mv2222_probe()
570 linkmode_set_bit(ETHTOOL_LINK_MODE_Asym_Pause_BIT, supported); in mv2222_probe()
571 linkmode_set_bit(ETHTOOL_LINK_MODE_FIBRE_BIT, supported); in mv2222_probe()
572 linkmode_set_bit(ETHTOOL_LINK_MODE_TP_BIT, supported); in mv2222_probe()
573 linkmode_set_bit(ETHTOOL_LINK_MODE_10baseT_Half_BIT, supported); in mv2222_probe()
574 linkmode_set_bit(ETHTOOL_LINK_MODE_10baseT_Full_BIT, supported); in mv2222_probe()
575 linkmode_set_bit(ETHTOOL_LINK_MODE_100baseT_Half_BIT, supported); in mv2222_probe()
576 linkmode_set_bit(ETHTOOL_LINK_MODE_100baseT_Full_BIT, supported); in mv2222_probe()
577 linkmode_set_bit(ETHTOOL_LINK_MODE_1000baseT_Half_BIT, supported); in mv2222_probe()
[all …]
Ddp83td510.c223 linkmode_set_bit(ETHTOOL_LINK_MODE_Autoneg_BIT, phydev->supported); in dp83td510_get_features()
224 linkmode_set_bit(ETHTOOL_LINK_MODE_Asym_Pause_BIT, phydev->supported); in dp83td510_get_features()
225 linkmode_set_bit(ETHTOOL_LINK_MODE_Pause_BIT, phydev->supported); in dp83td510_get_features()
226 linkmode_set_bit(ETHTOOL_LINK_MODE_10baseT1L_Full_BIT, in dp83td510_get_features()
Dfixed_phy.c278 linkmode_set_bit(ETHTOOL_LINK_MODE_1000baseT_Half_BIT, in __fixed_phy_register()
280 linkmode_set_bit(ETHTOOL_LINK_MODE_1000baseT_Full_BIT, in __fixed_phy_register()
284 linkmode_set_bit(ETHTOOL_LINK_MODE_100baseT_Half_BIT, in __fixed_phy_register()
286 linkmode_set_bit(ETHTOOL_LINK_MODE_100baseT_Full_BIT, in __fixed_phy_register()
291 linkmode_set_bit(ETHTOOL_LINK_MODE_10baseT_Half_BIT, in __fixed_phy_register()
293 linkmode_set_bit(ETHTOOL_LINK_MODE_10baseT_Full_BIT, in __fixed_phy_register()
Ddp83822.c427 linkmode_set_bit(ETHTOOL_LINK_MODE_FIBRE_BIT, in dp83822_config_init()
429 linkmode_set_bit(ETHTOOL_LINK_MODE_FIBRE_BIT, in dp83822_config_init()
431 linkmode_set_bit(ETHTOOL_LINK_MODE_100baseFX_Full_BIT, in dp83822_config_init()
433 linkmode_set_bit(ETHTOOL_LINK_MODE_100baseFX_Half_BIT, in dp83822_config_init()
435 linkmode_set_bit(ETHTOOL_LINK_MODE_100baseFX_Full_BIT, in dp83822_config_init()
437 linkmode_set_bit(ETHTOOL_LINK_MODE_100baseFX_Half_BIT, in dp83822_config_init()
Ddp83869.c649 linkmode_set_bit(ETHTOOL_LINK_MODE_FIBRE_BIT, phydev->supported); in dp83869_configure_fiber()
650 linkmode_set_bit(ADVERTISED_FIBRE, phydev->advertising); in dp83869_configure_fiber()
653 linkmode_set_bit(ETHTOOL_LINK_MODE_1000baseX_Full_BIT, in dp83869_configure_fiber()
656 linkmode_set_bit(ETHTOOL_LINK_MODE_100baseFX_Full_BIT, in dp83869_configure_fiber()
658 linkmode_set_bit(ETHTOOL_LINK_MODE_100baseFX_Half_BIT, in dp83869_configure_fiber()
Dphy.c1272 linkmode_set_bit(ETHTOOL_LINK_MODE_100baseT_Full_BIT, in mmd_eee_adv_to_linkmode()
1275 linkmode_set_bit(ETHTOOL_LINK_MODE_1000baseT_Full_BIT, in mmd_eee_adv_to_linkmode()
1278 linkmode_set_bit(ETHTOOL_LINK_MODE_10000baseT_Full_BIT, in mmd_eee_adv_to_linkmode()
1281 linkmode_set_bit(ETHTOOL_LINK_MODE_1000baseKX_Full_BIT, in mmd_eee_adv_to_linkmode()
1284 linkmode_set_bit(ETHTOOL_LINK_MODE_10000baseKX4_Full_BIT, in mmd_eee_adv_to_linkmode()
1287 linkmode_set_bit(ETHTOOL_LINK_MODE_10000baseKR_Full_BIT, in mmd_eee_adv_to_linkmode()
Dbcm63xx.c52 linkmode_set_bit(ETHTOOL_LINK_MODE_Pause_BIT, phydev->supported); in bcm63xx_config_init()
Dbcm87xx.c85 linkmode_set_bit(ETHTOOL_LINK_MODE_10000baseR_FEC_BIT, in bcm87xx_get_features()
Dmicrel.c587 linkmode_set_bit(ETHTOOL_LINK_MODE_100baseT_Full_BIT, mask); in ksz8041_config_init()
588 linkmode_set_bit(ETHTOOL_LINK_MODE_100baseT_Half_BIT, mask); in ksz8041_config_init()
591 linkmode_set_bit(ETHTOOL_LINK_MODE_FIBRE_BIT, in ksz8041_config_init()
594 linkmode_set_bit(ETHTOOL_LINK_MODE_FIBRE_BIT, in ksz8041_config_init()
1348 linkmode_set_bit(ETHTOOL_LINK_MODE_Pause_BIT, phydev->supported); in ksz9031_get_features()
Dphy-c45.c684 linkmode_set_bit(ETHTOOL_LINK_MODE_Autoneg_BIT, in genphy_c45_pma_read_abilities()
Dphy_device.c2749 linkmode_set_bit(ETHTOOL_LINK_MODE_Pause_BIT, in phy_set_sym_pause()
3103 linkmode_set_bit(ETHTOOL_LINK_MODE_Pause_BIT, in phy_probe()
3105 linkmode_set_bit(ETHTOOL_LINK_MODE_Asym_Pause_BIT, in phy_probe()
Dsfp.c359 linkmode_set_bit(ETHTOOL_LINK_MODE_2500baseX_Full_BIT, modes); in sfp_quirk_2500basex()
372 linkmode_set_bit(ETHTOOL_LINK_MODE_1000baseX_Full_BIT, modes); in sfp_quirk_ubnt_uf_instant()
/linux-6.1.9/drivers/net/ethernet/apm/xgene-v2/
Dmdio.c143 linkmode_set_bit(ETHTOOL_LINK_MODE_1000baseT_Half_BIT, mask); in xge_mdio_config()
144 linkmode_set_bit(ETHTOOL_LINK_MODE_AUI_BIT, mask); in xge_mdio_config()
145 linkmode_set_bit(ETHTOOL_LINK_MODE_MII_BIT, mask); in xge_mdio_config()
146 linkmode_set_bit(ETHTOOL_LINK_MODE_FIBRE_BIT, mask); in xge_mdio_config()
147 linkmode_set_bit(ETHTOOL_LINK_MODE_BNC_BIT, mask); in xge_mdio_config()
/linux-6.1.9/include/linux/
Dlinkmode.h41 static inline void linkmode_set_bit(int nr, volatile unsigned long *addr) in linkmode_set_bit() function
52 linkmode_set_bit(array[i], addr); in linkmode_set_bit_array()
64 linkmode_set_bit(nr, addr); in linkmode_mod_bit()
Dmii.h418 linkmode_set_bit(ETHTOOL_LINK_MODE_Autoneg_BIT, in mii_lpa_to_linkmode_lpa_t()
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_ethtool.c1086 linkmode_set_bit(ETHTOOL_LINK_MODE_FEC_NONE_BIT, in otx2_get_fec_info()
1090 linkmode_set_bit(ETHTOOL_LINK_MODE_FEC_BASER_BIT, in otx2_get_fec_info()
1094 linkmode_set_bit(ETHTOOL_LINK_MODE_FEC_RS_BIT, in otx2_get_fec_info()
1098 linkmode_set_bit(ETHTOOL_LINK_MODE_FEC_BASER_BIT, in otx2_get_fec_info()
1100 linkmode_set_bit(ETHTOOL_LINK_MODE_FEC_RS_BIT, in otx2_get_fec_info()
1169 linkmode_set_bit(cgx_link_mode[bit], otx2_link_modes); in otx2_get_link_mode_info()
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c1027 linkmode_set_bit(ETHTOOL_LINK_MODE_FEC_BASER_BIT, in hclge_update_fec_support()
1030 linkmode_set_bit(ETHTOOL_LINK_MODE_FEC_RS_BIT, in hclge_update_fec_support()
1033 linkmode_set_bit(ETHTOOL_LINK_MODE_FEC_LLRS_BIT, in hclge_update_fec_support()
1036 linkmode_set_bit(ETHTOOL_LINK_MODE_FEC_NONE_BIT, in hclge_update_fec_support()
1044 linkmode_set_bit(ETHTOOL_LINK_MODE_10000baseSR_Full_BIT, in hclge_convert_setting_sr()
1047 linkmode_set_bit(ETHTOOL_LINK_MODE_25000baseSR_Full_BIT, in hclge_convert_setting_sr()
1050 linkmode_set_bit(ETHTOOL_LINK_MODE_40000baseSR4_Full_BIT, in hclge_convert_setting_sr()
1053 linkmode_set_bit(ETHTOOL_LINK_MODE_50000baseSR2_Full_BIT, in hclge_convert_setting_sr()
1056 linkmode_set_bit(ETHTOOL_LINK_MODE_100000baseSR4_Full_BIT, in hclge_convert_setting_sr()
1059 linkmode_set_bit(ETHTOOL_LINK_MODE_200000baseSR4_Full_BIT, in hclge_convert_setting_sr()
[all …]
/linux-6.1.9/drivers/net/ethernet/toshiba/
Dtc35815.c633 linkmode_set_bit(ETHTOOL_LINK_MODE_100baseT_Half_BIT, mask); in tc_mii_probe()
634 linkmode_set_bit(ETHTOOL_LINK_MODE_100baseT_Full_BIT, mask); in tc_mii_probe()
636 linkmode_set_bit(ETHTOOL_LINK_MODE_10baseT_Half_BIT, mask); in tc_mii_probe()
637 linkmode_set_bit(ETHTOOL_LINK_MODE_10baseT_Full_BIT, mask); in tc_mii_probe()
640 linkmode_set_bit(ETHTOOL_LINK_MODE_10baseT_Full_BIT, mask); in tc_mii_probe()
641 linkmode_set_bit(ETHTOOL_LINK_MODE_100baseT_Full_BIT, mask); in tc_mii_probe()
643 linkmode_set_bit(ETHTOOL_LINK_MODE_10baseT_Half_BIT, mask); in tc_mii_probe()
644 linkmode_set_bit(ETHTOOL_LINK_MODE_100baseT_Half_BIT, mask); in tc_mii_probe()
/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c1604 linkmode_set_bit(ETHTOOL_LINK_MODE_FEC_NONE_BIT, in bnxt_fw_to_ethtool_advertised_fec()
1609 linkmode_set_bit(ETHTOOL_LINK_MODE_FEC_BASER_BIT, in bnxt_fw_to_ethtool_advertised_fec()
1612 linkmode_set_bit(ETHTOOL_LINK_MODE_FEC_RS_BIT, in bnxt_fw_to_ethtool_advertised_fec()
1615 linkmode_set_bit(ETHTOOL_LINK_MODE_FEC_LLRS_BIT, in bnxt_fw_to_ethtool_advertised_fec()
1655 linkmode_set_bit(ETHTOOL_LINK_MODE_FEC_NONE_BIT, in bnxt_fw_to_ethtool_support_fec()
1660 linkmode_set_bit(ETHTOOL_LINK_MODE_FEC_BASER_BIT, in bnxt_fw_to_ethtool_support_fec()
1663 linkmode_set_bit(ETHTOOL_LINK_MODE_FEC_RS_BIT, in bnxt_fw_to_ethtool_support_fec()
1666 linkmode_set_bit(ETHTOOL_LINK_MODE_FEC_LLRS_BIT, in bnxt_fw_to_ethtool_support_fec()
/linux-6.1.9/drivers/net/ethernet/broadcom/
Db44.c2310 linkmode_set_bit(ETHTOOL_LINK_MODE_100baseT_Half_BIT, mask); in b44_register_phy_one()
2311 linkmode_set_bit(ETHTOOL_LINK_MODE_100baseT_Full_BIT, mask); in b44_register_phy_one()
2312 linkmode_set_bit(ETHTOOL_LINK_MODE_Autoneg_BIT, mask); in b44_register_phy_one()
2313 linkmode_set_bit(ETHTOOL_LINK_MODE_MII_BIT, mask); in b44_register_phy_one()
Dtg3.c4059 linkmode_set_bit(ETHTOOL_LINK_MODE_TP_BIT, advertising); in tg3_power_down_prepare()
4060 linkmode_set_bit(ETHTOOL_LINK_MODE_Pause_BIT, in tg3_power_down_prepare()
4062 linkmode_set_bit(ETHTOOL_LINK_MODE_Autoneg_BIT, in tg3_power_down_prepare()
4064 linkmode_set_bit(ETHTOOL_LINK_MODE_10baseT_Half_BIT, in tg3_power_down_prepare()
4069 linkmode_set_bit(ETHTOOL_LINK_MODE_100baseT_Half_BIT, in tg3_power_down_prepare()
4071 linkmode_set_bit(ETHTOOL_LINK_MODE_100baseT_Full_BIT, in tg3_power_down_prepare()
4073 linkmode_set_bit(ETHTOOL_LINK_MODE_10baseT_Full_BIT, in tg3_power_down_prepare()
4076 linkmode_set_bit(ETHTOOL_LINK_MODE_10baseT_Full_BIT, in tg3_power_down_prepare()
/linux-6.1.9/drivers/net/ethernet/freescale/
Dgianfar.c1657 linkmode_set_bit(ETHTOOL_LINK_MODE_Autoneg_BIT, mask); in init_phy()
1658 linkmode_set_bit(ETHTOOL_LINK_MODE_MII_BIT, mask); in init_phy()
1660 linkmode_set_bit(ETHTOOL_LINK_MODE_1000baseT_Full_BIT, mask); in init_phy()
/linux-6.1.9/drivers/net/ethernet/marvell/
Dmv643xx_eth.c3033 linkmode_set_bit(ETHTOOL_LINK_MODE_Autoneg_BIT, in phy_init()