Searched refs:link_advertising (Results 1 – 9 of 9) sorted by relevance
284 if (efx->link_advertising & ADVERTISED_Pause) in ef4_mdio_an_reconfigure()286 if (efx->link_advertising & ADVERTISED_Asym_Pause) in ef4_mdio_an_reconfigure()291 efx->phy_op->set_npage_adv(efx, efx->link_advertising); in ef4_mdio_an_reconfigure()
182 efx->link_advertising = (ADVERTISED_TP | ADVERTISED_Autoneg | in tenxpress_phy_probe()
701 if ((wanted_fc & EF4_FC_AUTO) && !efx->link_advertising) { in ef4_ethtool_set_pauseparam()713 old_adv = efx->link_advertising; in ef4_ethtool_set_pauseparam()716 if (efx->link_advertising != old_adv || in ef4_ethtool_set_pauseparam()
940 efx->link_advertising = advertising; in ef4_link_set_advertising()954 if (efx->link_advertising) { in ef4_link_set_wanted_fc()956 efx->link_advertising |= (ADVERTISED_Pause | in ef4_link_set_wanted_fc()959 efx->link_advertising &= ~(ADVERTISED_Pause | in ef4_link_set_wanted_fc()962 efx->link_advertising ^= ADVERTISED_Asym_Pause; in ef4_link_set_wanted_fc()
868 u32 link_advertising; member
452 efx->link_advertising); in efx_mcdi_phy_probe()522 u32 caps = (efx->link_advertising[0] ? in efx_mcdi_port_reconfigure()523 ethtool_linkset_to_mcdi_cap(efx->link_advertising) : in efx_mcdi_port_reconfigure()603 cmd->base.autoneg = !!(efx->link_advertising[0] & ADVERTISED_Autoneg); in efx_mcdi_phy_get_link_ksettings()609 memcpy(cmd->link_modes.advertising, efx->link_advertising, in efx_mcdi_phy_get_link_ksettings()733 if (test_bit(ETHTOOL_LINK_MODE_Autoneg_BIT, efx->link_advertising)) in efx_mcdi_phy_set_fecparam()734 caps = (ethtool_linkset_to_mcdi_cap(efx->link_advertising) | in efx_mcdi_phy_set_fecparam()
989 memcpy(efx->link_advertising, advertising, in efx_link_set_advertising()992 efx->link_advertising[0] |= ADVERTISED_Autoneg; in efx_link_set_advertising()1006 bitmap_zero(efx->link_advertising, __ETHTOOL_LINK_MODE_MASK_NBITS); in efx_link_clear_advertising()1013 if (efx->link_advertising[0]) { in efx_link_set_wanted_fc()1015 efx->link_advertising[0] |= (ADVERTISED_Pause | in efx_link_set_wanted_fc()1018 efx->link_advertising[0] &= ~(ADVERTISED_Pause | in efx_link_set_wanted_fc()1021 efx->link_advertising[0] ^= ADVERTISED_Asym_Pause; in efx_link_set_wanted_fc()
723 if ((wanted_fc & EFX_FC_AUTO) && !efx->link_advertising[0]) { in efx_ethtool_set_pauseparam()735 old_adv = efx->link_advertising[0]; in efx_ethtool_set_pauseparam()738 if (efx->link_advertising[0] != old_adv || in efx_ethtool_set_pauseparam()
1044 __ETHTOOL_DECLARE_LINK_MODE_MASK(link_advertising);