Home
last modified time | relevance | path

Searched refs:link_advertising (Results 1 – 14 of 14) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/sfc/
Dmcdi_port_common.c58 memcpy(efx->link_advertising, advertising, in efx_link_set_advertising()
61 efx->link_advertising[0] |= ADVERTISED_Autoneg; in efx_link_set_advertising()
463 efx->link_advertising); in efx_mcdi_phy_probe()
548 cmd->base.autoneg = !!(efx->link_advertising[0] & ADVERTISED_Autoneg); in efx_mcdi_phy_get_link_ksettings()
554 memcpy(cmd->link_modes.advertising, efx->link_advertising, in efx_mcdi_phy_get_link_ksettings()
692 if (test_bit(ETHTOOL_LINK_MODE_Autoneg_BIT, efx->link_advertising)) in efx_mcdi_phy_set_fecparam()
693 caps = (ethtool_linkset_to_mcdi_cap(efx->link_advertising) | in efx_mcdi_phy_set_fecparam()
733 u32 caps = (efx->link_advertising[0] ? in efx_mcdi_port_reconfigure()
734 ethtool_linkset_to_mcdi_cap(efx->link_advertising) : in efx_mcdi_port_reconfigure()
Defx_common.c460 bitmap_zero(efx->link_advertising, __ETHTOOL_LINK_MODE_MASK_NBITS); in efx_link_clear_advertising()
467 if (efx->link_advertising[0]) { in efx_link_set_wanted_fc()
469 efx->link_advertising[0] |= (ADVERTISED_Pause | in efx_link_set_wanted_fc()
472 efx->link_advertising[0] &= ~(ADVERTISED_Pause | in efx_link_set_wanted_fc()
475 efx->link_advertising[0] ^= ADVERTISED_Asym_Pause; in efx_link_set_wanted_fc()
Dethtool_common.c208 if ((wanted_fc & EFX_FC_AUTO) && !efx->link_advertising[0]) { in efx_ethtool_set_pauseparam()
220 old_adv = efx->link_advertising[0]; in efx_ethtool_set_pauseparam()
223 if (efx->link_advertising[0] != old_adv || in efx_ethtool_set_pauseparam()
Dnet_driver.h1097 __ETHTOOL_DECLARE_LINK_MODE_MASK(link_advertising);
Def100_nic.c365 efx->link_advertising); in ef100_phy_probe()
/linux-6.12.1/drivers/net/ethernet/sfc/siena/
Dmcdi_port_common.c59 memcpy(efx->link_advertising, advertising, in efx_siena_link_set_advertising()
62 efx->link_advertising[0] |= ADVERTISED_Autoneg; in efx_siena_link_set_advertising()
464 efx->link_advertising); in efx_siena_mcdi_phy_probe()
550 cmd->base.autoneg = !!(efx->link_advertising[0] & ADVERTISED_Autoneg); in efx_siena_mcdi_phy_get_link_ksettings()
556 memcpy(cmd->link_modes.advertising, efx->link_advertising, in efx_siena_mcdi_phy_get_link_ksettings()
698 if (test_bit(ETHTOOL_LINK_MODE_Autoneg_BIT, efx->link_advertising)) in efx_siena_mcdi_phy_set_fecparam()
699 caps = (ethtool_linkset_to_mcdi_cap(efx->link_advertising) | in efx_siena_mcdi_phy_set_fecparam()
739 u32 caps = (efx->link_advertising[0] ? in efx_siena_mcdi_port_reconfigure()
740 ethtool_linkset_to_mcdi_cap(efx->link_advertising) : in efx_siena_mcdi_port_reconfigure()
Defx_common.c464 bitmap_zero(efx->link_advertising, __ETHTOOL_LINK_MODE_MASK_NBITS); in efx_siena_link_clear_advertising()
471 if (efx->link_advertising[0]) { in efx_siena_link_set_wanted_fc()
473 efx->link_advertising[0] |= (ADVERTISED_Pause | in efx_siena_link_set_wanted_fc()
476 efx->link_advertising[0] &= ~(ADVERTISED_Pause | in efx_siena_link_set_wanted_fc()
479 efx->link_advertising[0] ^= ADVERTISED_Asym_Pause; in efx_siena_link_set_wanted_fc()
Dethtool_common.c159 if ((wanted_fc & EFX_FC_AUTO) && !efx->link_advertising[0]) { in efx_siena_ethtool_set_pauseparam()
171 old_adv = efx->link_advertising[0]; in efx_siena_ethtool_set_pauseparam()
174 if (efx->link_advertising[0] != old_adv || in efx_siena_ethtool_set_pauseparam()
Dnet_driver.h1054 __ETHTOOL_DECLARE_LINK_MODE_MASK(link_advertising);
/linux-6.12.1/drivers/net/ethernet/sfc/falcon/
Dmdio_10g.c281 if (efx->link_advertising & ADVERTISED_Pause) in ef4_mdio_an_reconfigure()
283 if (efx->link_advertising & ADVERTISED_Asym_Pause) in ef4_mdio_an_reconfigure()
288 efx->phy_op->set_npage_adv(efx, efx->link_advertising); in ef4_mdio_an_reconfigure()
Dtenxpress.c179 efx->link_advertising = (ADVERTISED_TP | ADVERTISED_Autoneg | in tenxpress_phy_probe()
Dethtool.c705 if ((wanted_fc & EF4_FC_AUTO) && !efx->link_advertising) { in ef4_ethtool_set_pauseparam()
717 old_adv = efx->link_advertising; in ef4_ethtool_set_pauseparam()
720 if (efx->link_advertising != old_adv || in ef4_ethtool_set_pauseparam()
Defx.c927 efx->link_advertising = advertising; in ef4_link_set_advertising()
941 if (efx->link_advertising) { in ef4_link_set_wanted_fc()
943 efx->link_advertising |= (ADVERTISED_Pause | in ef4_link_set_wanted_fc()
946 efx->link_advertising &= ~(ADVERTISED_Pause | in ef4_link_set_wanted_fc()
949 efx->link_advertising ^= ADVERTISED_Asym_Pause; in ef4_link_set_wanted_fc()
Dnet_driver.h865 u32 link_advertising; member