| /drivers/net/phy/ |
| A D | marvell-88x2222.c | 154 priv->supported) || in mv2222_is_10g_capable() 156 priv->supported) || in mv2222_is_10g_capable() 158 priv->supported) || in mv2222_is_10g_capable() 160 priv->supported) || in mv2222_is_10g_capable() 162 priv->supported) || in mv2222_is_10g_capable() 164 priv->supported)); in mv2222_is_10g_capable() 172 priv->supported); in mv2222_is_1gbx_capable() 180 priv->supported) || in mv2222_is_sgmii_capable() 190 priv->supported)); in mv2222_is_sgmii_capable() 505 linkmode_and(priv->supported, phydev->supported, sfp_supported); in mv2222_sfp_insert() [all …]
|
| A D | phylink.c | 504 linkmode_and(supported, supported, mask); in phylink_validate_mask_caps() 556 supported); in phylink_validate_mac_and_pcs() 737 linkmode_and(pl->supported, pl->supported, mask); in phylink_parse_fixedlink() 742 linkmode_or(pl->supported, pl->supported, match); in phylink_parse_fixedlink() 2060 linkmode_copy(supported, phy->supported); in phylink_bringup_phy() 2091 linkmode_copy(pl->supported, supported); in phylink_bringup_phy() 2655 wol->supported = 0; in phylink_ethtool_get_wol() 2792 linkmode_copy(kset->link_modes.supported, pl->supported); in phylink_ethtool_ksettings_get() 3183 linkmode_and(eee->supported, eee->supported, in phylink_ethtool_get_eee() 3546 if (!linkmode_equal(pl->supported, supported)) { in phylink_sfp_set_config() [all …]
|
| A D | phy-c45.c | 967 phydev->supported, in genphy_c45_pma_baset1_read_abilities() 971 phydev->supported, in genphy_c45_pma_baset1_read_abilities() 975 phydev->supported, in genphy_c45_pma_baset1_read_abilities() 983 phydev->supported, in genphy_c45_pma_baset1_read_abilities() 1006 phydev->supported, in genphy_c45_pma_read_ext_abilities() 1009 phydev->supported, in genphy_c45_pma_read_ext_abilities() 1012 phydev->supported, in genphy_c45_pma_read_ext_abilities() 1015 phydev->supported, in genphy_c45_pma_read_ext_abilities() 1018 phydev->supported, in genphy_c45_pma_read_ext_abilities() 1021 phydev->supported, in genphy_c45_pma_read_ext_abilities() [all …]
|
| A D | fixed_phy.c | 275 phy->supported); in fixed_phy_register() 277 phy->supported); in fixed_phy_register() 281 phy->supported); in fixed_phy_register() 283 phy->supported); in fixed_phy_register() 288 phy->supported); in fixed_phy_register() 290 phy->supported); in fixed_phy_register()
|
| A D | phy_device.c | 2052 phydev->supported); in genphy_c37_config_advert() 2244 phydev->supported); in __genphy_config_aneg() 2252 phydev->supported, true); in __genphy_config_aneg() 2646 phydev->supported); in genphy_read_abilities() 2892 phydev->supported); in phy_set_sym_pause() 2939 phydev->supported) && in phy_validate_pause() 3441 phydev->supported)) in phy_probe() 3445 phydev->supported)) in phy_probe() 3448 phydev->supported)) in phy_probe() 3494 phydev->supported); in phy_probe() [all …]
|
| /drivers/net/ieee802154/ |
| A D | fakelb.c | 141 hw->phy->supported.channels[0] |= 1; in fakelb_add_one() 143 hw->phy->supported.channels[0] |= 0x7fe; in fakelb_add_one() 147 hw->phy->supported.channels[1] |= 1; in fakelb_add_one() 149 hw->phy->supported.channels[1] |= 0x7fe; in fakelb_add_one() 151 hw->phy->supported.channels[2] |= 1; in fakelb_add_one() 153 hw->phy->supported.channels[2] |= 0x7fe; in fakelb_add_one() 157 hw->phy->supported.channels[4] |= 1; in fakelb_add_one() 159 hw->phy->supported.channels[4] |= 0x1e; in fakelb_add_one() 163 hw->phy->supported.channels[5] |= 0xf; in fakelb_add_one() 165 hw->phy->supported.channels[5] |= 0xf0; in fakelb_add_one() [all …]
|
| A D | atusb.c | 468 if (hw->phy->supported.tx_powers[i] == mbm) in atusb_set_txpower() 481 if (hw->phy->supported.tx_powers[i] == mbm) in hulusb_set_txpower() 578 if (hw->phy->supported.cca_ed_levels[i] == mbm) in atusb_set_cca_ed_level() 861 atusb->hw->phy->supported.channels[0] = 0x7FFF800; in atusb_get_and_conf_chip() 863 atusb->hw->phy->supported.tx_powers = atusb_powers; in atusb_get_and_conf_chip() 865 hw->phy->supported.cca_ed_levels = atusb_ed_levels; in atusb_get_and_conf_chip() 870 atusb->hw->phy->supported.channels[0] = 0x7FFF800; in atusb_get_and_conf_chip() 872 atusb->hw->phy->supported.tx_powers = atusb_powers; in atusb_get_and_conf_chip() 874 hw->phy->supported.cca_ed_levels = atusb_ed_levels; in atusb_get_and_conf_chip() 880 atusb->hw->phy->supported.channels[0] = 0x00007FF; in atusb_get_and_conf_chip() [all …]
|
| A D | at86rf230.c | 1111 if (lp->hw->phy->supported.tx_powers[i] == mbm) in at86rf23x_set_txpower() 1124 if (lp->hw->phy->supported.tx_powers[i] == mbm) in at86rf212_set_txpower() 1188 if (hw->phy->supported.cca_ed_levels[i] == mbm) in at86rf230_set_cca_ed_level() 1473 lp->hw->phy->supported.channels[0] = 0x7FFF800; in at86rf230_detect_device() 1475 lp->hw->phy->supported.tx_powers = at86rf231_powers; in at86rf230_detect_device() 1484 lp->hw->phy->supported.channels[0] = 0x00007FF; in at86rf230_detect_device() 1485 lp->hw->phy->supported.channels[2] = 0x00007FF; in at86rf230_detect_device() 1487 lp->hw->phy->supported.lbt = NL802154_SUPPORTED_BOOL_BOTH; in at86rf230_detect_device() 1488 lp->hw->phy->supported.tx_powers = at86rf212_powers; in at86rf230_detect_device() 1496 lp->hw->phy->supported.channels[0] = 0x7FFF800; in at86rf230_detect_device() [all …]
|
| A D | mac802154_hwsim.c | 915 hw->phy->supported.channels[0] |= 1; in hwsim_add_one() 917 hw->phy->supported.channels[0] |= 0x7fe; in hwsim_add_one() 921 hw->phy->supported.channels[1] |= 1; in hwsim_add_one() 923 hw->phy->supported.channels[1] |= 0x7fe; in hwsim_add_one() 925 hw->phy->supported.channels[2] |= 1; in hwsim_add_one() 927 hw->phy->supported.channels[2] |= 0x7fe; in hwsim_add_one() 931 hw->phy->supported.channels[4] |= 1; in hwsim_add_one() 933 hw->phy->supported.channels[4] |= 0x1e; in hwsim_add_one() 937 hw->phy->supported.channels[5] |= 0xf; in hwsim_add_one() 939 hw->phy->supported.channels[5] |= 0xf0; in hwsim_add_one() [all …]
|
| /drivers/net/ |
| A D | mdio.c | 205 supported = SUPPORTED_TP; in mdio45_ethtool_ksettings_get_npage() 209 supported |= SUPPORTED_10000baseT_Full; in mdio45_ethtool_ksettings_get_npage() 214 supported |= (SUPPORTED_100baseT_Full | in mdio45_ethtool_ksettings_get_npage() 217 supported |= (SUPPORTED_10baseT_Full | in mdio45_ethtool_ksettings_get_npage() 224 supported = 0; in mdio45_ethtool_ksettings_get_npage() 232 supported = SUPPORTED_Backplane; in mdio45_ethtool_ksettings_get_npage() 240 supported |= SUPPORTED_1000baseKX_Full; in mdio45_ethtool_ksettings_get_npage() 244 supported |= SUPPORTED_10000baseR_FEC; in mdio45_ethtool_ksettings_get_npage() 251 supported = SUPPORTED_FIBRE; in mdio45_ethtool_ksettings_get_npage() 257 supported |= SUPPORTED_Autoneg; in mdio45_ethtool_ksettings_get_npage() [all …]
|
| /drivers/net/ethernet/meta/fbnic/ |
| A D | fbnic_phylink.c | 44 fbnic_phylink_get_supported_fec_modes(unsigned long *supported) in fbnic_phylink_get_supported_fec_modes() argument 52 if (phylink_test(supported, 100000baseCR2_Full) || in fbnic_phylink_get_supported_fec_modes() 53 phylink_test(supported, 50000baseCR_Full)) in fbnic_phylink_get_supported_fec_modes() 54 phylink_set(supported, FEC_RS); in fbnic_phylink_get_supported_fec_modes() 55 if (phylink_test(supported, 50000baseCR2_Full) || in fbnic_phylink_get_supported_fec_modes() 56 phylink_test(supported, 25000baseCR_Full)) { in fbnic_phylink_get_supported_fec_modes() 57 phylink_set(supported, FEC_BASER); in fbnic_phylink_get_supported_fec_modes() 58 phylink_set(supported, FEC_NONE); in fbnic_phylink_get_supported_fec_modes() 59 phylink_set(supported, FEC_RS); in fbnic_phylink_get_supported_fec_modes() 71 unsigned long *supp = cmd->link_modes.supported; in fbnic_phylink_ethtool_ksettings_get()
|
| /drivers/s390/net/ |
| A D | qeth_ethtool.c | 333 ethtool_link_ksettings_zero_link_mode(cmd, supported); in qeth_set_ethtool_link_modes() 347 ethtool_link_ksettings_add_link_mode(cmd, supported, in qeth_set_ethtool_link_modes() 353 ethtool_link_ksettings_add_link_mode(cmd, supported, in qeth_set_ethtool_link_modes() 357 ethtool_link_ksettings_add_link_mode(cmd, supported, in qeth_set_ethtool_link_modes() 363 ethtool_link_ksettings_add_link_mode(cmd, supported, in qeth_set_ethtool_link_modes() 367 ethtool_link_ksettings_add_link_mode(cmd, supported, in qeth_set_ethtool_link_modes() 373 ethtool_link_ksettings_add_link_mode(cmd, supported, in qeth_set_ethtool_link_modes() 377 ethtool_link_ksettings_add_link_mode(cmd, supported, in qeth_set_ethtool_link_modes() 393 ethtool_link_ksettings_add_link_mode(cmd, supported, in qeth_set_ethtool_link_modes() 400 ethtool_link_ksettings_add_link_mode(cmd, supported, in qeth_set_ethtool_link_modes() [all …]
|
| /drivers/net/ethernet/pensando/ionic/ |
| A D | ionic_ethtool.c | 130 ethtool_link_ksettings_zero_link_mode(ks, supported); in ionic_get_link_ksettings() 145 ethtool_link_ksettings_add_link_mode(ks, supported, in ionic_get_link_ksettings() 150 ethtool_link_ksettings_add_link_mode(ks, supported, in ionic_get_link_ksettings() 157 ethtool_link_ksettings_add_link_mode(ks, supported, in ionic_get_link_ksettings() 163 ethtool_link_ksettings_add_link_mode(ks, supported, in ionic_get_link_ksettings() 177 ethtool_link_ksettings_add_link_mode(ks, supported, in ionic_get_link_ksettings() 185 ethtool_link_ksettings_add_link_mode(ks, supported, in ionic_get_link_ksettings() 191 ethtool_link_ksettings_add_link_mode(ks, supported, in ionic_get_link_ksettings() 195 ethtool_link_ksettings_add_link_mode(ks, supported, in ionic_get_link_ksettings() 200 ethtool_link_ksettings_add_link_mode(ks, supported, in ionic_get_link_ksettings() [all …]
|
| /drivers/pci/ |
| A D | ats.c | 397 u16 control, supported; in pci_enable_pasid() local 422 pci_read_config_word(pdev, pasid + PCI_PASID_CAP, &supported); in pci_enable_pasid() 423 supported &= PCI_PASID_CAP_EXEC | PCI_PASID_CAP_PRIV; in pci_enable_pasid() 426 if ((supported & features) != features) in pci_enable_pasid() 499 u16 supported; in pci_pasid_features() local 509 pci_read_config_word(pdev, pasid + PCI_PASID_CAP, &supported); in pci_pasid_features() 511 supported &= PCI_PASID_CAP_EXEC | PCI_PASID_CAP_PRIV; in pci_pasid_features() 513 return supported; in pci_pasid_features() 526 u16 supported; in pci_max_pasids() local 536 pci_read_config_word(pdev, pasid + PCI_PASID_CAP, &supported); in pci_max_pasids() [all …]
|
| /drivers/net/ethernet/atheros/alx/ |
| A D | ethtool.c | 111 u32 supported = SUPPORTED_10baseT_Half | in alx_get_supported_speeds() local 117 supported |= SUPPORTED_1000baseT_Full; in alx_get_supported_speeds() 125 return supported; in alx_get_supported_speeds() 133 u32 supported, advertising; in alx_get_link_ksettings() local 135 supported = SUPPORTED_Autoneg | in alx_get_link_ksettings() 140 supported |= SUPPORTED_1000baseT_Full; in alx_get_link_ksettings() 141 supported |= alx_get_supported_speeds(hw); in alx_get_link_ksettings() 171 ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported, in alx_get_link_ksettings() 172 supported); in alx_get_link_ksettings()
|
| /drivers/net/ethernet/intel/i40e/ |
| A D | i40e_ethtool.c | 503 ethtool_link_ksettings_add_link_mode(ks, supported, in i40e_phy_type_to_ethtool() 1196 ks->link_modes.supported)) { in i40e_speed_to_link_speed() 1283 safe_ks.link_modes.supported, in i40e_set_link_ksettings() 1327 supported, in i40e_set_link_ksettings() 1345 supported, in i40e_set_link_ksettings() 2773 wol->supported = 0; in i40e_get_wol() 2776 wol->supported = WAKE_MAGIC; in i40e_get_wol() 5639 unsigned long *supported) in i40e_eee_capability_to_kedata_supported() argument 5652 linkmode_zero(supported); in i40e_eee_capability_to_kedata_supported() 5655 linkmode_set_bit(lut[i], supported); in i40e_eee_capability_to_kedata_supported() [all …]
|
| /drivers/net/ethernet/apm/xgene/ |
| A D | xgene_enet_ethtool.c | 114 u32 supported; in xgene_get_link_ksettings() local 133 supported = SUPPORTED_1000baseT_Full | SUPPORTED_Autoneg | in xgene_get_link_ksettings() 136 cmd->link_modes.supported, in xgene_get_link_ksettings() 137 supported); in xgene_get_link_ksettings() 140 supported); in xgene_get_link_ksettings() 147 supported = SUPPORTED_10000baseT_Full | SUPPORTED_FIBRE; in xgene_get_link_ksettings() 149 cmd->link_modes.supported, in xgene_get_link_ksettings() 150 supported); in xgene_get_link_ksettings() 153 supported); in xgene_get_link_ksettings()
|
| /drivers/staging/axis-fifo/ |
| A D | axis-fifo.txt | 32 - xlnx,has-axis-tdest: Should be <0x0> (this feature isn't supported) 33 - xlnx,has-axis-tid: Should be <0x0> (this feature isn't supported) 34 - xlnx,has-axis-tkeep: Should be <0x0> (this feature isn't supported) 35 - xlnx,has-axis-tstrb: Should be <0x0> (this feature isn't supported) 36 - xlnx,has-axis-tuser: Should be <0x0> (this feature isn't supported) 50 - xlnx,use-rx-cut-through: Should be <0x0> (this feature isn't supported) 52 - xlnx,use-tx-ctrl: Should be <0x0> (this feature isn't supported) 53 - xlnx,use-tx-cut-through: Should be <0x0> (this feature isn't supported)
|
| /drivers/net/ethernet/8390/ |
| A D | etherh.c | 71 u32 supported; member 80 u32 supported; member 567 ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported, in etherh_get_link_ksettings() 568 etherh_priv(dev)->supported); in etherh_get_link_ksettings() 677 if (data->supported & SUPPORTED_Autoneg) in etherh_probe() 679 if (data->supported & SUPPORTED_TP) { in etherh_probe() 682 } else if (data->supported & SUPPORTED_BNC) { in etherh_probe() 689 eh->supported = data->supported; in etherh_probe() 787 .supported = SUPPORTED_10baseT_Half, 798 .supported = SUPPORTED_10baseT_Half, [all …]
|
| /drivers/net/pcs/ |
| A D | pcs-xpcs.c | 112 const int *supported; member 159 if (compat->supported[i] == linkmode) in __xpcs_linkmode_supported() 565 linkmode_and(supported, supported, xpcs_supported); in xpcs_validate() 1309 .supported = xpcs_usxgmii_features, 1313 .supported = xpcs_10gkr_features, 1317 .supported = xpcs_xlgmii_features, 1321 .supported = xpcs_10gbaser_features, 1325 .supported = xpcs_sgmii_features, 1329 .supported = xpcs_1000basex_features, 1342 .supported = xpcs_sgmii_features, [all …]
|
| /drivers/nvdimm/ |
| A D | core.c | 241 const unsigned long *supported, char *buf) in nd_size_select_show() argument 246 for (i = 0; supported[i]; i++) in nd_size_select_show() 247 if (current_size == supported[i]) in nd_size_select_show() 248 len += sprintf(buf + len, "[%ld] ", supported[i]); in nd_size_select_show() 250 len += sprintf(buf + len, "%ld ", supported[i]); in nd_size_select_show() 256 unsigned long *current_size, const unsigned long *supported) in nd_size_select_store() argument 268 for (i = 0; supported[i]; i++) in nd_size_select_store() 269 if (lbasize == supported[i]) in nd_size_select_store() 272 if (supported[i]) { in nd_size_select_store()
|
| /drivers/net/ethernet/qlogic/netxen/ |
| A D | netxen_nic_ethtool.c | 88 u32 supported, advertising; in netxen_nic_get_link_ksettings() local 92 supported = (SUPPORTED_10baseT_Half | in netxen_nic_get_link_ksettings() 115 supported = SUPPORTED_1000baseT_Full; in netxen_nic_get_link_ksettings() 154 supported |= SUPPORTED_Autoneg; in netxen_nic_get_link_ksettings() 161 supported |= SUPPORTED_TP; in netxen_nic_get_link_ksettings() 173 supported |= SUPPORTED_MII; in netxen_nic_get_link_ksettings() 182 supported |= SUPPORTED_TP; in netxen_nic_get_link_ksettings() 188 supported |= SUPPORTED_FIBRE; in netxen_nic_get_link_ksettings() 239 supported); in netxen_nic_get_link_ksettings() 691 wol->supported = 0; in netxen_nic_get_wol() [all …]
|
| /drivers/net/ethernet/atheros/atl1c/ |
| A D | atl1c_ethtool.c | 20 u32 supported, advertising; in atl1c_get_link_ksettings() local 22 supported = (SUPPORTED_10baseT_Half | in atl1c_get_link_ksettings() 29 supported |= SUPPORTED_1000baseT_Full; in atl1c_get_link_ksettings() 51 ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported, in atl1c_get_link_ksettings() 52 supported); in atl1c_get_link_ksettings() 233 wol->supported = WAKE_MAGIC | WAKE_PHY; in atl1c_get_wol()
|
| /drivers/thermal/tegra/ |
| A D | tegra-bpmp-thermal.c | 170 static int tegra_bpmp_thermal_trips_supported(struct tegra_bpmp *bpmp, bool *supported) in tegra_bpmp_thermal_trips_supported() argument 193 *supported = true; in tegra_bpmp_thermal_trips_supported() 196 *supported = false; in tegra_bpmp_thermal_trips_supported() 219 bool supported; in tegra_bpmp_thermal_probe() local 222 err = tegra_bpmp_thermal_trips_supported(bpmp, &supported); in tegra_bpmp_thermal_probe() 228 if (supported) in tegra_bpmp_thermal_probe()
|
| /drivers/net/ethernet/ibm/ehea/ |
| A D | ehea_ethtool.c | 24 u32 supported, advertising; in ehea_get_link_ksettings() local 60 supported = (SUPPORTED_10000baseT_Full | SUPPORTED_FIBRE); in ehea_get_link_ksettings() 64 supported = (SUPPORTED_1000baseT_Full | SUPPORTED_100baseT_Full in ehea_get_link_ksettings() 76 ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported, in ehea_get_link_ksettings() 77 supported); in ehea_get_link_ksettings()
|