/linux-2.6.39/net/batman-adv/ |
D | Makefile | 21 obj-$(CONFIG_BATMAN_ADV) += batman-adv.o 22 batman-adv-y += aggregation.o 23 batman-adv-y += bat_debugfs.o 24 batman-adv-y += bat_sysfs.o 25 batman-adv-y += bitarray.o 26 batman-adv-y += gateway_client.o 27 batman-adv-y += gateway_common.o 28 batman-adv-y += hard-interface.o 29 batman-adv-y += hash.o 30 batman-adv-y += icmp_socket.o [all …]
|
/linux-2.6.39/drivers/net/ibm_newemac/ |
D | phy.c | 108 int ctl, adv; in genmii_setup_aneg() local 125 adv = phy_read(phy, MII_ADVERTISE); in genmii_setup_aneg() 126 if (adv < 0) in genmii_setup_aneg() 127 return adv; in genmii_setup_aneg() 128 adv &= ~(ADVERTISE_ALL | ADVERTISE_100BASE4 | ADVERTISE_PAUSE_CAP | in genmii_setup_aneg() 131 adv |= ADVERTISE_10HALF; in genmii_setup_aneg() 133 adv |= ADVERTISE_10FULL; in genmii_setup_aneg() 135 adv |= ADVERTISE_100HALF; in genmii_setup_aneg() 137 adv |= ADVERTISE_100FULL; in genmii_setup_aneg() 139 adv |= ADVERTISE_PAUSE_CAP; in genmii_setup_aneg() [all …]
|
D | core.c | 2385 u32 phy_map, adv; in emac_init_phy() local 2487 adv = dev->phy.features; in emac_init_phy() 2489 adv |= ADVERTISED_Pause | ADVERTISED_Asym_Pause; in emac_init_phy() 2491 dev->phy.def->ops->setup_aneg(&dev->phy, adv); in emac_init_phy()
|
/linux-2.6.39/drivers/net/cxgb3/ |
D | aq100x.c | 155 unsigned int adv; in aq100x_advertise() local 159 adv = 0; in aq100x_advertise() 161 adv |= ADV_10G_FULL; in aq100x_advertise() 163 ADV_10G_FULL, adv); in aq100x_advertise() 168 adv = 0; in aq100x_advertise() 170 adv |= ADV_1G_FULL; in aq100x_advertise() 172 adv |= ADV_1G_HALF; in aq100x_advertise() 174 ADV_1G_FULL | ADV_1G_HALF, adv); in aq100x_advertise() 179 adv = 0; in aq100x_advertise() 181 adv |= ADVERTISE_100HALF; in aq100x_advertise() [all …]
|
D | vsc8211.c | 133 unsigned int bmcr, status, lpa, adv; in vsc8211_get_link_status() local 182 MII_ADVERTISE, &adv); in vsc8211_get_link_status() 186 if (lpa & adv & ADVERTISE_PAUSE_CAP) in vsc8211_get_link_status() 190 (adv & ADVERTISE_PAUSE_ASYM)) in vsc8211_get_link_status() 193 (adv & ADVERTISE_PAUSE_CAP)) in vsc8211_get_link_status() 209 unsigned int bmcr, status, lpa, adv; in vsc8211_get_link_status_fiber() local 242 &adv); in vsc8211_get_link_status_fiber() 246 if (adv & lpa & ADVERTISE_1000XFULL) { in vsc8211_get_link_status_fiber() 249 } else if (adv & lpa & ADVERTISE_1000XHALF) { in vsc8211_get_link_status_fiber() 255 if (lpa & adv & ADVERTISE_1000XPAUSE) in vsc8211_get_link_status_fiber() [all …]
|
/linux-2.6.39/drivers/net/ |
D | sungem_phy.c | 315 u16 ctl, adv; in genmii_setup_aneg() local 324 adv = phy_read(phy, MII_ADVERTISE); in genmii_setup_aneg() 325 adv &= ~(ADVERTISE_ALL | ADVERTISE_100BASE4); in genmii_setup_aneg() 327 adv |= ADVERTISE_10HALF; in genmii_setup_aneg() 329 adv |= ADVERTISE_10FULL; in genmii_setup_aneg() 331 adv |= ADVERTISE_100HALF; in genmii_setup_aneg() 333 adv |= ADVERTISE_100FULL; in genmii_setup_aneg() 334 phy_write(phy, MII_ADVERTISE, adv); in genmii_setup_aneg() 470 u16 ctl, adv; in bcm54xx_setup_aneg() local 479 adv = phy_read(phy, MII_ADVERTISE); in bcm54xx_setup_aneg() [all …]
|
D | mdio.c | 345 int adv, old_adv; in mdio45_ethtool_spauseparam_an() local 351 adv = ((old_adv & ~(ADVERTISE_PAUSE_CAP | ADVERTISE_PAUSE_ASYM)) | in mdio45_ethtool_spauseparam_an() 354 if (adv != old_adv) { in mdio45_ethtool_spauseparam_an() 356 MDIO_AN_ADVERTISE, adv); in mdio45_ethtool_spauseparam_an()
|
D | forcedeth.c | 3040 int adv = 0; in nv_update_linkspeed() local 3090 adv = mii_rw(dev, np->phyaddr, MII_ADVERTISE, MII_READ); in nv_update_linkspeed() 3107 adv_lpa = lpa & adv; in nv_update_linkspeed() 3205 adv_pause = adv & (ADVERTISE_PAUSE_CAP | ADVERTISE_PAUSE_ASYM); in nv_update_linkspeed() 3959 int adv; in nv_get_settings() local 4000 adv = mii_rw(dev, np->phyaddr, MII_ADVERTISE, MII_READ); in nv_get_settings() 4001 if (adv & ADVERTISE_10HALF) in nv_get_settings() 4003 if (adv & ADVERTISE_10FULL) in nv_get_settings() 4005 if (adv & ADVERTISE_100HALF) in nv_get_settings() 4007 if (adv & ADVERTISE_100FULL) in nv_get_settings() [all …]
|
D | skge.c | 1374 u16 adv = PHY_B_1000C_RD; in bcom_phy_init() local 1376 adv |= PHY_B_1000C_AHD; in bcom_phy_init() 1378 adv |= PHY_B_1000C_AFD; in bcom_phy_init() 1379 xm_phy_write(hw, port, PHY_BCOM_1000T_CTRL, adv); in bcom_phy_init() 1971 u16 ctrl, ct1000, adv; in yukon_init() local 1994 adv = PHY_AN_CSMA; in yukon_init() 2003 adv |= PHY_M_AN_100_FD; in yukon_init() 2005 adv |= PHY_M_AN_100_HD; in yukon_init() 2007 adv |= PHY_M_AN_10_FD; in yukon_init() 2009 adv |= PHY_M_AN_10_HD; in yukon_init() [all …]
|
D | b44.c | 441 u32 adv = ADVERTISE_CSMA; in b44_setup_phy() local 444 adv |= ADVERTISE_10HALF; in b44_setup_phy() 446 adv |= ADVERTISE_10FULL; in b44_setup_phy() 448 adv |= ADVERTISE_100HALF; in b44_setup_phy() 450 adv |= ADVERTISE_100FULL; in b44_setup_phy() 453 adv |= ADVERTISE_PAUSE_CAP | ADVERTISE_PAUSE_ASYM; in b44_setup_phy() 455 if ((err = b44_writephy(bp, MII_ADVERTISE, adv)) != 0) in b44_setup_phy()
|
D | sky2.c | 330 u16 ctrl, ct1000, adv, pg, ledctrl, ledover, reg; in sky2_phy_init() local 416 adv = PHY_AN_CSMA; in sky2_phy_init() 426 adv |= PHY_M_AN_100_FD; in sky2_phy_init() 428 adv |= PHY_M_AN_100_HD; in sky2_phy_init() 430 adv |= PHY_M_AN_10_FD; in sky2_phy_init() 432 adv |= PHY_M_AN_10_HD; in sky2_phy_init() 436 adv |= PHY_M_AN_1000X_AFD; in sky2_phy_init() 438 adv |= PHY_M_AN_1000X_AHD; in sky2_phy_init() 470 adv |= copper_fc_adv[sky2->flow_mode]; in sky2_phy_init() 472 adv |= fiber_fc_adv[sky2->flow_mode]; in sky2_phy_init() [all …]
|
D | bnx2.c | 1632 u32 adv = 0; in bnx2_phy_get_pause_adv() local 1638 adv = ADVERTISE_1000XPAUSE; in bnx2_phy_get_pause_adv() 1641 adv = ADVERTISE_PAUSE_CAP; in bnx2_phy_get_pause_adv() 1646 adv = ADVERTISE_1000XPSE_ASYM; in bnx2_phy_get_pause_adv() 1649 adv = ADVERTISE_PAUSE_ASYM; in bnx2_phy_get_pause_adv() 1654 adv = ADVERTISE_1000XPAUSE | ADVERTISE_1000XPSE_ASYM; in bnx2_phy_get_pause_adv() 1657 adv = ADVERTISE_PAUSE_CAP | ADVERTISE_PAUSE_ASYM; in bnx2_phy_get_pause_adv() 1660 return adv; in bnx2_phy_get_pause_adv() 1729 u32 adv, bmcr; in bnx2_setup_serdes_phy() local 1746 bnx2_read_phy(bp, bp->mii_adv, &adv); in bnx2_setup_serdes_phy() [all …]
|
D | r8169.c | 562 int (*set_speed)(struct net_device *, u8 aneg, u16 sp, u8 dpx, u32 adv); 1144 u8 autoneg, u16 speed, u8 duplex, u32 adv) in rtl8169_set_speed_xmii() argument 1159 if (adv & ADVERTISED_10baseT_Half) in rtl8169_set_speed_xmii() 1161 if (adv & ADVERTISED_10baseT_Full) in rtl8169_set_speed_xmii() 1163 if (adv & ADVERTISED_100baseT_Half) in rtl8169_set_speed_xmii() 1165 if (adv & ADVERTISED_100baseT_Full) in rtl8169_set_speed_xmii() 1184 if (adv & ADVERTISED_1000baseT_Half) in rtl8169_set_speed_xmii() 1186 if (adv & ADVERTISED_1000baseT_Full) in rtl8169_set_speed_xmii() 1188 } else if (adv & (ADVERTISED_1000baseT_Half | in rtl8169_set_speed_xmii()
|
D | sis190.c | 961 u16 adv, autoexp, gigadv, gigrec; in sis190_phy_task() local 967 adv = mdio_read(ioaddr, phy_id, MII_ADVERTISE); in sis190_phy_task() 970 val, adv, autoexp); in sis190_phy_task() 983 val &= adv; in sis190_phy_task()
|
D | niu.c | 1236 u16 adv, lpa, common, estat; in link_status_1g_rgmii() local 1241 adv = err; in link_status_1g_rgmii() 1248 common = adv & lpa; in link_status_1g_rgmii() 1745 u16 bmcr, bmsr, adv, estat; in mii_init_common() local 1791 adv = ADVERTISE_CSMA | ADVERTISE_PAUSE_CAP; in mii_init_common() 1794 adv |= ADVERTISE_10HALF; in mii_init_common() 1797 adv |= ADVERTISE_10FULL; in mii_init_common() 1800 adv |= ADVERTISE_100HALF; in mii_init_common() 1803 adv |= ADVERTISE_100FULL; in mii_init_common() 1804 err = mii_write(np, np->phy_addr, MII_ADVERTISE, adv); in mii_init_common()
|
D | tg3.c | 4206 u32 adv, new_adv; in tg3_setup_fiber_mii_phy() local 4208 err |= tg3_readphy(tp, MII_ADVERTISE, &adv); in tg3_setup_fiber_mii_phy() 4209 new_adv = adv & ~(ADVERTISE_1000XFULL | ADVERTISE_1000XHALF | in tg3_setup_fiber_mii_phy() 4221 if ((new_adv != adv) || !(bmcr & BMCR_ANENABLE)) { in tg3_setup_fiber_mii_phy() 4249 u32 adv; in tg3_setup_fiber_mii_phy() local 4251 err |= tg3_readphy(tp, MII_ADVERTISE, &adv); in tg3_setup_fiber_mii_phy() 4252 adv &= ~(ADVERTISE_1000XFULL | in tg3_setup_fiber_mii_phy() 4255 tg3_writephy(tp, MII_ADVERTISE, adv); in tg3_setup_fiber_mii_phy() 12561 u32 adv = ADVERTISED_Autoneg | in tg3_phy_init_link_config() local 12565 adv |= ADVERTISED_1000baseT_Half | in tg3_phy_init_link_config() [all …]
|
/linux-2.6.39/drivers/net/phy/ |
D | phy_device.c | 552 int oldadv, adv; in genphy_config_advert() local 561 oldadv = adv = phy_read(phydev, MII_ADVERTISE); in genphy_config_advert() 563 if (adv < 0) in genphy_config_advert() 564 return adv; in genphy_config_advert() 566 adv &= ~(ADVERTISE_ALL | ADVERTISE_100BASE4 | ADVERTISE_PAUSE_CAP | in genphy_config_advert() 569 adv |= ADVERTISE_10HALF; in genphy_config_advert() 571 adv |= ADVERTISE_10FULL; in genphy_config_advert() 573 adv |= ADVERTISE_100HALF; in genphy_config_advert() 575 adv |= ADVERTISE_100FULL; in genphy_config_advert() 577 adv |= ADVERTISE_PAUSE_CAP; in genphy_config_advert() [all …]
|
D | marvell.c | 632 int adv; in marvell_read_status() local 652 adv = phy_read(phydev, MII_ADVERTISE); in marvell_read_status() 653 if (adv < 0) in marvell_read_status() 654 return adv; in marvell_read_status() 656 lpa &= adv; in marvell_read_status()
|
/linux-2.6.39/Documentation/ABI/testing/ |
D | sysfs-class-net-batman-adv | 2 What: /sys/class/net/<iface>/batman-adv/mesh_iface 6 The /sys/class/net/<iface>/batman-adv/mesh_iface file 10 What: /sys/class/net/<iface>/batman-adv/iface_status
|
/linux-2.6.39/include/linux/ |
D | mii.h | 248 u16 adv = 0; in mii_advertise_flowctrl() local 251 adv = ADVERTISE_PAUSE_CAP | ADVERTISE_PAUSE_ASYM; in mii_advertise_flowctrl() 253 adv ^= ADVERTISE_PAUSE_ASYM; in mii_advertise_flowctrl() 255 return adv; in mii_advertise_flowctrl()
|
/linux-2.6.39/Documentation/networking/ |
D | batman-adv.txt | 25 Load the batman-adv module into your kernel: 27 # insmod batman-adv.ko 181 or /var/log/syslog. All batman-adv messages are prefixed with 182 "batman-adv:" So to see just these messages try 184 # dmesg | grep batman-adv 188 enabled when compiling the batman-adv module. When building bat- 189 man-adv as part of kernel, use "make menuconfig" and enable the
|
/linux-2.6.39/drivers/net/sfc/ |
D | tenxpress.c | 448 u32 adv = 0, lpa = 0; in tenxpress_get_settings() local 453 adv |= ADVERTISED_10000baseT_Full; in tenxpress_get_settings() 458 mdio45_ethtool_gset_npage(&efx->mdio, ecmd, adv, lpa); in tenxpress_get_settings()
|
/linux-2.6.39/net/ipv4/ |
D | inet_timewait_sock.c | 426 int adv = 0; in inet_twdr_twcal_tick() local 453 if (!adv) { in inet_twdr_twcal_tick() 454 adv = 1; in inet_twdr_twcal_tick()
|
/linux-2.6.39/net/ |
D | Makefile | 70 obj-$(CONFIG_BATMAN_ADV) += batman-adv/
|
D | Kconfig | 217 source "net/batman-adv/Kconfig"
|