Lines Matching full:result
117 u32 result = 0; in ethtool_adv_to_mii_adv_t() local
120 result |= ADVERTISE_10HALF; in ethtool_adv_to_mii_adv_t()
122 result |= ADVERTISE_10FULL; in ethtool_adv_to_mii_adv_t()
124 result |= ADVERTISE_100HALF; in ethtool_adv_to_mii_adv_t()
126 result |= ADVERTISE_100FULL; in ethtool_adv_to_mii_adv_t()
128 result |= ADVERTISE_PAUSE_CAP; in ethtool_adv_to_mii_adv_t()
130 result |= ADVERTISE_PAUSE_ASYM; in ethtool_adv_to_mii_adv_t()
132 return result; in ethtool_adv_to_mii_adv_t()
145 u32 result = 0; in linkmode_adv_to_mii_adv_t() local
148 result |= ADVERTISE_10HALF; in linkmode_adv_to_mii_adv_t()
150 result |= ADVERTISE_10FULL; in linkmode_adv_to_mii_adv_t()
152 result |= ADVERTISE_100HALF; in linkmode_adv_to_mii_adv_t()
154 result |= ADVERTISE_100FULL; in linkmode_adv_to_mii_adv_t()
156 result |= ADVERTISE_PAUSE_CAP; in linkmode_adv_to_mii_adv_t()
158 result |= ADVERTISE_PAUSE_ASYM; in linkmode_adv_to_mii_adv_t()
160 return result; in linkmode_adv_to_mii_adv_t()
172 u32 result = 0; in mii_adv_to_ethtool_adv_t() local
175 result |= ADVERTISED_10baseT_Half; in mii_adv_to_ethtool_adv_t()
177 result |= ADVERTISED_10baseT_Full; in mii_adv_to_ethtool_adv_t()
179 result |= ADVERTISED_100baseT_Half; in mii_adv_to_ethtool_adv_t()
181 result |= ADVERTISED_100baseT_Full; in mii_adv_to_ethtool_adv_t()
183 result |= ADVERTISED_Pause; in mii_adv_to_ethtool_adv_t()
185 result |= ADVERTISED_Asym_Pause; in mii_adv_to_ethtool_adv_t()
187 return result; in mii_adv_to_ethtool_adv_t()
200 u32 result = 0; in ethtool_adv_to_mii_ctrl1000_t() local
203 result |= ADVERTISE_1000HALF; in ethtool_adv_to_mii_ctrl1000_t()
205 result |= ADVERTISE_1000FULL; in ethtool_adv_to_mii_ctrl1000_t()
207 return result; in ethtool_adv_to_mii_ctrl1000_t()
221 u32 result = 0; in linkmode_adv_to_mii_ctrl1000_t() local
225 result |= ADVERTISE_1000HALF; in linkmode_adv_to_mii_ctrl1000_t()
228 result |= ADVERTISE_1000FULL; in linkmode_adv_to_mii_ctrl1000_t()
230 return result; in linkmode_adv_to_mii_ctrl1000_t()
243 u32 result = 0; in mii_ctrl1000_to_ethtool_adv_t() local
246 result |= ADVERTISED_1000baseT_Half; in mii_ctrl1000_to_ethtool_adv_t()
248 result |= ADVERTISED_1000baseT_Full; in mii_ctrl1000_to_ethtool_adv_t()
250 return result; in mii_ctrl1000_to_ethtool_adv_t()
263 u32 result = 0; in mii_lpa_to_ethtool_lpa_t() local
266 result |= ADVERTISED_Autoneg; in mii_lpa_to_ethtool_lpa_t()
268 return result | mii_adv_to_ethtool_adv_t(lpa); in mii_lpa_to_ethtool_lpa_t()
281 u32 result = 0; in mii_stat1000_to_ethtool_lpa_t() local
284 result |= ADVERTISED_1000baseT_Half; in mii_stat1000_to_ethtool_lpa_t()
286 result |= ADVERTISED_1000baseT_Full; in mii_stat1000_to_ethtool_lpa_t()
288 return result; in mii_stat1000_to_ethtool_lpa_t()
320 u32 result = 0; in ethtool_adv_to_mii_adv_x() local
323 result |= ADVERTISE_1000XHALF; in ethtool_adv_to_mii_adv_x()
325 result |= ADVERTISE_1000XFULL; in ethtool_adv_to_mii_adv_x()
327 result |= ADVERTISE_1000XPAUSE; in ethtool_adv_to_mii_adv_x()
329 result |= ADVERTISE_1000XPSE_ASYM; in ethtool_adv_to_mii_adv_x()
331 return result; in ethtool_adv_to_mii_adv_x()
344 u32 result = 0; in mii_adv_to_ethtool_adv_x() local
347 result |= ADVERTISED_1000baseT_Half; in mii_adv_to_ethtool_adv_x()
349 result |= ADVERTISED_1000baseT_Full; in mii_adv_to_ethtool_adv_x()
351 result |= ADVERTISED_Pause; in mii_adv_to_ethtool_adv_x()
353 result |= ADVERTISED_Asym_Pause; in mii_adv_to_ethtool_adv_x()
355 return result; in mii_adv_to_ethtool_adv_x()