Searched refs:duplex (Results 1 - 25 of 44) sorted by relevance

12

/external/syslinux/gpxe/src/net/
H A Dmii.c72 * mii_check_media - check the MII interface for a duplex change
75 * @init_media: OK to save duplex mode in @mii
77 * Returns 1 if the duplex mode changed, 0 if not.
86 int advertise, lpa, media, duplex; local
91 return 0; /* duplex did not change */
101 return 0; /* duplex did not change */
108 return 0; /* duplex did not change */
127 /* figure out media and duplex from advertise and LPA values */
129 duplex = ( media & ADVERTISE_FULL ) ? 1 : 0;
131 duplex
[all...]
/external/syslinux/gpxe/src/drivers/net/
H A Dsis900.c94 static void sis900_read_mode(struct nic *nic, int phy_addr, int *speed, int *duplex);
95 static void amd79c901_read_mode(struct nic *nic, int phy_addr, int *speed, int *duplex);
96 static void ics1893_read_mode(struct nic *nic, int phy_addr, int *speed, int *duplex);
97 static void rtl8201_read_mode(struct nic *nic, int phy_addr, int *speed, int *duplex);
98 static void vt6103_read_mode(struct nic *nic, int phy_addr, int *speed, int *duplex);
104 void (*read_mode) (struct nic *nic, int phy_addr, int *speed, int *duplex);
839 int speed, duplex;
842 mii.chip_info->read_mode(nic, cur_phy, &speed, &duplex);
862 if (duplex == FDX_CAPABLE_FULL_SELECTED) {
875 * Description: retrieves and displays speed and duplex
826 int speed, duplex; local
870 sis900_read_mode(struct nic *nic __unused, int phy_addr, int *speed, int *duplex) argument
921 amd79c901_read_mode(struct nic *nic __unused, int phy_addr, int *speed, int *duplex) argument
974 ics1893_read_mode(struct nic *nic __unused, int phy_addr, int *speed, int *duplex) argument
1014 rtl8201_read_mode(struct nic *nic __unused, int phy_addr, int *speed, int *duplex) argument
1058 vt6103_read_mode(struct nic *nic __unused, int phy_addr, int *speed, int *duplex) argument
[all...]
H A Dbnx2.c304 if (bp->duplex == DUPLEX_HALF)
310 if (bp->duplex == DUPLEX_HALF)
316 if (bp->duplex == DUPLEX_HALF)
322 if (bp->duplex == DUPLEX_HALF)
358 if (bp->duplex == DUPLEX_FULL)
359 printf("full duplex");
361 printf("half duplex");
392 if (bp->duplex == DUPLEX_FULL) {
398 if (bp->duplex != DUPLEX_FULL) {
481 bp->duplex
[all...]
H A Dw89c840.c242 unsigned int full_duplex:1; /* Full-duplex operation requested. */
872 int duplex; local
877 duplex = (negotiated & 0x0100) || (negotiated & 0x01C0) == 0x0040;
878 if (w840private.full_duplex != duplex) {
879 w840private.full_duplex = duplex;
882 printf("winbond-840 : Setting %s-duplex based on MII # %d negotiated capability %X\n",
883 duplex ? "full" : "half", w840private.phys[0], negotiated);
887 w840private.csr6 |= duplex ? 0x200 : 0;
H A Dforcedeth.c405 int duplex; member in struct:forcedeth_private
720 int newdup = np->duplex;
805 if (np->duplex == newdup && np->linkspeed == newls)
809 np->linkspeed, np->duplex ? "Full-Duplex": "Half-Duplex", newls, newdup ? "Full-Duplex": "Half-Duplex"));
811 np->duplex = newdup;
828 if (np->duplex == 0)
836 writel(NVREG_MISC1_FORCE | (np->duplex ? 0 : NVREG_MISC1_HD),
973 np->duplex = 0;
990 np->duplex ? "Full" : "Half");
H A Damd8111e.c99 char duplex; member in struct:amd8111e_priv
486 lp->duplex = 1;
488 lp->duplex = 0;
490 printf("Link is up: %s Mbps %s duplex\n",
491 lp->speed ? "100" : "10", lp->duplex ? "full" : "half");
H A Dskge.c403 DBG2(PFX "%s: Link is up at %d Mbps, %s duplex\n",
405 skge->duplex == DUPLEX_FULL ? "full" : "half");
588 skge->duplex = DUPLEX_FULL;
591 skge->duplex = DUPLEX_HALF;
594 DBG(PFX "%s: duplex mismatch\n",
703 if (skge->duplex == DUPLEX_FULL)
740 if (skge->duplex == DUPLEX_FULL)
788 skge->duplex = DUPLEX_FULL;
791 skge->duplex = DUPLEX_HALF;
794 DBG(PFX "%s: duplex mismatc
[all...]
H A Dtlan.c213 u32 duplex; member in struct:tlan_private
357 } else if (priv->duplex == TLAN_DUPLEX_FULL) {
1476 priv->duplex == TLAN_DUPLEX_HALF) {
1479 priv->duplex == TLAN_DUPLEX_FULL) {
1483 priv->duplex == TLAN_DUPLEX_HALF) {
1486 priv->duplex == TLAN_DUPLEX_FULL) {
1530 if (priv->duplex == TLAN_DUPLEX_FULL) {
1614 if ((priv->duplex == TLAN_DUPLEX_FULL)
H A Dsundance.c79 10mbps_hd 10Mbps half duplex.
80 10mbps_fd 10Mbps full duplex.
81 100mbps_hd 100Mbps half duplex.
82 100mbps_fd 100Mbps full duplex.
294 int duplex; local
305 duplex = (negotiated & 0x0100) || (negotiated & 0x01C0) == 0x0040;
306 if (sdc->mii_if.full_duplex != duplex) {
307 sdc->mii_if.full_duplex = duplex;
308 DBG ("%s: Setting %s-duplex based on MII #%d "
310 duplex
[all...]
H A Datl1e.c131 u16 speed, duplex, phy_data; local
152 err = atl1e_get_speed_and_duplex(hw, &speed, &duplex);
158 adapter->link_duplex != duplex) {
160 adapter->link_duplex = duplex;
163 DBG("atl1e: %s link is up, %d Mbps, %s duplex\n",
1696 * Detects the current speed and duplex settings of the hardware.
1700 * duplex - Duplex setting of the connection
1702 int atl1e_get_speed_and_duplex(struct atl1e_hw *hw, u16 *speed, u16 *duplex) argument
1731 *duplex = FULL_DUPLEX;
1733 *duplex
[all...]
H A Dr8169.c227 u8 autoneg, u16 speed, u8 duplex)
238 (duplex == DUPLEX_FULL)) {
250 u8 autoneg, u16 speed, u8 duplex)
276 if (duplex == DUPLEX_HALF)
279 if (duplex == DUPLEX_FULL)
283 if ((speed == SPEED_100) && (duplex == DUPLEX_HALF) &&
328 u8 autoneg, u16 speed, u8 duplex)
335 ret = tp->set_speed(dev, autoneg, speed, duplex);
226 rtl8169_set_speed_tbi(struct net_device *dev, u8 autoneg, u16 speed, u8 duplex) argument
249 rtl8169_set_speed_xmii(struct net_device *dev, u8 autoneg, u16 speed, u8 duplex) argument
327 rtl8169_set_speed(struct net_device *dev, u8 autoneg, u16 speed, u8 duplex) argument
/external/python/cpython2/Lib/multiprocessing/
H A D__init__.py102 def Pipe(duplex=True):
107 return Pipe(duplex)
H A Dconnection.py183 def Pipe(duplex=True):
187 if duplex:
205 def Pipe(duplex=True):
210 if duplex:
238 c1 = _multiprocessing.PipeConnection(h1, writable=duplex)
239 c2 = _multiprocessing.PipeConnection(h2, readable=duplex)
H A Dqueues.py62 self._reader, self._writer = Pipe(duplex=False)
353 self._reader, self._writer = Pipe(duplex=False)
/external/python/cpython2/Lib/multiprocessing/dummy/
H A Dconnection.py63 def Pipe(duplex=True):
/external/python/cpython3/Lib/multiprocessing/dummy/
H A Dconnection.py44 def Pipe(duplex=True):
/external/python/cpython3/Lib/asyncio/
H A Dwindows_utils.py83 def pipe(*, duplex=False, overlapped=(True, True), bufsize=BUFSIZE):
88 if duplex:
187 stdin_rh, stdin_wh = pipe(overlapped=(False, True), duplex=True)
/external/ImageMagick/MagickWand/
H A Dwand-view.c225 % source and duplex pixel extent is not confined to the image canvas-- that is
234 % const WandView *duplex,WandView *destination,const ssize_t y,
247 % WandView *duplex,WandView *destination,
254 % o duplex: the duplex wand view.
264 WandView *duplex,WandView *destination,DuplexTransferWandViewMethod transfer,
334 duplex_pixels=GetCacheViewVirtualPixels(duplex->view,duplex->extent.x,y,
335 duplex->extent.width,1,duplex
258 DuplexTransferWandViewIterator(WandView *source, WandView *duplex,WandView *destination,DuplexTransferWandViewMethod transfer, void *context) argument
[all...]
/external/ImageMagick/MagickCore/
H A Dimage-view.c177 % source and duplex pixel extent is not confined to the image canvas-- that is
186 % const ImageView *duplex,ImageView *destination,const ssize_t y,
199 % ImageView *duplex,ImageView *destination,
206 % o duplex: the duplex image view.
216 ImageView *source,ImageView *duplex,ImageView *destination,
278 duplex_pixels=GetCacheViewVirtualPixels(duplex->view,duplex->extent.x,y,
279 duplex->extent.width,1,duplex
210 DuplexTransferImageViewIterator( ImageView *source,ImageView *duplex,ImageView *destination, DuplexTransferImageViewMethod transfer,void *context) argument
[all...]
/external/python/cpython3/Lib/multiprocessing/
H A Dcontext.py59 def Pipe(self, duplex=True):
62 return Pipe(duplex)
H A Dqueues.py41 self._reader, self._writer = connection.Pipe(duplex=False)
323 self._reader, self._writer = connection.Pipe(duplex=False)
H A Dconnection.py501 def Pipe(duplex=True):
505 if duplex:
520 def Pipe(duplex=True):
525 if duplex:
555 c1 = PipeConnection(h1, writable=duplex)
556 c2 = PipeConnection(h2, readable=duplex)
/external/syslinux/gpxe/src/include/
H A Dnic.h30 typedef enum duplex { enum
48 duplex_t duplex; member in struct:nic
/external/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonShuffler.cpp180 // Number of duplex insns, solo insns.
181 unsigned duplex = 0, solo = 0;
269 (duplex > 1 || (duplex && memory)) || (solo && size() > 1) ||
282 // TODO: need to reserve slots #0 and #1 for duplex insns.
422 // or with compound or duplex insns for now.
/external/kernel-headers/original/uapi/linux/
H A Dethtool.h42 * @duplex: Duplex mode; one of %DUPLEX_*
75 * If autonegotiation is disabled, the speed and @duplex represent the
80 * @duplex is %DUPLEX_UNKNOWN or the best enabled duplex mode.
105 __u8 duplex; member in struct:ethtool_cmd
316 * @supported: Mask of %SUPPORTED_* flags for the speed/duplex combinations
318 * @advertised: Mask of %ADVERTISED_* flags for the speed/duplex combinations
320 * @lp_advertised: Mask of %ADVERTISED_* flags for the speed/duplex
1566 static inline int ethtool_validate_duplex(__u8 duplex) argument
1568 switch (duplex) {
1802 __u8 duplex; member in struct:ethtool_link_settings
[all...]

Completed in 517 milliseconds

12