Home
last modified time | relevance | path

Searched refs:supported (Results 1 – 25 of 436) sorted by relevance

12345678910>>...18

/drivers/gpu/drm/amd/powerplay/eventmgr/
Deventinit.c45 eventmgr->features[PP_Feature_PowerPlay].supported = true; in pem_init_feature_info()
50 eventmgr->features[PP_Feature_PowerPlay].supported = false; in pem_init_feature_info()
55 eventmgr->features[PP_Feature_Force3DClock].supported = true; in pem_init_feature_info()
69 eventmgr->features[PP_Feature_User2DPerformance].supported = false; in pem_init_feature_info()
73 eventmgr->features[PP_Feature_User3DPerformance].supported = false; in pem_init_feature_info()
77 eventmgr->features[PP_Feature_OverdriveTest].supported = false; in pem_init_feature_info()
81 eventmgr->features[PP_Feature_OverDrive].supported = false; in pem_init_feature_info()
85 eventmgr->features[PP_Feature_PowerBudgetWaiver].supported = false; in pem_init_feature_info()
89 eventmgr->features[PP_Feature_MultiUVDState].supported = false; in pem_init_feature_info()
94 eventmgr->features[PP_Feature_DynamicUVDState].supported = false; in pem_init_feature_info()
[all …]
/drivers/net/phy/
Dmarvell10g.c95 __ETHTOOL_DECLARE_LINK_MODE_MASK(supported) = { 0, }; in mv3310_config_init()
107 __set_bit(ETHTOOL_LINK_MODE_Pause_BIT, supported); in mv3310_config_init()
108 __set_bit(ETHTOOL_LINK_MODE_Asym_Pause_BIT, supported); in mv3310_config_init()
116 __set_bit(ETHTOOL_LINK_MODE_Autoneg_BIT, supported); in mv3310_config_init()
128 __set_bit(ETHTOOL_LINK_MODE_FIBRE_BIT, supported); in mv3310_config_init()
130 __set_bit(ETHTOOL_LINK_MODE_10000baseSR_Full_BIT, supported); in mv3310_config_init()
132 __set_bit(ETHTOOL_LINK_MODE_10000baseLR_Full_BIT, supported); in mv3310_config_init()
134 __set_bit(ETHTOOL_LINK_MODE_10000baseER_Full_BIT, supported); in mv3310_config_init()
143 __set_bit(ETHTOOL_LINK_MODE_TP_BIT, supported); in mv3310_config_init()
145 __set_bit(ETHTOOL_LINK_MODE_FIBRE_BIT, supported); in mv3310_config_init()
[all …]
Dphylink.c48 __ETHTOOL_DECLARE_LINK_MODE_MASK(supported);
127 static int phylink_validate(struct phylink *pl, unsigned long *supported, in phylink_validate() argument
130 pl->ops->validate(pl->netdev, supported, state); in phylink_validate()
132 return phylink_is_empty_linkmode(supported) ? -EINVAL : 0; in phylink_validate()
197 bitmap_fill(pl->supported, __ETHTOOL_LINK_MODE_MASK_NBITS); in phylink_parse_fixedlink()
198 linkmode_copy(pl->link_config.advertising, pl->supported); in phylink_parse_fixedlink()
199 phylink_validate(pl, pl->supported, &pl->link_config); in phylink_parse_fixedlink()
202 pl->supported, in phylink_parse_fixedlink()
204 linkmode_zero(pl->supported); in phylink_parse_fixedlink()
205 phylink_set(pl->supported, MII); in phylink_parse_fixedlink()
[all …]
Dphy.c174 phy_find_valid(int speed, int duplex, u32 supported) in phy_find_valid() argument
176 unsigned long mask = supported; in phy_find_valid()
195 unsigned long supported = phy->supported; in phy_supported_speeds() local
197 return phy_speeds(speeds, size, &supported, BITS_PER_LONG); in phy_supported_speeds()
227 u32 features = phydev->supported; in phy_sanitize_settings()
265 cmd->advertising &= phydev->supported; in phy_ethtool_sset()
319 advertising &= phydev->supported; in phy_ethtool_ksettings_set()
361 ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported, in phy_ethtool_ksettings_get()
362 phydev->supported); in phy_ethtool_ksettings_get()
1206 data->supported = mmd_eee_cap_to_ethtool_sup_t(val); in phy_ethtool_get_eee()
/drivers/net/
Dmdio.c209 ecmd->supported = SUPPORTED_TP; in mdio45_ethtool_gset_npage()
213 ecmd->supported |= SUPPORTED_10000baseT_Full; in mdio45_ethtool_gset_npage()
215 ecmd->supported |= (SUPPORTED_1000baseT_Full | in mdio45_ethtool_gset_npage()
218 ecmd->supported |= (SUPPORTED_100baseT_Full | in mdio45_ethtool_gset_npage()
221 ecmd->supported |= (SUPPORTED_10baseT_Full | in mdio45_ethtool_gset_npage()
228 ecmd->supported = 0; in mdio45_ethtool_gset_npage()
236 ecmd->supported = SUPPORTED_Backplane; in mdio45_ethtool_gset_npage()
240 ecmd->supported |= SUPPORTED_10000baseKX4_Full; in mdio45_ethtool_gset_npage()
242 ecmd->supported |= SUPPORTED_10000baseKR_Full; in mdio45_ethtool_gset_npage()
244 ecmd->supported |= SUPPORTED_1000baseKX_Full; in mdio45_ethtool_gset_npage()
[all …]
/drivers/net/ieee802154/
Dfakelb.c149 hw->phy->supported.channels[0] |= 1; in fakelb_add_one()
151 hw->phy->supported.channels[0] |= 0x7fe; in fakelb_add_one()
153 hw->phy->supported.channels[0] |= 0x7FFF800; in fakelb_add_one()
155 hw->phy->supported.channels[1] |= 1; in fakelb_add_one()
157 hw->phy->supported.channels[1] |= 0x7fe; in fakelb_add_one()
159 hw->phy->supported.channels[2] |= 1; in fakelb_add_one()
161 hw->phy->supported.channels[2] |= 0x7fe; in fakelb_add_one()
163 hw->phy->supported.channels[3] |= 0x3fff; in fakelb_add_one()
165 hw->phy->supported.channels[4] |= 1; in fakelb_add_one()
167 hw->phy->supported.channels[4] |= 0x1e; in fakelb_add_one()
[all …]
Dat86rf230.c1024 lp->hw->phy->supported.cca_ed_levels = at86rf212_ed_levels_98; in at86rf212_update_cca_ed_level()
1025 lp->hw->phy->supported.cca_ed_levels_size = ARRAY_SIZE(at86rf212_ed_levels_98); in at86rf212_update_cca_ed_level()
1029 lp->hw->phy->supported.cca_ed_levels = at86rf212_ed_levels_100; in at86rf212_update_cca_ed_level()
1030 lp->hw->phy->supported.cca_ed_levels_size = ARRAY_SIZE(at86rf212_ed_levels_100); in at86rf212_update_cca_ed_level()
1180 for (i = 0; i < lp->hw->phy->supported.tx_powers_size; i++) { in at86rf23x_set_txpower()
1181 if (lp->hw->phy->supported.tx_powers[i] == mbm) in at86rf23x_set_txpower()
1193 for (i = 0; i < lp->hw->phy->supported.tx_powers_size; i++) { in at86rf212_set_txpower()
1194 if (lp->hw->phy->supported.tx_powers[i] == mbm) in at86rf212_set_txpower()
1257 for (i = 0; i < hw->phy->supported.cca_ed_levels_size; i++) { in at86rf230_set_cca_ed_level()
1258 if (hw->phy->supported.cca_ed_levels[i] == mbm) in at86rf230_set_cca_ed_level()
[all …]
Datusb.c483 for (i = 0; i < hw->phy->supported.tx_powers_size; i++) { in atusb_set_txpower()
484 if (hw->phy->supported.tx_powers[i] == mbm) in atusb_set_txpower()
536 for (i = 0; i < hw->phy->supported.cca_ed_levels_size; i++) { in atusb_set_cca_ed_level()
537 if (hw->phy->supported.cca_ed_levels[i] == mbm) in atusb_set_cca_ed_level()
803 hw->phy->supported.cca_modes = BIT(NL802154_CCA_ENERGY) | in atusb_probe()
805 hw->phy->supported.cca_opts = BIT(NL802154_CCA_OPT_ENERGY_CARRIER_AND) | in atusb_probe()
808 hw->phy->supported.cca_ed_levels = atusb_ed_levels; in atusb_probe()
809 hw->phy->supported.cca_ed_levels_size = ARRAY_SIZE(atusb_ed_levels); in atusb_probe()
815 hw->phy->supported.channels[0] = 0x7FFF800; in atusb_probe()
816 hw->phy->supported.tx_powers = atusb_powers; in atusb_probe()
[all …]
/drivers/pci/
Dats.c268 u16 control, supported; in pci_enable_pasid() local
278 pci_read_config_word(pdev, pos + PCI_PASID_CAP, &supported); in pci_enable_pasid()
279 supported &= PCI_PASID_CAP_EXEC | PCI_PASID_CAP_PRIV; in pci_enable_pasid()
282 if ((supported & features) != features) in pci_enable_pasid()
351 u16 supported; in pci_pasid_features() local
358 pci_read_config_word(pdev, pos + PCI_PASID_CAP, &supported); in pci_pasid_features()
360 supported &= PCI_PASID_CAP_EXEC | PCI_PASID_CAP_PRIV; in pci_pasid_features()
362 return supported; in pci_pasid_features()
377 u16 supported; in pci_max_pasids() local
384 pci_read_config_word(pdev, pos + PCI_PASID_CAP, &supported); in pci_max_pasids()
[all …]
/drivers/net/ethernet/atheros/alx/
Dethtool.c111 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()
169 ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported, in alx_get_link_ksettings()
170 supported); in alx_get_link_ksettings()
/drivers/net/ethernet/apm/xgene/
Dxgene_enet_ethtool.c128 u32 supported; in xgene_get_link_ksettings() local
147 supported = SUPPORTED_1000baseT_Full | SUPPORTED_Autoneg | in xgene_get_link_ksettings()
150 cmd->link_modes.supported, in xgene_get_link_ksettings()
151 supported); in xgene_get_link_ksettings()
154 supported); in xgene_get_link_ksettings()
161 supported = SUPPORTED_10000baseT_Full | SUPPORTED_FIBRE; in xgene_get_link_ksettings()
163 cmd->link_modes.supported, in xgene_get_link_ksettings()
164 supported); in xgene_get_link_ksettings()
167 supported); in xgene_get_link_ksettings()
316 if (!(phydev->supported & SUPPORTED_Pause) || in xgene_set_pauseparam()
[all …]
/drivers/net/ethernet/8390/
Detherh.c76 u32 supported; member
85 u32 supported; member
583 cmd->supported = etherh_priv(dev)->supported; in etherh_get_settings()
692 if (data->supported & SUPPORTED_Autoneg) in etherh_probe()
694 if (data->supported & SUPPORTED_TP) { in etherh_probe()
697 } else if (data->supported & SUPPORTED_BNC) { in etherh_probe()
704 eh->supported = data->supported; in etherh_probe()
802 .supported = SUPPORTED_10baseT_Half,
813 .supported = SUPPORTED_10baseT_Half,
823 .supported = SUPPORTED_10baseT_Half | SUPPORTED_TP | SUPPORTED_BNC | SUPPORTED_Autoneg,
[all …]
/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c259 static void i40e_phy_type_to_ethtool(struct i40e_pf *pf, u32 *supported, in i40e_phy_type_to_ethtool() argument
265 *supported = 0x0; in i40e_phy_type_to_ethtool()
269 *supported |= SUPPORTED_Autoneg | in i40e_phy_type_to_ethtool()
275 *supported |= SUPPORTED_100baseT_Full; in i40e_phy_type_to_ethtool()
284 *supported |= SUPPORTED_10000baseT_Full; in i40e_phy_type_to_ethtool()
290 *supported |= SUPPORTED_Autoneg | in i40e_phy_type_to_ethtool()
299 *supported |= SUPPORTED_40000baseCR4_Full; in i40e_phy_type_to_ethtool()
302 *supported |= SUPPORTED_Autoneg | in i40e_phy_type_to_ethtool()
309 *supported |= SUPPORTED_Autoneg | in i40e_phy_type_to_ethtool()
319 *supported |= SUPPORTED_Autoneg | in i40e_phy_type_to_ethtool()
[all …]
/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ethtool.c104 u32 supported, advertising; in netxen_nic_get_link_ksettings() local
108 supported = (SUPPORTED_10baseT_Half | in netxen_nic_get_link_ksettings()
131 supported = SUPPORTED_1000baseT_Full; in netxen_nic_get_link_ksettings()
134 supported = SUPPORTED_10000baseT_Full; in netxen_nic_get_link_ksettings()
171 supported |= SUPPORTED_Autoneg; in netxen_nic_get_link_ksettings()
177 supported |= SUPPORTED_TP; in netxen_nic_get_link_ksettings()
189 supported |= SUPPORTED_MII; in netxen_nic_get_link_ksettings()
198 supported |= SUPPORTED_TP; in netxen_nic_get_link_ksettings()
203 supported |= SUPPORTED_FIBRE; in netxen_nic_get_link_ksettings()
211 supported |= (SUPPORTED_FIBRE | SUPPORTED_TP); in netxen_nic_get_link_ksettings()
[all …]
/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ethtool.c282 u32 supported, advertising, lp_advertising; in stmmac_ethtool_get_link_ksettings() local
302 &supported, cmd->link_modes.supported); in stmmac_ethtool_get_link_ksettings()
319 supported |= SUPPORTED_Autoneg; in stmmac_ethtool_get_link_ksettings()
324 supported |= (SUPPORTED_1000baseT_Full | in stmmac_ethtool_get_link_ksettings()
331 supported |= (SUPPORTED_1000baseT_Half | in stmmac_ethtool_get_link_ksettings()
349 cmd->link_modes.supported, supported); in stmmac_ethtool_get_link_ksettings()
469 if (!(netdev->phydev->supported & SUPPORTED_Pause) || in stmmac_get_pauseparam()
470 !(netdev->phydev->supported & SUPPORTED_Asym_Pause)) in stmmac_get_pauseparam()
500 if (!(phy->supported & SUPPORTED_Pause) || in stmmac_set_pauseparam()
501 !(phy->supported & SUPPORTED_Asym_Pause)) in stmmac_set_pauseparam()
[all …]
/drivers/isdn/
DKconfig31 a daemon running. A reduced T.70 protocol is supported with tty's
33 (Euro-ISDN) and 1TR6 (German style) are supported. See
40 supported by the new CAPI subsystem yet.
53 three-party conferences (if supported by the specific hardware
57 you have an ISDN adapter supported by the CAPI subsystem.
/drivers/net/ethernet/toshiba/
Dspider_net_ethtool.c56 ethtool_link_ksettings_zero_link_mode(cmd, supported); in spider_net_ethtool_get_link_ksettings()
57 ethtool_link_ksettings_add_link_mode(cmd, supported, 1000baseT_Full); in spider_net_ethtool_get_link_ksettings()
58 ethtool_link_ksettings_add_link_mode(cmd, supported, FIBRE); in spider_net_ethtool_get_link_ksettings()
93 wolinfo->supported = 0; in spider_net_ethtool_get_wol()
/drivers/net/ethernet/atheros/atl1c/
Datl1c_ethtool.c34 u32 supported, advertising; in atl1c_get_link_ksettings() local
36 supported = (SUPPORTED_10baseT_Half | in atl1c_get_link_ksettings()
43 supported |= SUPPORTED_1000baseT_Full; in atl1c_get_link_ksettings()
65 ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported, in atl1c_get_link_ksettings()
66 supported); in atl1c_get_link_ksettings()
249 wol->supported = WAKE_MAGIC | WAKE_PHY; in atl1c_get_wol()
/drivers/net/ethernet/ibm/ehea/
Dehea_ethtool.c38 u32 supported, advertising; in ehea_get_link_ksettings() local
74 supported = (SUPPORTED_10000baseT_Full | SUPPORTED_FIBRE); in ehea_get_link_ksettings()
78 supported = (SUPPORTED_1000baseT_Full | SUPPORTED_100baseT_Full in ehea_get_link_ksettings()
90 ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported, in ehea_get_link_ksettings()
91 supported); in ehea_get_link_ksettings()
/drivers/thermal/ti-soc-thermal/
DKconfig27 OMAP3 SoC family. The current chips supported are:
42 OMAP4 SoC family. The current chip supported are:
56 OMAP5 SoC family. The current chip supported are:
68 DRA752 SoC family. The current chip supported are:
/drivers/nvdimm/
Dcore.c281 const unsigned long *supported, char *buf) in nd_size_select_show() argument
286 for (i = 0; supported[i]; i++) in nd_size_select_show()
287 if (current_size == supported[i]) in nd_size_select_show()
288 len += sprintf(buf + len, "[%ld] ", supported[i]); in nd_size_select_show()
290 len += sprintf(buf + len, "%ld ", supported[i]); in nd_size_select_show()
296 unsigned long *current_size, const unsigned long *supported) in nd_size_select_store() argument
308 for (i = 0; supported[i]; i++) in nd_size_select_store()
309 if (lbasize == supported[i]) in nd_size_select_store()
312 if (supported[i]) { in nd_size_select_store()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_ethtool.c225 u32 supported, advertising; in bnx2x_get_vf_link_ksettings() local
227 ethtool_convert_link_mode_to_legacy_u32(&supported, in bnx2x_get_vf_link_ksettings()
228 cmd->link_modes.supported); in bnx2x_get_vf_link_ksettings()
253 cmd->base.cmd, supported, advertising, in bnx2x_get_vf_link_ksettings()
267 u32 supported, advertising, lp_advertising; in bnx2x_get_link_ksettings() local
273 supported = bp->port.supported[cfg_idx] | in bnx2x_get_link_ksettings()
274 (bp->port.supported[cfg_idx ^ 1] & in bnx2x_get_link_ksettings()
279 supported &= ~(SUPPORTED_10000baseT_Full); in bnx2x_get_link_ksettings()
349 ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported, in bnx2x_get_link_ksettings()
350 supported); in bnx2x_get_link_ksettings()
[all …]
/drivers/pinctrl/bcm/
DKconfig41 supported by this driver.
44 GPIO, the ChipcommonB GPIO. Later controller is supported by this
48 the ChipcommonG GPIO. Both controllers are supported by this driver.
50 The Broadcom Stingray GPIO controllers are supported by this driver.
86 supported by this driver.
/drivers/net/ethernet/cavium/thunder/
Dnicvf_ethtool.c124 u32 supported, advertising; in nicvf_get_link_ksettings() local
126 supported = 0; in nicvf_get_link_ksettings()
139 supported |= SUPPORTED_MII | SUPPORTED_TP; in nicvf_get_link_ksettings()
140 supported |= SUPPORTED_1000baseT_Full | in nicvf_get_link_ksettings()
146 supported |= SUPPORTED_Autoneg; in nicvf_get_link_ksettings()
157 supported |= SUPPORTED_TP; in nicvf_get_link_ksettings()
160 supported |= SUPPORTED_FIBRE; in nicvf_get_link_ksettings()
163 supported |= SUPPORTED_10000baseT_Full; in nicvf_get_link_ksettings()
168 supported |= SUPPORTED_FIBRE; in nicvf_get_link_ksettings()
169 supported |= SUPPORTED_40000baseCR4_Full; in nicvf_get_link_ksettings()
[all …]
/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_ethtool.c87 u32 supported, advertising; in pch_gbe_get_link_ksettings() local
91 ethtool_convert_link_mode_to_legacy_u32(&supported, in pch_gbe_get_link_ksettings()
92 ecmd->link_modes.supported); in pch_gbe_get_link_ksettings()
96 supported &= ~(SUPPORTED_TP | SUPPORTED_1000baseT_Half); in pch_gbe_get_link_ksettings()
99 ethtool_convert_legacy_u32_to_link_mode(ecmd->link_modes.supported, in pch_gbe_get_link_ksettings()
100 supported); in pch_gbe_get_link_ksettings()
222 wol->supported = WAKE_UCAST | WAKE_MCAST | WAKE_BCAST | WAKE_MAGIC; in pch_gbe_get_wol()

12345678910>>...18