Home
last modified time | relevance | path

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

123

/linux-6.12.1/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.12.1/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.12.1/tools/testing/selftests/drivers/net/hw/
Dethtool.sh187 ethtool_set $h1 advertise $speed_1_to_advertise
203 ethtool_set $h2 advertise $speed_2_to_advertise
228 ethtool_set $h1 advertise $speed_to_advertise
271 ethtool_set $h1 advertise $speed1
272 ethtool_set $h2 advertise $speed2
/linux-6.12.1/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.12.1/Documentation/driver-api/
Dwbrf.rst12 To mitigate possible RFI interference producers can advertise the
17 the platform designer will advertise the availability of this feature via
19 * Producers with this _DSM will be able to advertise the frequencies in use.
/linux-6.12.1/include/linux/
Dsungem_phy.h14 int (*setup_aneg)(struct mii_phy *phy, u32 advertise);
/linux-6.12.1/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.12.1/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.12.1/drivers/net/ethernet/chelsio/cxgb3/
Dvsc8211.c347 .advertise = t3_phy_advertise,
361 .advertise = t3_phy_advertise_fiber,
Daq100x.c258 .advertise = aq100x_advertise,
/linux-6.12.1/drivers/platform/x86/amd/
DKconfig33 This mechanism will only be activated on platforms that advertise a
/linux-6.12.1/drivers/nvdimm/
DKconfig12 bus is registered to advertise PMEM (persistent memory)
68 Map persistent memory, i.e. advertise it to the memory
/linux-6.12.1/drivers/net/ethernet/chelsio/cxgb/
Dcphy.h72 int (*advertise)(struct cphy *phy, unsigned int advertise_map); member
Dmv88e1xxx.c351 .advertise = mv88e1xxx_advertise,
/linux-6.12.1/drivers/net/phy/qcom/
Dat803x.c129 u16 advertise; member
194 context->advertise = phy_read(phydev, MII_ADVERTISE); in at803x_context_save()
206 phy_write(phydev, MII_ADVERTISE, context->advertise); in at803x_context_restore()
/linux-6.12.1/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.12.1/drivers/dax/
DKconfig36 EFI 2.8 platforms, and others, may advertise 'specific purpose'
/linux-6.12.1/Documentation/devicetree/bindings/pci/
Dpci.txt34 not to advertise ASPM L1 Sub-States support if there is no CLKREQ signal.
/linux-6.12.1/Documentation/arch/powerpc/
Ddawr-power9.rst33 For ptrace, we now advertise zero breakpoints on POWER9 via the
/linux-6.12.1/Documentation/driver-api/nvdimm/
Dfirmware-activate.rst17 to advertise and control their local runtime firmware activation
/linux-6.12.1/drivers/net/phy/
Dmarvell.c664 static inline u32 linkmode_adv_to_fiber_adv_t(unsigned long *advertise) in linkmode_adv_to_fiber_adv_t() argument
668 if (linkmode_test_bit(ETHTOOL_LINK_MODE_1000baseT_Half_BIT, advertise)) in linkmode_adv_to_fiber_adv_t()
670 if (linkmode_test_bit(ETHTOOL_LINK_MODE_1000baseT_Full_BIT, advertise)) in linkmode_adv_to_fiber_adv_t()
673 if (linkmode_test_bit(ETHTOOL_LINK_MODE_Asym_Pause_BIT, advertise) && in linkmode_adv_to_fiber_adv_t()
674 linkmode_test_bit(ETHTOOL_LINK_MODE_Pause_BIT, advertise)) in linkmode_adv_to_fiber_adv_t()
676 else if (linkmode_test_bit(ETHTOOL_LINK_MODE_Pause_BIT, advertise)) in linkmode_adv_to_fiber_adv_t()
/linux-6.12.1/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.12.1/drivers/net/ethernet/broadcom/
Dbcm63xx_enet.c2009 int val, j, up, advertise, lpa, speed, duplex, media; in swphy_poll_timer() local
2046 advertise = bcmenet_sw_mdio_read(priv, external_phy, in swphy_poll_timer()
2053 media = mii_nway_result(lpa & advertise); in swphy_poll_timer()
2062 advertise = bcmenet_sw_mdio_read(priv, external_phy, in swphy_poll_timer()
2068 if (advertise & (ADVERTISE_1000FULL | ADVERTISE_1000HALF) in swphy_poll_timer()

123