Home
last modified time | relevance | path

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

12

/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.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()
/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);
/drivers/net/dsa/mv88e6xxx/
Dserdes.h113 const unsigned long *advertise);
117 const unsigned long *advertise);
Dserdes.c140 const unsigned long *advertise) in mv88e6352_serdes_pcs_config() argument
152 adv = linkmode_adv_to_mii_adv_x(advertise, in mv88e6352_serdes_pcs_config()
854 const unsigned long *advertise) in mv88e6390_serdes_pcs_config() argument
866 adv = linkmode_adv_to_mii_adv_x(advertise, in mv88e6390_serdes_pcs_config()
871 adv = linkmode_adv_to_mii_adv_x(advertise, in mv88e6390_serdes_pcs_config()
Dchip.h563 const unsigned long *advertise);
/drivers/net/ethernet/toshiba/
Dspider_net.c168 u32 advertise = 0; in spider_net_setup_aneg() local
175 advertise |= ADVERTISED_10baseT_Half; in spider_net_setup_aneg()
177 advertise |= ADVERTISED_10baseT_Full; in spider_net_setup_aneg()
179 advertise |= ADVERTISED_100baseT_Half; in spider_net_setup_aneg()
181 advertise |= ADVERTISED_100baseT_Full; in spider_net_setup_aneg()
184 advertise |= SUPPORTED_1000baseT_Full; in spider_net_setup_aneg()
186 advertise |= SUPPORTED_1000baseT_Half; in spider_net_setup_aneg()
189 phy->def->ops->setup_aneg(phy, advertise); in spider_net_setup_aneg()
/drivers/net/ethernet/chelsio/cxgb3/
Dvsc8211.c347 .advertise = t3_phy_advertise,
361 .advertise = t3_phy_advertise_fiber,
Daq100x.c258 .advertise = aq100x_advertise,
Dcommon.h528 int (*advertise)(struct cphy *phy, unsigned int advertise_map); member
/drivers/nvdimm/
DKconfig12 bus is registered to advertise PMEM (persistent memory)
85 Map persistent memory, i.e. advertise it to the memory
/drivers/net/ethernet/chelsio/cxgb/
Dcphy.h81 int (*advertise)(struct cphy *phy, unsigned int advertise_map); member
Dmv88e1xxx.c351 .advertise = mv88e1xxx_advertise,
/drivers/gpu/drm/radeon/
Dradeon_acpi.c602 u8 perf_req, bool advertise) in radeon_acpi_pcie_performance_request() argument
626 if (advertise) in radeon_acpi_pcie_performance_request()
Dcypress_dpm.c300 u8 perf_req, bool advertise) in cypress_pcie_performance_request() argument
316 return radeon_acpi_pcie_performance_request(rdev, perf_req, advertise); in cypress_pcie_performance_request()
320 return radeon_acpi_pcie_performance_request(rdev, perf_req, advertise); in cypress_pcie_performance_request()
/drivers/net/phy/
Dat803x.c202 u16 advertise; member
306 context->advertise = phy_read(phydev, MII_ADVERTISE); in at803x_context_save()
318 phy_write(phydev, MII_ADVERTISE, context->advertise); in at803x_context_restore()
Dmarvell.c617 static inline u32 linkmode_adv_to_fiber_adv_t(unsigned long *advertise) in linkmode_adv_to_fiber_adv_t() argument
621 if (linkmode_test_bit(ETHTOOL_LINK_MODE_1000baseT_Half_BIT, advertise)) in linkmode_adv_to_fiber_adv_t()
623 if (linkmode_test_bit(ETHTOOL_LINK_MODE_1000baseT_Full_BIT, advertise)) in linkmode_adv_to_fiber_adv_t()
626 if (linkmode_test_bit(ETHTOOL_LINK_MODE_Asym_Pause_BIT, advertise) && in linkmode_adv_to_fiber_adv_t()
627 linkmode_test_bit(ETHTOOL_LINK_MODE_Pause_BIT, advertise)) in linkmode_adv_to_fiber_adv_t()
629 else if (linkmode_test_bit(ETHTOOL_LINK_MODE_Pause_BIT, advertise)) in linkmode_adv_to_fiber_adv_t()
/drivers/dax/
DKconfig41 EFI 2.8 platforms, and others, may advertise 'specific purpose'
/drivers/cxl/
DKconfig71 In addition to typical memory resources a platform may also advertise
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_acpi.c654 u8 perf_req, bool advertise) in amdgpu_acpi_pcie_performance_request() argument
675 if (advertise) in amdgpu_acpi_pcie_performance_request()
/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()
/drivers/net/ethernet/broadcom/
Dbcm63xx_enet.c2006 int val, j, up, advertise, lpa, speed, duplex, media; in swphy_poll_timer() local
2043 advertise = bcmenet_sw_mdio_read(priv, external_phy, in swphy_poll_timer()
2050 media = mii_nway_result(lpa & advertise); in swphy_poll_timer()
2059 advertise = bcmenet_sw_mdio_read(priv, external_phy, in swphy_poll_timer()
2065 if (advertise & (ADVERTISE_1000FULL | ADVERTISE_1000HALF) in swphy_poll_timer()
/drivers/net/ethernet/intel/e1000e/
De1000.h180 u16 advertise; /* auto-negotiation advertisement */ member
/drivers/mtd/nand/raw/
DKconfig87 must advertise a platform_device for the driver to attach.
150 must advertise a platform_device for the driver to attach.

12