Searched refs:duplex (Results 26 - 50 of 138) sorted by relevance

123456

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/netxen/
H A Dnetxen_nic_ethtool.c148 ecmd->duplex = adapter->link_duplex;
161 ecmd->duplex = DUPLEX_FULL;
239 /* set duplex mode */
240 if (ecmd->duplex == DUPLEX_HALF)
242 if (ecmd->duplex == DUPLEX_FULL)
251 adapter->link_duplex = ecmd->duplex;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/sk98lin/
H A Dskethtool.c81 * This configuration involves a)speed, b)duplex and c)autoneg plus
124 ecmd->duplex = DuplexAutoNegConfMap[pPort->PLinkModeStatus][1];
180 * Possible settings that may be altered are a)speed, b)duplex or
199 if (ecmd->duplex != DUPLEX_HALF && ecmd->duplex != DUPLEX_FULL)
206 *buf = (ecmd->duplex == DUPLEX_FULL)
209 *buf = (ecmd->duplex == DUPLEX_FULL)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/cxgb3/
H A Dcommon.h438 unsigned char requested_duplex; /* duplex user has requested */
439 unsigned char duplex; /* actual link duplex */ member in struct:link_config
532 int (*set_speed_duplex)(struct cphy *phy, int speed, int duplex);
534 int *duplex, int *fc);
640 int t3_set_phy_speed_duplex(struct cphy *phy, int speed, int duplex);
688 int t3_mac_set_speed_duplex_fc(struct cmac *mac, int speed, int duplex, int fc);
H A Dcxgb3_main.c141 * link_report - show link status and link speed/duplex
144 * Shows the link status, speed, and duplex of a port.
166 printk(KERN_INFO "%s: link up, %s, %s-duplex\n", dev->name, s,
167 p->link_config.duplex == DUPLEX_FULL ? "full" : "half");
177 * @duplex: the new duplex setting
185 int speed, int duplex, int pause)
1274 cmd->duplex = p->link_config.duplex;
1277 cmd->duplex
184 t3_os_link_changed(struct adapter *adapter, int port_id, int link_stat, int speed, int duplex, int pause) argument
1289 speed_duplex_to_caps(int speed, int duplex) argument
[all...]
H A Dxgmac.c394 int t3_mac_set_speed_duplex_fc(struct cmac *mac, int speed, int duplex, int fc) argument
400 if (duplex >= 0 && duplex != DUPLEX_FULL)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/ibm_emac/
H A Dibm_emac_core.c159 * We should allow up to 1 frame time (full-duplex, ignoring collisions)
407 if (dev->phy.duplex == DUPLEX_FULL)
451 if (dev->phy.duplex == DUPLEX_FULL) {
850 dev->phy.duplex == DUPLEX_FULL ? "FDX" : "HDX",
926 int duplex = r & EMAC_MR1_FDE ? DUPLEX_FULL : DUPLEX_HALF; local
948 return speed != dev->phy.speed || duplex != dev->phy.duplex ||
1662 cmd->duplex = dev->phy.duplex;
1675 cmd->autoneg, cmd->speed, cmd->duplex, cm
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/
H A Dr8169.c13 Ex: 'insmod r8169 media = 0x04' will force PHY to operate in 100Mpbs Half-duplex.
455 int (*set_speed)(struct net_device *, u8 autoneg, u16 speed, u8 duplex);
599 static void rtl8169_link_option(int idx, u8 *autoneg, u16 *speed, u8 *duplex) argument
603 u8 duplex; member in struct:__anon5650
628 *duplex = p->duplex;
721 u8 autoneg, u16 speed, u8 duplex)
730 (duplex == DUPLEX_FULL)) {
747 u8 autoneg, u16 speed, u8 duplex)
771 if (duplex
720 rtl8169_set_speed_tbi(struct net_device *dev, u8 autoneg, u16 speed, u8 duplex) argument
746 rtl8169_set_speed_xmii(struct net_device *dev, u8 autoneg, u16 speed, u8 duplex) argument
807 rtl8169_set_speed(struct net_device *dev, u8 autoneg, u16 speed, u8 duplex) argument
1412 u8 autoneg, duplex; local
[all...]
H A Dbig_sur_ge.c1338 static void big_sur_ge_reset(struct net_device *netdev, DUPLEX duplex) argument
1350 switch (duplex) {
1390 DUPLEX * duplex, int *linkup)
1407 *duplex = FULL_DUPLEX;
1409 *duplex = HALF_DUPLEX;
1435 *duplex = FULL_DUPLEX;
1437 *duplex = HALF_DUPLEX;
1439 *duplex = FULL_DUPLEX;
1441 *duplex = HALF_DUPLEX;
1460 * Poll the MII for duplex an
1389 big_sur_ge_get_phy_status(struct net_device *netdev, DUPLEX * duplex, int *linkup) argument
[all...]
H A Dskge.c210 /* Set GMAC to no flow control and auto update for speed/duplex */
308 ecmd->duplex = skge->duplex;
320 skge->duplex = -1;
327 if (ecmd->duplex == DUPLEX_FULL)
329 else if (ecmd->duplex == DUPLEX_HALF)
335 if (ecmd->duplex == DUPLEX_FULL)
337 else if (ecmd->duplex == DUPLEX_HALF)
344 if (ecmd->duplex == DUPLEX_FULL)
346 else if (ecmd->duplex
[all...]
H A Dsis900.c68 static void sis900_read_mode(struct net_device *net_dev, int *speed, int *duplex);
185 static void sis900_set_mode (long ioaddr, int speed, int duplex);
1207 int speed, duplex = 0; local
1209 sis900_read_mode(net_dev, &speed, &duplex);
1210 if (duplex){
1211 sis900_set_mode(net_dev->base_addr, speed, duplex);
1264 * to get the upper bound of speed and duplex between two ends.
1273 int speed, duplex; local
1282 duplex = FDX_CAPABLE_HALF_SELECTED;
1283 sis900_set_mode(ioaddr, speed, duplex);
1301 sis900_set_mode(long ioaddr, int speed, int duplex) argument
1383 sis900_read_mode(struct net_device *net_dev, int *speed, int *duplex) argument
[all...]
H A Dspider_net_ethtool.c64 cmd->duplex = DUPLEX_FULL;
H A Dmeth.c175 unsigned long duplex, speed; local
181 duplex = ((negotiated & 0x0100) || (negotiated & 0x01C0) == 0x0040) ?
184 if ((priv->mac_ctrl & METH_PHY_FDX) ^ duplex) {
185 DPRINTK("Setting %s-duplex\n", duplex ? "full" : "half");
186 if (duplex)
195 if (duplex)
287 /* Initial mode: 10 | Half-duplex | Accept normal packets */
293 /* Autonegotiate speed and duplex mode */
H A Dtsi108_eth.c108 /* PHY status (duplex is 1 for half, 2 for full,
114 unsigned int duplex; member in struct:tsi108_prv_data
173 " link %d speed %d duplex %d\n",
176 data->link_up, data->speed, data->duplex);
294 u32 duplex; local
310 duplex = mii_check_media(&data->mii_if, netif_msg_link(data), data->init_media);
317 if ((speed != data->speed) || duplex) {
337 data->duplex = 2;
341 data->duplex = 1;
H A Dnatsemi.c152 "DP8381x: Bits 0-3: media type, bit 17: full duplex");
153 MODULE_PARM_DESC(full_duplex, "DP8381x full duplex setting(s) (1)");
599 u8 duplex; /* Duplex, half or full */ member in struct:netdev_private
768 np->duplex = (tmp & BMCR_FULLDPLX)? DUPLEX_FULL : DUPLEX_HALF;
775 "10%s %s duplex.\n",
1175 if (np->duplex == DUPLEX_FULL)
1653 int duplex = np->duplex; local
1684 duplex = np->full_duplex;
1685 if (!duplex) {
[all...]
H A Dtlan.c88 * v1.8 April 23, 2000 - Fixed support for forced speed/duplex settings.
91 * will report Link speed & duplex modes as well as
145 * - Added support for speed/duplex selection with
165 * 10T half duplex no loopback
192 /* Set speed, duplex and aui settings */
194 static int duplex[MAX_TLAN_BOARDS]; variable
198 module_param_array(duplex, int, NULL, 0);
201 MODULE_PARM_DESC(duplex, "ThunderLAN duplex setting(s) (0-default, 1-half, 2-full)");
621 priv->duplex
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/arm/
H A Dat91_ether.c148 unsigned int speed, duplex; local
167 if ((lpa & LPA_100FULL) || (lpa & LPA_10FULL)) duplex = DUPLEX_FULL;
168 else duplex = DUPLEX_HALF;
171 duplex = (bmcr & BMCR_FULLDPLX) ? DUPLEX_FULL : DUPLEX_HALF;
177 if (duplex == DUPLEX_FULL) /* 100 Full Duplex */
182 if (duplex == DUPLEX_FULL) /* 10 Full Duplex */
189 printk(KERN_INFO "%s: Link now %i-%s\n", dev->name, speed, (duplex == DUPLEX_FULL) ? "FullDuplex" : "HalfDuplex");
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/oss/
H A Dsb_audio.c19 * Daniel J. Rodriksson: Changes to make sb16 work full duplex.
55 if (devc->dma16 != -1 && devc->dma16 != devc->dma8 && !devc->duplex)
68 devc->fullduplex = devc->duplex &&
102 if(devc->duplex
112 audio_devs[dev]->dmap_in->dma = ( devc->duplex ) ?
115 if (devc->dma16 != -1 && devc->dma16 != devc->dma8 && !devc->duplex)
850 /* if not duplex no conversion */
1073 devc->duplex = 1;
1091 devc->duplex ? devc->dma16 : devc->dma8)) < 0)
H A Dsb.h101 /* new audio fields for full duplex support */
103 int duplex; member in struct:sb_devc
107 /* duplicate audio fields for full duplex support */
125 /* duplicate audio fields for full duplex support */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/chelsio/
H A Dvsc7326.c458 static int mac_set_speed_duplex_fc(struct cmac *mac, int speed, int duplex, argument
467 if (duplex > 0 && duplex != DUPLEX_FULL)
474 v |= 4; /* full duplex */
500 if (duplex == DUPLEX_HALF)
609 /* Tx stats (skip collision stats as we are full-duplex only) */
H A Dpm3393.c395 int *duplex, int *fc)
399 if (duplex)
400 *duplex = DUPLEX_FULL;
406 static int pm3393_set_speed_duplex_fc(struct cmac *cmac, int speed, int duplex, argument
411 if (duplex >= 0 && duplex != DUPLEX_FULL)
394 pm3393_get_speed_duplex_fc(struct cmac *cmac, int *speed, int *duplex, int *fc) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ppc/8xx_io/
H A Dfec.c213 static void fec_restart(struct net_device *dev, int duplex);
268 #define PHY_CONF_10HDX 0x0010 /* 10 Mbit half duplex supported */
269 #define PHY_CONF_10FDX 0x0020 /* 10 Mbit full duplex supported */
270 #define PHY_CONF_100HDX 0x0040 /* 100 Mbit half duplex supported */
271 #define PHY_CONF_100FDX 0x0080 /* 100 Mbit full duplex supported */
277 #define PHY_STAT_10HDX 0x1000 /* 10 Mbit half duplex selected */
278 #define PHY_STAT_10FDX 0x2000 /* 10 Mbit full duplex selected */
279 #define PHY_STAT_100HDX 0x4000 /* 100 Mbit half duplex selected */
280 #define PHY_STAT_100FDX 0x8000 /* 100 Mbit full duplex selected */
1224 printk(", Unknown speed/duplex");
1275 int duplex; local
1734 fec_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/cris/
H A Deth_v10.c83 enum duplex enum
178 static enum duplex current_duplex;
204 static void e100_set_duplex(struct net_device* dev, enum duplex);
484 SETF(network_rec_config_shadow, R_NETWORK_REC_CONFIG, duplex, full_duplex);
540 /* Start duplex/speed timers */
628 /* Discard old speed and duplex settings */
661 default : /* assume autoneg speed and duplex */
693 SETF(network_rec_config_shadow, R_NETWORK_REC_CONFIG, duplex, full_duplex);
740 e100_set_duplex(struct net_device* dev, enum duplex new_duplex)
1212 /* Stop speed/duplex timer
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/pcmcia/
H A Dsmc91c92_cs.c123 int duplex; member in struct:smc_private
168 #define TCR_FDUPLX 0x0800 /* Full duplex mode. */
1020 smc->duplex = 0;
1461 outw(inw(ioaddr + TCR) | TCR_ENABLE | smc->duplex, ioaddr + TCR);
1493 outw(inw(ioaddr + TCR) | TCR_ENABLE | smc->duplex, ioaddr + TCR);
1578 if (smc->duplex)
1865 TCR_ENABLE | TCR_PAD_EN | smc->duplex, ioaddr + TCR);
1953 smc->duplex = (((p & 0x0100) || ((p & 0x1c0) == 0x40))
1959 (smc->duplex ? 'F' : 'H'));
1962 outw(inw(ioaddr + TCR) | smc->duplex, ioadd
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/hamradio/
H A D6pack.c115 unsigned char duplex; member in struct:sixpack
208 case 5: sp->duplex = p[1];
221 if (sp->duplex == 1) {
641 sp->duplex = 0;
916 if ((sp->status2 != 0) && (sp->duplex == 1)) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/atl1/
H A Datl1_hw.c663 * Detects the current speed and duplex settings of the hardware.
666 * duplex - Duplex setting of the connection
668 s32 atl1_get_speed_and_duplex(struct atl1_hw *hw, u16 *speed, u16 *duplex) argument
698 *duplex = FULL_DUPLEX;
700 *duplex = HALF_DUPLEX;

Completed in 549 milliseconds

123456