Searched refs:duplex (Results 51 - 75 of 138) sorted by relevance

123456

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/usb/
H A Dasix.c791 if (ecmd.duplex != DUPLEX_FULL)
794 devdbg(dev, "ax88172_link_reset() speed: %d duplex: %d setting mode to 0x%04x", ecmd.speed, ecmd.duplex, mode);
890 if (ecmd.duplex != DUPLEX_FULL)
893 devdbg(dev, "ax88772_link_reset() speed: %d duplex: %d setting mode to 0x%04x", ecmd.speed, ecmd.duplex, mode);
1124 if (ecmd.duplex == DUPLEX_FULL)
1129 devdbg(dev, "ax88178_link_reset() speed: %d duplex: %d setting mode to 0x%04x", ecmd.speed, ecmd.duplex, mode);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/
H A Dau1000_eth.c855 if (aup->phy_dev->link && (DUPLEX_FULL == aup->phy_dev->duplex))
859 } else { /* PHY-less op, assume full-duplex */
903 if (phydev->link && (aup->old_duplex != phydev->duplex)) {
904 // duplex mode changed
906 /* switching duplex mode requires to disable rx and tx! */
909 if (DUPLEX_FULL == phydev->duplex)
920 aup->old_duplex = phydev->duplex;
945 DUPLEX_FULL == phydev->duplex ? "Full" : "Half");
1044 if (!aup->phy_dev || (DUPLEX_FULL == aup->phy_dev->duplex)) {
1047 * in half duplex mod
[all...]
H A Dbnx2.c558 if (bp->duplex == DUPLEX_HALF)
564 if (bp->duplex == DUPLEX_HALF)
570 if (bp->duplex == DUPLEX_HALF)
576 if (bp->duplex == DUPLEX_HALF)
613 if (bp->duplex == DUPLEX_FULL)
614 printk("full duplex");
616 printk("half duplex");
648 if (bp->duplex == DUPLEX_FULL) {
654 if (bp->duplex != DUPLEX_FULL) {
728 bp->duplex
[all...]
H A Dfec.c237 static void fec_restart(struct net_device *dev, int duplex);
290 #define PHY_CONF_10HDX 0x0010 /* 10 Mbit half duplex supported */
291 #define PHY_CONF_10FDX 0x0020 /* 10 Mbit full duplex supported */
292 #define PHY_CONF_100HDX 0x0040 /* 100 Mbit half duplex supported */
293 #define PHY_CONF_100FDX 0x0080 /* 100 Mbit full duplex supported */
299 #define PHY_STAT_10HDX 0x1000 /* 10 Mbit half duplex selected */
300 #define PHY_STAT_10FDX 0x2000 /* 10 Mbit full duplex selected */
301 #define PHY_STAT_100HDX 0x4000 /* 100 Mbit half duplex selected */
302 #define PHY_STAT_100FDX 0x8000 /* 100 Mbit full duplex selected */
1917 printk(", Unknown speed/duplex");
1969 int duplex; local
2445 fec_restart(struct net_device *dev, int duplex) argument
[all...]
H A Dmv643xx_eth.c457 /* Set the mv643xx port configuration register for the speed/duplex mode. */
469 /* clear speed, duplex and rx buffer size fields */
475 if (ecmd->duplex == DUPLEX_FULL)
1271 int speed, int duplex,
1295 cmd->duplex = duplex;
1320 int duplex = DUPLEX_HALF; local
1410 duplex = pd->duplex;
1431 mv643xx_init_ethtool_cmd(dev, mp->mii.phy_id, speed, duplex,
1270 mv643xx_init_ethtool_cmd(struct net_device *dev, int phy_address, int speed, int duplex, struct ethtool_cmd *cmd) argument
[all...]
H A Dsky2.c405 /* forced speed/duplex settings */
408 /* Disable auto update for duplex flow control and speed */
422 if (sky2->duplex == DUPLEX_FULL) {
615 /* Set GMAC to no flow control and auto update for speed/duplex */
1716 "%s: Link is up at %d Mbps, %s duplex, flow control %s\n",
1718 sky2->duplex == DUPLEX_FULL ? "full" : "half",
1768 printk(KERN_ERR PFX "%s: speed/duplex mismatch",
1774 sky2->duplex = (aux & PHY_M_PS_FULL_DUP) ? DUPLEX_FULL : DUPLEX_HALF;
1805 if (sky2->duplex == DUPLEX_HALF && sky2->speed < SPEED_1000
1845 sky2->duplex
[all...]
H A Dsungem.c1226 int duplex; local
1244 duplex = gp->phy_mii.duplex;
1255 duplex = ep->duplex;
1268 if (duplex == DUPLEX_FULL &&
1272 duplex = DUPLEX_HALF;
1282 gp->phy_mii.duplex = duplex;
1294 gp->phy_mii.def->ops->setup_forced(&gp->phy_mii, speed, duplex);
[all...]
H A Depic100.c37 /* Used to pass the full-duplex flag, etc. */
107 MODULE_PARM_DESC(options, "EPIC/100: Bits 0-3: media type, bit 4: full duplex");
109 MODULE_PARM_DESC(full_duplex, "EPIC/100 full duplex setting(s) (1)");
316 int i, ret, option = 0, duplex = 0; local
390 duplex = (dev->mem_start & 16) ? 1 : 0;
395 duplex = full_duplex[card_idx];
474 if (duplex) {
476 dev_info(&pdev->dev, "Forced full duplex requested.\n");
715 printk(KERN_INFO "%s: Setting %s-duplex based on MII xcvr %d"
739 "%s-duplex
838 int duplex = (negotiated & 0x0100) || (negotiated & 0x01C0) == 0x0040; local
[all...]
H A Dpasemi_mac.c648 if (!mac->phydev->duplex)
668 /* Print on link or speed/duplex change */
671 mac->duplex = mac->phydev->duplex;
679 printk(KERN_INFO "%s: Link is up at %d Mbps, %s duplex.\n",
680 dev->name, mac->speed, mac->duplex ? "full" : "half");
712 mac->duplex = -1;
H A D3c509.c106 #define FD_ENABLE 0x8000 /* Enable full-duplex ("external loopback") */
267 /* use eeprom value, but save user's full-duplex selection */
1134 ecmd->duplex = DUPLEX_HALF;
1147 ecmd->duplex = DUPLEX_FULL;
1163 if ((ecmd->duplex != DUPLEX_HALF) && (ecmd->duplex != DUPLEX_FULL))
1201 if (ecmd->duplex == DUPLEX_FULL)
1320 sw_info word (duplex setting plus other useless bits) */
1327 net_diag = (net_diag | FD_ENABLE); /* temporarily assume full-duplex will be set */
1331 /* force full-duplex mod
[all...]
H A Dtyphoon.c236 u8 duplex; member in struct:typhoon
947 tp->duplex = (s->linkStatus & TYPHOON_LINK_FULL_DUPLEX) ?
1067 /* need to get stats to make these link speed/duplex valid */
1070 cmd->duplex = tp->duplex;
1095 if(cmd->duplex == DUPLEX_HALF) {
1102 } else if(cmd->duplex == DUPLEX_FULL) {
1122 tp->duplex = 0xff; /* invalid */
1125 tp->duplex = cmd->duplex;
[all...]
H A Dpci-skeleton.c475 unsigned int full_duplex:1; /* Full-duplex operation requested. */
493 MODULE_PARM_DESC (media, "pci-skeleton: Bits 0-3: media type, bit 17: full duplex");
1110 " GP Pins %2.2x %s-duplex.\n",
1231 int duplex = (mii_lpa & LPA_100FULL) local
1233 if (tp->full_duplex != duplex) {
1234 tp->full_duplex = duplex;
1236 "%s: Setting %s-duplex based on MII #%d link"
1615 int duplex = (lpar & 0x0100) || (lpar & 0x01C0) == 0x0040 local
1617 if (tp->full_duplex != duplex) {
1618 tp->full_duplex = duplex;
[all...]
H A Dsundance.c46 10mbps_hd 10Mbps half duplex.
47 10mbps_fd 10Mbps full duplex.
48 100mbps_hd 100Mbps half duplex.
49 100mbps_fd 100Mbps full duplex.
51 1 10Mbps half duplex.
52 2 10Mbps full duplex.
53 3 100Mbps half duplex.
54 4 100Mbps full duplex.
638 printk (KERN_INFO "Override speed=%d, %s duplex\n",
866 int duplex; local
[all...]
H A Dforcedeth.c723 int duplex; member in struct:fe_priv
1189 dprintk(KERN_DEBUG "%s: nv_start_rx to duplex %d, speed 0x%08x.\n",
1190 dev->name, np->duplex, np->linkspeed);
2600 int newdup = np->duplex;
2689 if (np->duplex == newdup && np->linkspeed == newls)
2693 dev->name, np->linkspeed, np->duplex, newls, newdup);
2695 np->duplex = newdup;
2712 if (np->duplex == 0)
2740 writel(NVREG_MISC1_FORCE | ( np->duplex ? 0 : NVREG_MISC1_HD),
2748 if (np->duplex !
[all...]
H A Dsc92031.c126 #define BMCR_FULLDPLX 0x0100 // Full duplex
544 printk(KERN_INFO "%s: link up, %sMbps, %s-duplex\n",
1189 cmd->duplex = (output_status & 0x4) ? DUPLEX_FULL : DUPLEX_HALF;
1208 if (!(cmd->duplex == DUPLEX_HALF || cmd->duplex == DUPLEX_FULL))
1247 if (cmd->duplex == DUPLEX_FULL)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/bonding/
H A Dbonding.h161 u8 duplex; member in struct:slave
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/cxgb3/
H A Dadapter.h271 int speed, int duplex, int fc);
H A Dt3_hw.c403 * t3_set_phy_speed_duplex - force PHY speed and duplex
406 * @duplex: requested PHY duplex
408 * Force a 10/100/1000 PHY's speed and duplex. This also disables
411 int t3_set_phy_speed_duplex(struct cphy *phy, int speed, int duplex) argument
427 if (duplex >= 0) {
429 if (duplex == DUPLEX_FULL)
1018 int link_ok, speed, duplex, fc; local
1024 phy->ops->get_link_status(phy, &link_ok, &speed, &duplex, &fc);
1035 lc->duplex
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/fec_8xx/
H A Dfec_8xx.h51 #define PHY_CONF_10HDX 0x0010 /* 10 Mbit half duplex supported */
52 #define PHY_CONF_10FDX 0x0020 /* 10 Mbit full duplex supported */
53 #define PHY_CONF_100HDX 0x0040 /* 100 Mbit half duplex supported */
54 #define PHY_CONF_100FDX 0x0080 /* 100 Mbit full duplex supported */
60 #define PHY_STAT_10HDX 0x1000 /* 10 Mbit half duplex selected */
61 #define PHY_STAT_10FDX 0x2000 /* 10 Mbit full duplex selected */
62 #define PHY_STAT_100HDX 0x4000 /* 100 Mbit half duplex selected */
63 #define PHY_STAT_100FDX 0x8000 /* 100 Mbit full duplex selected */
132 void fec_restart(struct net_device *dev, int duplex, int speed);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-cris/arch-v32/hwregs/
H A Deth_defs.h152 unsigned int duplex : 1; member in struct:__anon8175
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dphy.h220 * speed, duplex, pause, supported, advertising, and
250 /* forced speed & duplex (no autoneg)
251 * partner speed & duplex & pause (autoneg)
254 int duplex; member in struct:phy_device
302 * features: A list of features (speed, duplex, etc) supported
340 /* Determines the negotiated speed and duplex */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ppc/8260_io/
H A Dfcc_enet.c54 /* If we have a PHY interrupt, we will advertise both full-duplex and half-
55 * duplex capabilities. If we don't have a PHY interrupt, then we will only
56 * advertise half-duplex capabilities.
96 #define PHY_CONF_10HDX 0x0010 /* 10 Mbit half duplex supported */
97 #define PHY_CONF_10FDX 0x0020 /* 10 Mbit full duplex supported */
98 #define PHY_CONF_100HDX 0x0040 /* 100 Mbit half duplex supported */
99 #define PHY_CONF_100FDX 0x0080 /* 100 Mbit full duplex supported */
105 #define PHY_STAT_10HDX 0x1000 /* 10 Mbit half duplex selected */
106 #define PHY_STAT_10FDX 0x2000 /* 10 Mbit full duplex selected */
107 #define PHY_STAT_100HDX 0x4000 /* 100 Mbit half duplex selecte
1443 int duplex = 0; local
2240 fcc_restart(struct net_device *dev, int duplex) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/atl1/
H A Datl1_main.c828 /* duplex */
864 u16 speed, duplex, phy_data; local
881 ret_val = atl1_get_speed_and_duplex(hw, &speed, &duplex);
887 if (speed != SPEED_1000 || duplex != FULL_DUPLEX)
891 if (speed != SPEED_100 || duplex != FULL_DUPLEX)
895 if (speed != SPEED_100 || duplex != HALF_DUPLEX)
899 if (speed != SPEED_10 || duplex != FULL_DUPLEX)
903 if (speed != SPEED_10 || duplex != HALF_DUPLEX)
911 || adapter->link_duplex != duplex) {
913 adapter->link_duplex = duplex;
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/tulip/
H A Dwinbond-840.c160 MODULE_PARM_DESC(options, "winbond-840: Bits 0-3: media type, bit 17: full duplex");
161 MODULE_PARM_DESC(full_duplex, "winbond-840 full duplex setting(s) (1)");
675 int duplex, fasteth, result, mii_reg; local
710 duplex = mii_reg & BMCR_FULLDPLX;
717 duplex = (negotiated & LPA_100FULL) || ((negotiated & 0x02C0) == LPA_10FULL);
720 duplex |= np->mii_if.force_media;
723 if (duplex)
728 printk(KERN_INFO "%s: Setting %dMBit-%s-duplex based on MII#%d\n",
730 duplex ? "full" : "half", np->phys[0]);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/include/
H A Dnt_printing.h278 uint16 duplex; member in struct:ntdevicemode

Completed in 199 milliseconds

123456