Searched refs:link_advertising (Results 1 – 14 of 14) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/sfc/ |
D | mcdi_port_common.c | 58 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()
|
D | efx_common.c | 460 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()
|
D | ethtool_common.c | 208 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()
|
D | net_driver.h | 1097 __ETHTOOL_DECLARE_LINK_MODE_MASK(link_advertising);
|
D | ef100_nic.c | 365 efx->link_advertising); in ef100_phy_probe()
|
/linux-6.12.1/drivers/net/ethernet/sfc/siena/ |
D | mcdi_port_common.c | 59 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()
|
D | efx_common.c | 464 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()
|
D | ethtool_common.c | 159 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()
|
D | net_driver.h | 1054 __ETHTOOL_DECLARE_LINK_MODE_MASK(link_advertising);
|
/linux-6.12.1/drivers/net/ethernet/sfc/falcon/ |
D | mdio_10g.c | 281 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()
|
D | tenxpress.c | 179 efx->link_advertising = (ADVERTISED_TP | ADVERTISED_Autoneg | in tenxpress_phy_probe()
|
D | ethtool.c | 705 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()
|
D | efx.c | 927 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()
|
D | net_driver.h | 865 u32 link_advertising; member
|