Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/drivers/net/
Dsungem_phy.c314 static int genmii_setup_aneg(struct mii_phy *phy, u32 advertise) in genmii_setup_aneg() argument
322 phy->advertising = advertise; in genmii_setup_aneg()
327 if (advertise & ADVERTISED_10baseT_Half) in genmii_setup_aneg()
329 if (advertise & ADVERTISED_10baseT_Full) in genmii_setup_aneg()
331 if (advertise & ADVERTISED_100baseT_Half) in genmii_setup_aneg()
333 if (advertise & ADVERTISED_100baseT_Full) in genmii_setup_aneg()
470 static int bcm54xx_setup_aneg(struct mii_phy *phy, u32 advertise) in bcm54xx_setup_aneg() argument
478 phy->advertising = advertise; in bcm54xx_setup_aneg()
483 if (advertise & ADVERTISED_10baseT_Half) in bcm54xx_setup_aneg()
485 if (advertise & ADVERTISED_10baseT_Full) in bcm54xx_setup_aneg()
[all …]
Dmii.c509 int advertise, lpa, media, duplex; in mii_check_media() local
543 advertise = mii->advertising; in mii_check_media()
545 advertise = mii->mdio_read(mii->dev, mii->phy_id, MII_ADVERTISE); in mii_check_media()
546 mii->advertising = advertise; in mii_check_media()
553 media = mii_nway_result(lpa & advertise); in mii_check_media()
/kernel/linux/linux-5.10/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);
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/drivers/net/dsa/mv88e6xxx/
Dserdes.h83 const unsigned long *advertise);
87 const unsigned long *advertise);
Dserdes.c122 const unsigned long *advertise) in mv88e6352_serdes_pcs_config() argument
134 adv = linkmode_adv_to_mii_adv_x(advertise, in mv88e6352_serdes_pcs_config()
695 const unsigned long *advertise) in mv88e6390_serdes_pcs_config() argument
707 adv = linkmode_adv_to_mii_adv_x(advertise, in mv88e6390_serdes_pcs_config()
712 adv = linkmode_adv_to_mii_adv_x(advertise, in mv88e6390_serdes_pcs_config()
/kernel/linux/linux-5.10/include/linux/
Dsungem_phy.h12 int (*setup_aneg)(struct mii_phy *phy, u32 advertise);
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb3/
Dvsc8211.c347 .advertise = t3_phy_advertise,
361 .advertise = t3_phy_advertise_fiber,
Daq100x.c258 .advertise = aq100x_advertise,
/kernel/linux/linux-5.10/net/rds/
Dib_send.c359 unsigned int avail, posted, got = 0, advertise; in rds_ib_send_grab_credits() local
367 advertise = 0; in rds_ib_send_grab_credits()
397 advertise = min_t(unsigned int, posted, max_posted); in rds_ib_send_grab_credits()
398 newval -= IB_SET_POST_CREDITS(advertise); in rds_ib_send_grab_credits()
405 *adv_credits = advertise; in rds_ib_send_grab_credits()
/kernel/linux/linux-5.10/drivers/net/ethernet/toshiba/
Dspider_net.c167 u32 advertise = 0; in spider_net_setup_aneg() local
174 advertise |= ADVERTISED_10baseT_Half; in spider_net_setup_aneg()
176 advertise |= ADVERTISED_10baseT_Full; in spider_net_setup_aneg()
178 advertise |= ADVERTISED_100baseT_Half; in spider_net_setup_aneg()
180 advertise |= ADVERTISED_100baseT_Full; in spider_net_setup_aneg()
183 advertise |= SUPPORTED_1000baseT_Full; in spider_net_setup_aneg()
185 advertise |= SUPPORTED_1000baseT_Half; in spider_net_setup_aneg()
188 phy->def->ops->setup_aneg(phy, advertise); in spider_net_setup_aneg()
/kernel/linux/linux-5.10/drivers/nvdimm/
DKconfig12 bus is registered to advertise PMEM (persistent memory)
85 Map persistent memory, i.e. advertise it to the memory
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb/
Dcphy.h81 int (*advertise)(struct cphy *phy, unsigned int advertise_map); member
Dmv88e1xxx.c351 .advertise = mv88e1xxx_advertise,
/kernel/linux/linux-5.10/drivers/net/phy/
Dat803x.c158 u16 advertise; member
222 context->advertise = phy_read(phydev, MII_ADVERTISE); in at803x_context_save()
234 phy_write(phydev, MII_ADVERTISE, context->advertise); in at803x_context_restore()
Dmarvell.c579 static inline u32 linkmode_adv_to_fiber_adv_t(unsigned long *advertise) in linkmode_adv_to_fiber_adv_t() argument
583 if (linkmode_test_bit(ETHTOOL_LINK_MODE_1000baseT_Half_BIT, advertise)) in linkmode_adv_to_fiber_adv_t()
585 if (linkmode_test_bit(ETHTOOL_LINK_MODE_1000baseT_Full_BIT, advertise)) in linkmode_adv_to_fiber_adv_t()
588 if (linkmode_test_bit(ETHTOOL_LINK_MODE_Asym_Pause_BIT, advertise) && in linkmode_adv_to_fiber_adv_t()
589 linkmode_test_bit(ETHTOOL_LINK_MODE_Pause_BIT, advertise)) in linkmode_adv_to_fiber_adv_t()
591 else if (linkmode_test_bit(ETHTOOL_LINK_MODE_Pause_BIT, advertise)) in linkmode_adv_to_fiber_adv_t()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_acpi.c603 u8 perf_req, bool advertise) in radeon_acpi_pcie_performance_request() argument
627 if (advertise) in radeon_acpi_pcie_performance_request()
/kernel/linux/linux-5.10/drivers/dax/
DKconfig41 EFI 2.8 platforms, and others, may advertise 'specific purpose'
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_acpi.c659 u8 perf_req, bool advertise) in amdgpu_acpi_pcie_performance_request() argument
686 if (advertise) in amdgpu_acpi_pcie_performance_request()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/pci/
Dpci.txt34 not to advertise ASPM L1 Sub-States support if there is no CLKREQ signal.
/kernel/linux/linux-5.10/Documentation/powerpc/
Ddawr-power9.rst25 For ptrace, we now advertise zero breakpoints on POWER9 via the
/kernel/linux/linux-5.10/Documentation/driver-api/nvdimm/
Dfirmware-activate.rst17 to advertise and control their local runtime firmware activation
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/
Dbcm63xx_enet.c1983 int val, j, up, advertise, lpa, speed, duplex, media; in swphy_poll_timer() local
2020 advertise = bcmenet_sw_mdio_read(priv, external_phy, in swphy_poll_timer()
2027 media = mii_nway_result(lpa & advertise); in swphy_poll_timer()
2036 advertise = bcmenet_sw_mdio_read(priv, external_phy, in swphy_poll_timer()
2042 if (advertise & (ADVERTISE_1000FULL | ADVERTISE_1000HALF) in swphy_poll_timer()

123