Home
last modified time | relevance | path

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

12

/linux/drivers/net/phy/
H A Dmarvell-88x2222.c547 linkmode_set_bit(ETHTOOL_LINK_MODE_Autoneg_BIT, supported); in mv2222_probe()
548 linkmode_set_bit(ETHTOOL_LINK_MODE_Pause_BIT, supported); in mv2222_probe()
549 linkmode_set_bit(ETHTOOL_LINK_MODE_Asym_Pause_BIT, supported); in mv2222_probe()
550 linkmode_set_bit(ETHTOOL_LINK_MODE_FIBRE_BIT, supported); in mv2222_probe()
551 linkmode_set_bit(ETHTOOL_LINK_MODE_TP_BIT, supported); in mv2222_probe()
552 linkmode_set_bit(ETHTOOL_LINK_MODE_10baseT_Half_BIT, supported); in mv2222_probe()
553 linkmode_set_bit(ETHTOOL_LINK_MODE_10baseT_Full_BIT, supported); in mv2222_probe()
554 linkmode_set_bit(ETHTOOL_LINK_MODE_100baseT_Half_BIT, supported); in mv2222_probe()
555 linkmode_set_bit(ETHTOOL_LINK_MODE_100baseT_Full_BIT, supported); in mv2222_probe()
556 linkmode_set_bit(ETHTOOL_LINK_MODE_1000baseT_Half_BIT, supported); in mv2222_probe()
[all …]
H A Dphy-core.c266 linkmode_set_bit(ETHTOOL_LINK_MODE_100baseT_Full_BIT, modes); in of_set_phy_eee_broken()
268 linkmode_set_bit(ETHTOOL_LINK_MODE_1000baseT_Full_BIT, modes); in of_set_phy_eee_broken()
270 linkmode_set_bit(ETHTOOL_LINK_MODE_10000baseT_Full_BIT, modes); in of_set_phy_eee_broken()
272 linkmode_set_bit(ETHTOOL_LINK_MODE_1000baseKX_Full_BIT, modes); in of_set_phy_eee_broken()
274 linkmode_set_bit(ETHTOOL_LINK_MODE_10000baseKX4_Full_BIT, modes); in of_set_phy_eee_broken()
276 linkmode_set_bit(ETHTOOL_LINK_MODE_10000baseKR_Full_BIT, modes); in of_set_phy_eee_broken()
H A Ddp83td510.c913 linkmode_set_bit(ETHTOOL_LINK_MODE_Autoneg_BIT, phydev->supported); in dp83td510_get_features()
914 linkmode_set_bit(ETHTOOL_LINK_MODE_Asym_Pause_BIT, phydev->supported); in dp83td510_get_features()
915 linkmode_set_bit(ETHTOOL_LINK_MODE_Pause_BIT, phydev->supported); in dp83td510_get_features()
916 linkmode_set_bit(ETHTOOL_LINK_MODE_10baseT1L_Full_BIT, in dp83td510_get_features()
H A Ddp83822.c592 linkmode_set_bit(ETHTOOL_LINK_MODE_FIBRE_BIT, in dp83822_config_init()
594 linkmode_set_bit(ETHTOOL_LINK_MODE_FIBRE_BIT, in dp83822_config_init()
596 linkmode_set_bit(ETHTOOL_LINK_MODE_100baseFX_Full_BIT, in dp83822_config_init()
598 linkmode_set_bit(ETHTOOL_LINK_MODE_100baseFX_Half_BIT, in dp83822_config_init()
600 linkmode_set_bit(ETHTOOL_LINK_MODE_100baseFX_Full_BIT, in dp83822_config_init()
602 linkmode_set_bit(ETHTOOL_LINK_MODE_100baseFX_Half_BIT, in dp83822_config_init()
H A Ddp83869.c659 linkmode_set_bit(ETHTOOL_LINK_MODE_FIBRE_BIT, phydev->supported); in dp83869_configure_fiber()
662 linkmode_set_bit(ETHTOOL_LINK_MODE_1000baseX_Full_BIT, in dp83869_configure_fiber()
665 linkmode_set_bit(ETHTOOL_LINK_MODE_100baseFX_Full_BIT, in dp83869_configure_fiber()
667 linkmode_set_bit(ETHTOOL_LINK_MODE_100baseFX_Half_BIT, in dp83869_configure_fiber()
H A Dphylink.c646 linkmode_set_bit(ETHTOOL_LINK_MODE_Pause_BIT, supported); in phylink_fill_fixedlink_supported()
647 linkmode_set_bit(ETHTOOL_LINK_MODE_Asym_Pause_BIT, supported); in phylink_fill_fixedlink_supported()
648 linkmode_set_bit(ETHTOOL_LINK_MODE_Autoneg_BIT, supported); in phylink_fill_fixedlink_supported()
649 linkmode_set_bit(ETHTOOL_LINK_MODE_10baseT_Half_BIT, supported); in phylink_fill_fixedlink_supported()
650 linkmode_set_bit(ETHTOOL_LINK_MODE_10baseT_Full_BIT, supported); in phylink_fill_fixedlink_supported()
651 linkmode_set_bit(ETHTOOL_LINK_MODE_100baseT_Half_BIT, supported); in phylink_fill_fixedlink_supported()
652 linkmode_set_bit(ETHTOOL_LINK_MODE_100baseT_Full_BIT, supported); in phylink_fill_fixedlink_supported()
653 linkmode_set_bit(ETHTOOL_LINK_MODE_1000baseT_Half_BIT, supported); in phylink_fill_fixedlink_supported()
654 linkmode_set_bit(ETHTOOL_LINK_MODE_1000baseT_Full_BIT, supported); in phylink_fill_fixedlink_supported()
655 linkmode_set_bit(ETHTOOL_LINK_MODE_2500baseT_Full_BIT, supported); in phylink_fill_fixedlink_supported()
[all …]
H A Dphy_caps.c413 linkmode_set_bit(i, supported); in phy_caps_medium_get_supported()
422 linkmode_set_bit(i, supported); in phy_caps_medium_get_supported()
H A Dbcm63xx.c52 linkmode_set_bit(ETHTOOL_LINK_MODE_Pause_BIT, phydev->supported); in bcm63xx_config_init()
H A Dbcm87xx.c85 linkmode_set_bit(ETHTOOL_LINK_MODE_10000baseR_FEC_BIT, in bcm87xx_get_features()
H A Dmotorcomm.c1903 linkmode_set_bit(ETHTOOL_LINK_MODE_100baseFX_Full_BIT, dst); in yt8521_prepare_fiber_features()
1904 linkmode_set_bit(ETHTOOL_LINK_MODE_1000baseX_Full_BIT, dst); in yt8521_prepare_fiber_features()
1905 linkmode_set_bit(ETHTOOL_LINK_MODE_Autoneg_BIT, dst); in yt8521_prepare_fiber_features()
1906 linkmode_set_bit(ETHTOOL_LINK_MODE_FIBRE_BIT, dst); in yt8521_prepare_fiber_features()
2211 linkmode_set_bit(ETHTOOL_LINK_MODE_Pause_BIT, in yt8521_config_aneg_paged()
2213 linkmode_set_bit(ETHTOOL_LINK_MODE_Asym_Pause_BIT, in yt8521_config_aneg_paged()
H A Dphy_device.c186 linkmode_set_bit(ETHTOOL_LINK_MODE_FIBRE_BIT, phy_gbit_fibre_features); in features_init()
198 linkmode_set_bit(ETHTOOL_LINK_MODE_10000baseT_Full_BIT, in features_init()
3002 linkmode_set_bit(ETHTOOL_LINK_MODE_Pause_BIT, in phy_set_sym_pause()
3767 linkmode_set_bit(ETHTOOL_LINK_MODE_Pause_BIT, in phy_probe()
3769 linkmode_set_bit(ETHTOOL_LINK_MODE_Asym_Pause_BIT, in phy_probe()
H A Dmicrel.c766 linkmode_set_bit(ETHTOOL_LINK_MODE_100baseT_Full_BIT, mask); in ksz8041_config_init()
767 linkmode_set_bit(ETHTOOL_LINK_MODE_100baseT_Half_BIT, mask); in ksz8041_config_init()
770 linkmode_set_bit(ETHTOOL_LINK_MODE_FIBRE_BIT, in ksz8041_config_init()
773 linkmode_set_bit(ETHTOOL_LINK_MODE_FIBRE_BIT, in ksz8041_config_init()
1665 linkmode_set_bit(ETHTOOL_LINK_MODE_Pause_BIT, phydev->supported); in ksz9031_get_features()
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ethtool.c1115 linkmode_set_bit(ETHTOOL_LINK_MODE_FEC_NONE_BIT, in otx2_get_fec_info()
1119 linkmode_set_bit(ETHTOOL_LINK_MODE_FEC_BASER_BIT, in otx2_get_fec_info()
1123 linkmode_set_bit(ETHTOOL_LINK_MODE_FEC_RS_BIT, in otx2_get_fec_info()
1127 linkmode_set_bit(ETHTOOL_LINK_MODE_FEC_BASER_BIT, in otx2_get_fec_info()
1129 linkmode_set_bit(ETHTOOL_LINK_MODE_FEC_RS_BIT, in otx2_get_fec_info()
1185 linkmode_set_bit(ETHTOOL_LINK_MODE_10baseT_Half_BIT, otx2_link_modes); in otx2_get_link_mode_info()
1186 linkmode_set_bit(ETHTOOL_LINK_MODE_10baseT_Full_BIT, otx2_link_modes); in otx2_get_link_mode_info()
1188 linkmode_set_bit(ETHTOOL_LINK_MODE_100baseT_Half_BIT, otx2_link_modes); in otx2_get_link_mode_info()
1189 linkmode_set_bit(ETHTOOL_LINK_MODE_100baseT_Full_BIT, otx2_link_modes); in otx2_get_link_mode_info()
1191 linkmode_set_bit(ETHTOOL_LINK_MODE_1000baseT_Half_BIT, otx2_link_modes); in otx2_get_link_mode_info()
[all …]
/linux/include/linux/
H A Dlinkmode.h48 #define linkmode_set_bit __set_bit macro
58 linkmode_set_bit(array[i], addr); in linkmode_set_bit_array()
H A Dmii.h419 linkmode_set_bit(ETHTOOL_LINK_MODE_Autoneg_BIT, in mii_lpa_to_linkmode_lpa_t()
/linux/drivers/net/phy/aquantia/
H A Daquantia_main.c357 linkmode_set_bit(ETHTOOL_LINK_MODE_5000baseT_Full_BIT, in aqr105_get_features()
359 linkmode_set_bit(ETHTOOL_LINK_MODE_2500baseT_Full_BIT, in aqr105_get_features()
363 linkmode_set_bit(ETHTOOL_LINK_MODE_TP_BIT, phydev->supported); in aqr105_get_features()
364 linkmode_set_bit(ETHTOOL_LINK_MODE_FIBRE_BIT, phydev->supported); in aqr105_get_features()
1080 linkmode_set_bit(ETHTOOL_LINK_MODE_2500baseT_Full_BIT, supported); in aqr115c_get_features()
1091 linkmode_set_bit(ETHTOOL_LINK_MODE_5000baseT_Full_BIT, in aqr111_get_features()
/linux/drivers/net/ethernet/intel/igc/
H A Digc_ethtool.c1666 linkmode_set_bit(ETHTOOL_LINK_MODE_2500baseT_Full_BIT, in igc_ethtool_get_eee()
1668 linkmode_set_bit(ETHTOOL_LINK_MODE_1000baseT_Full_BIT, in igc_ethtool_get_eee()
1670 linkmode_set_bit(ETHTOOL_LINK_MODE_100baseT_Full_BIT, in igc_ethtool_get_eee()
1685 linkmode_set_bit(ETHTOOL_LINK_MODE_1000baseT_Full_BIT, in igc_ethtool_get_eee()
1689 linkmode_set_bit(ETHTOOL_LINK_MODE_100baseT_Full_BIT, in igc_ethtool_get_eee()
1704 linkmode_set_bit(ETHTOOL_LINK_MODE_2500baseT_Full_BIT, in igc_ethtool_get_eee()
1719 linkmode_set_bit(ETHTOOL_LINK_MODE_1000baseT_Full_BIT, in igc_ethtool_get_eee()
1723 linkmode_set_bit(ETHTOOL_LINK_MODE_100baseT_Full_BIT, in igc_ethtool_get_eee()
1738 linkmode_set_bit(ETHTOOL_LINK_MODE_2500baseT_Full_BIT, in igc_ethtool_get_eee()
/linux/drivers/net/ethernet/toshiba/
H A 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/drivers/net/ethernet/aquantia/atlantic/
H A Daq_ethtool.c687 linkmode_set_bit(ETHTOOL_LINK_MODE_10000baseT_Full_BIT, mode); in eee_mask_to_ethtool_mask()
690 linkmode_set_bit(ETHTOOL_LINK_MODE_1000baseT_Full_BIT, mode); in eee_mask_to_ethtool_mask()
693 linkmode_set_bit(ETHTOOL_LINK_MODE_100baseT_Full_BIT, mode); in eee_mask_to_ethtool_mask()
/linux/drivers/net/phy/qcom/
H A Dqca807x.c736 linkmode_set_bit(ETHTOOL_LINK_MODE_FIBRE_BIT, phydev->supported); in qca807x_probe()
737 linkmode_set_bit(ETHTOOL_LINK_MODE_FIBRE_BIT, phydev->advertising); in qca807x_probe()
H A Dqca808x.c375 linkmode_set_bit(ETHTOOL_LINK_MODE_Autoneg_BIT, phydev->supported); in qca808x_get_features()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c970 linkmode_set_bit(ETHTOOL_LINK_MODE_FEC_BASER_BIT, in hclge_update_fec_support()
973 linkmode_set_bit(ETHTOOL_LINK_MODE_FEC_RS_BIT, in hclge_update_fec_support()
976 linkmode_set_bit(ETHTOOL_LINK_MODE_FEC_LLRS_BIT, in hclge_update_fec_support()
979 linkmode_set_bit(ETHTOOL_LINK_MODE_FEC_NONE_BIT, in hclge_update_fec_support()
1044 linkmode_set_bit(hclge_sr_link_mode_bmap[i].link_mode, in hclge_convert_setting_sr()
1056 linkmode_set_bit(hclge_lr_link_mode_bmap[i].link_mode, in hclge_convert_setting_lr()
1068 linkmode_set_bit(hclge_cr_link_mode_bmap[i].link_mode, in hclge_convert_setting_cr()
1080 linkmode_set_bit(hclge_kr_link_mode_bmap[i].link_mode, in hclge_convert_setting_kr()
1125 linkmode_set_bit(ETHTOOL_LINK_MODE_1000baseX_Full_BIT, in hclge_parse_fiber_link_mode()
1135 linkmode_set_bit(ETHTOOL_LINK_MODE_Pause_BIT, mac->supported); in hclge_parse_fiber_link_mode()
[all …]
/linux/drivers/net/ethernet/broadcom/
H A Db44.c2290 linkmode_set_bit(ETHTOOL_LINK_MODE_100baseT_Half_BIT, mask); in b44_register_phy_one()
2291 linkmode_set_bit(ETHTOOL_LINK_MODE_100baseT_Full_BIT, mask); in b44_register_phy_one()
2292 linkmode_set_bit(ETHTOOL_LINK_MODE_Autoneg_BIT, mask); in b44_register_phy_one()
2293 linkmode_set_bit(ETHTOOL_LINK_MODE_MII_BIT, mask); in b44_register_phy_one()
/linux/drivers/net/ethernet/intel/igb/
H A Digb_ethtool.c3033 linkmode_set_bit(ETHTOOL_LINK_MODE_1000baseT_Full_BIT, in igb_get_eee()
3035 linkmode_set_bit(ETHTOOL_LINK_MODE_100baseT_Full_BIT, in igb_get_eee()
3137 linkmode_set_bit(ETHTOOL_LINK_MODE_1000baseT_Full_BIT, in igb_set_eee()
3139 linkmode_set_bit(ETHTOOL_LINK_MODE_100baseT_Full_BIT, in igb_set_eee()
/linux/drivers/net/phy/realtek/
H A Drealtek_main.c1564 linkmode_set_bit(ETHTOOL_LINK_MODE_TP_BIT, in rtl822x_c45_get_features()
2105 linkmode_set_bit(ETHTOOL_LINK_MODE_10000baseT_Full_BIT, in rtlgen_sfp_get_features()

12