Home
last modified time | relevance | path

Searched refs:advertise (Results 1 – 25 of 57) sorted by relevance

123

/linux-6.6.21/drivers/net/
Dsungem_phy.c310 static int genmii_setup_aneg(struct mii_phy *phy, u32 advertise) in genmii_setup_aneg() argument
318 phy->advertising = advertise; in genmii_setup_aneg()
323 if (advertise & ADVERTISED_10baseT_Half) in genmii_setup_aneg()
325 if (advertise & ADVERTISED_10baseT_Full) in genmii_setup_aneg()
327 if (advertise & ADVERTISED_100baseT_Half) in genmii_setup_aneg()
329 if (advertise & ADVERTISED_100baseT_Full) in genmii_setup_aneg()
466 static int bcm54xx_setup_aneg(struct mii_phy *phy, u32 advertise) in bcm54xx_setup_aneg() argument
474 phy->advertising = advertise; in bcm54xx_setup_aneg()
479 if (advertise & ADVERTISED_10baseT_Half) in bcm54xx_setup_aneg()
481 if (advertise & ADVERTISED_10baseT_Full) in bcm54xx_setup_aneg()
[all …]
Dmii.c507 int advertise, lpa, media, duplex; in mii_check_media() local
541 advertise = mii->advertising; in mii_check_media()
543 advertise = mii->mdio_read(mii->dev, mii->phy_id, MII_ADVERTISE); in mii_check_media()
544 mii->advertising = advertise; in mii_check_media()
551 media = mii_nway_result(lpa & advertise); in mii_check_media()
/linux-6.6.21/drivers/net/ethernet/ibm/emac/
Dphy.c110 static int genmii_setup_aneg(struct mii_phy *phy, u32 advertise) in genmii_setup_aneg() argument
118 phy->advertising = advertise; in genmii_setup_aneg()
134 if (advertise & ADVERTISED_10baseT_Half) in genmii_setup_aneg()
136 if (advertise & ADVERTISED_10baseT_Full) in genmii_setup_aneg()
138 if (advertise & ADVERTISED_100baseT_Half) in genmii_setup_aneg()
140 if (advertise & ADVERTISED_100baseT_Full) in genmii_setup_aneg()
142 if (advertise & ADVERTISED_Pause) in genmii_setup_aneg()
144 if (advertise & ADVERTISED_Asym_Pause) in genmii_setup_aneg()
154 if (advertise & ADVERTISED_1000baseT_Full) in genmii_setup_aneg()
156 if (advertise & ADVERTISED_1000baseT_Half) in genmii_setup_aneg()
Dphy.h31 int (*setup_aneg) (struct mii_phy * phy, u32 advertise);
/linux-6.6.21/tools/testing/selftests/net/forwarding/
Dethtool.sh188 ethtool_set $h1 advertise $speed_1_to_advertise
204 ethtool_set $h2 advertise $speed_2_to_advertise
230 ethtool_set $h1 advertise $speed_to_advertise
273 ethtool_set $h1 advertise $speed1
274 ethtool_set $h2 advertise $speed2
/linux-6.6.21/drivers/net/pcs/
Dpcs-mtk-lynxi.c113 int advertise, link_timer; in mtk_pcs_lynxi_config() local
115 advertise = phylink_mii_c22_pcs_encode_advertisement(interface, in mtk_pcs_lynxi_config()
117 if (advertise < 0) in mtk_pcs_lynxi_config()
118 return advertise; in mtk_pcs_lynxi_config()
177 SGMII_ADVERTISE, advertise, &changed); in mtk_pcs_lynxi_config()
/linux-6.6.21/include/linux/
Dsungem_phy.h14 int (*setup_aneg)(struct mii_phy *phy, u32 advertise);
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb3/
Dvsc8211.c347 .advertise = t3_phy_advertise,
361 .advertise = t3_phy_advertise_fiber,
Daq100x.c258 .advertise = aq100x_advertise,
/linux-6.6.21/net/rds/
Dib_send.c358 unsigned int avail, posted, got = 0, advertise; in rds_ib_send_grab_credits() local
366 advertise = 0; in rds_ib_send_grab_credits()
396 advertise = min_t(unsigned int, posted, max_posted); in rds_ib_send_grab_credits()
397 newval -= IB_SET_POST_CREDITS(advertise); in rds_ib_send_grab_credits()
404 *adv_credits = advertise; in rds_ib_send_grab_credits()
/linux-6.6.21/drivers/net/ethernet/toshiba/
Dspider_net.c169 u32 advertise = 0; in spider_net_setup_aneg() local
176 advertise |= ADVERTISED_10baseT_Half; in spider_net_setup_aneg()
178 advertise |= ADVERTISED_10baseT_Full; in spider_net_setup_aneg()
180 advertise |= ADVERTISED_100baseT_Half; in spider_net_setup_aneg()
182 advertise |= ADVERTISED_100baseT_Full; in spider_net_setup_aneg()
185 advertise |= SUPPORTED_1000baseT_Full; in spider_net_setup_aneg()
187 advertise |= SUPPORTED_1000baseT_Half; in spider_net_setup_aneg()
190 phy->def->ops->setup_aneg(phy, advertise); in spider_net_setup_aneg()
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb/
Dcphy.h72 int (*advertise)(struct cphy *phy, unsigned int advertise_map); member
Dmv88e1xxx.c351 .advertise = mv88e1xxx_advertise,
/linux-6.6.21/drivers/nvdimm/
DKconfig12 bus is registered to advertise PMEM (persistent memory)
68 Map persistent memory, i.e. advertise it to the memory
/linux-6.6.21/drivers/gpu/drm/radeon/
Dradeon_acpi.c600 u8 perf_req, bool advertise) in radeon_acpi_pcie_performance_request() argument
624 if (advertise) in radeon_acpi_pcie_performance_request()
/linux-6.6.21/drivers/dax/
DKconfig36 EFI 2.8 platforms, and others, may advertise 'specific purpose'
/linux-6.6.21/Documentation/driver-api/nvdimm/
Dfirmware-activate.rst17 to advertise and control their local runtime firmware activation
/linux-6.6.21/Documentation/powerpc/
Ddawr-power9.rst33 For ptrace, we now advertise zero breakpoints on POWER9 via the
/linux-6.6.21/Documentation/devicetree/bindings/pci/
Dpci.txt34 not to advertise ASPM L1 Sub-States support if there is no CLKREQ signal.
/linux-6.6.21/drivers/net/phy/
Dmarvell.c621 static inline u32 linkmode_adv_to_fiber_adv_t(unsigned long *advertise) in linkmode_adv_to_fiber_adv_t() argument
625 if (linkmode_test_bit(ETHTOOL_LINK_MODE_1000baseT_Half_BIT, advertise)) in linkmode_adv_to_fiber_adv_t()
627 if (linkmode_test_bit(ETHTOOL_LINK_MODE_1000baseT_Full_BIT, advertise)) in linkmode_adv_to_fiber_adv_t()
630 if (linkmode_test_bit(ETHTOOL_LINK_MODE_Asym_Pause_BIT, advertise) && in linkmode_adv_to_fiber_adv_t()
631 linkmode_test_bit(ETHTOOL_LINK_MODE_Pause_BIT, advertise)) in linkmode_adv_to_fiber_adv_t()
633 else if (linkmode_test_bit(ETHTOOL_LINK_MODE_Pause_BIT, advertise)) in linkmode_adv_to_fiber_adv_t()
Dat803x.c319 u16 advertise; member
423 context->advertise = phy_read(phydev, MII_ADVERTISE); in at803x_context_save()
435 phy_write(phydev, MII_ADVERTISE, context->advertise); in at803x_context_restore()
/linux-6.6.21/Documentation/block/
Dinline-encryption.rst59 advertise crypto capabilities to upper layers in a generic way.
97 advertise their crypto capabilities and provide certain functions (e.g.,
236 Next, it must advertise its crypto capabilities by setting fields in the
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_acpi.c691 u8 perf_req, bool advertise) in amdgpu_acpi_pcie_performance_request() argument
712 if (advertise) in amdgpu_acpi_pcie_performance_request()
/linux-6.6.21/drivers/net/ethernet/broadcom/
Dbcm63xx_enet.c2010 int val, j, up, advertise, lpa, speed, duplex, media; in swphy_poll_timer() local
2047 advertise = bcmenet_sw_mdio_read(priv, external_phy, in swphy_poll_timer()
2054 media = mii_nway_result(lpa & advertise); in swphy_poll_timer()
2063 advertise = bcmenet_sw_mdio_read(priv, external_phy, in swphy_poll_timer()
2069 if (advertise & (ADVERTISE_1000FULL | ADVERTISE_1000HALF) in swphy_poll_timer()
/linux-6.6.21/drivers/net/ethernet/sun/
Dsungem.c1250 u32 advertise, features; in gem_begin_auto_negotiation() local
1270 advertise = features & ADVERTISE_MASK; in gem_begin_auto_negotiation()
1272 advertise &= gp->phy_mii.advertising; in gem_begin_auto_negotiation()
1282 advertise = advertising; in gem_begin_auto_negotiation()
1322 gp->phy_mii.def->ops->setup_aneg(&gp->phy_mii, advertise); in gem_begin_auto_negotiation()

123