Searched defs:duplex (Results 1 - 25 of 56) sorted by relevance

123

/illumos-gate/usr/src/uts/common/io/nge/
H A Dnge_ndd.c36 static char duplex_propname[] = "full-duplex";
111 int duplex; local
173 * Also check the "speed" and "full-duplex" properties. Setting
177 * value (1000Mb/s, full-duplex).
191 duplex = NGE_PROP_GET_INT(dip, duplex_propname);
195 duplex_propname, duplex);
221 switch (duplex) {
H A Dnge_xmii.c34 * register to determine the current speed/duplex settings.
301 * Synchronise the (copper) PHY's speed/duplex/autonegotiation capabilities
351 * cable). In all cases, autoneg is turned OFF, full-duplex
410 * if not, we select a default of 10Mb/s half-duplex
489 uint_t duplex; local
495 duplex = UNKOWN_DUPLEX;
530 duplex = NGE_FD;
538 duplex = NGE_FD;
541 duplex = NGE_HD;
544 duplex
[all...]
/illumos-gate/usr/src/uts/common/io/bge/
H A Dbge_ndd.c36 static char duplex_propname[] = "full-duplex";
125 int duplex; local
243 * Also check the "speed" and "full-duplex" properties. Setting
247 * value (1000Mb/s, full-duplex).
261 duplex = BGE_PROP_GET_INT(dip, duplex_propname);
265 duplex_propname, duplex);
291 switch (duplex) {
/illumos-gate/usr/src/uts/common/io/chxge/com/
H A Dmy3126.c132 int *link_ok, int *speed, int *duplex, int *fc)
157 *duplex = DUPLEX_FULL;
131 my3126_get_link_status(struct cphy *cphy, int *link_ok, int *speed, int *duplex, int *fc) argument
H A Dxpak.c63 int *duplex, int *fc)
69 if (duplex)
70 *duplex = DUPLEX_FULL;
62 xpak_get_link_status(struct cphy *cphy, int *link_ok, int *speed, int *duplex, int *fc) argument
H A Dmv88x201x.c162 int *speed, int *duplex, int *fc)
177 if (duplex)
178 *duplex = DUPLEX_FULL;
161 mv88x201x_get_link_status(struct cphy *cphy, int *link_ok, int *speed, int *duplex, int *fc) argument
H A Dmv88e1xxx.c150 * Set the PHY speed and duplex. This also disables auto-negotiation, except
153 static int mv88e1xxx_set_speed_duplex(struct cphy *phy, int speed, int duplex) argument
165 if (duplex >= 0) {
167 if (duplex == DUPLEX_FULL)
268 int *speed, int *duplex, int *fc)
292 if (duplex)
293 *duplex = dplx;
267 mv88e1xxx_get_link_status(struct cphy *cphy, int *link_ok, int *speed, int *duplex, int *fc) argument
H A Dvsc7321.c370 static int mac_set_speed_duplex_fc(struct cmac *mac, int speed, int duplex, argument
H A Dch_mac.c217 static int mac_set_speed_duplex_fc(struct cmac *mac, int speed, int duplex, argument
240 if (duplex >= 0)
241 data32 |= V_MAC_HALF_DUPLEX(duplex == DUPLEX_HALF);
H A Dvsc7326.c488 static int mac_set_speed_duplex_fc(struct cmac *mac, int speed, int duplex, argument
497 if (duplex > 0 && duplex != DUPLEX_FULL)
504 v |= 4; /* full duplex */
530 if (duplex == DUPLEX_HALF)
637 /* Tx stats (skip collision stats as we are full-duplex only) */
H A Dpm3393.c527 int *duplex, int *fc)
531 if (duplex)
532 *duplex = DUPLEX_FULL;
538 static int pm3393_set_speed_duplex_fc(struct cmac *cmac, int speed, int duplex, argument
543 if (duplex >= 0 && duplex != DUPLEX_FULL)
526 pm3393_get_speed_duplex_fc(struct cmac *cmac, int *speed, int *duplex, int *fc) argument
/illumos-gate/usr/src/uts/common/io/ntxn/
H A Dunm_ndd.c31 static char duplex_propname[] = "full-duplex";
265 int duplex; local
337 * Also check the "speed" and "full-duplex" properties. Setting
341 * value (10000Mb/s, full-duplex).
356 duplex = UNM_PROP_GET_INT(dip, duplex_propname);
394 switch (duplex) {
/illumos-gate/usr/src/uts/common/io/rge/
H A Drge_ndd.c35 static char duplex_propname[] = "full-duplex";
265 int duplex; local
328 * Also check the "speed" and "full-duplex" properties. Setting
332 * value (1000Mb/s, full-duplex).
346 duplex = RGE_PROP_GET_INT(dip, duplex_propname);
350 duplex_propname, duplex);
376 switch (duplex) {
/illumos-gate/usr/src/uts/common/io/mac/plugins/
H A Dmac_ether.c445 link_duplex_t duplex; local
448 duplex = mac_stat_get(mh, ETHER_STAT_LINK_DUPLEX);
455 (void) snprintf(buf, sz, "%u Mbps, %s duplex", (uint32_t)speed,
456 duplex == LINK_DUPLEX_FULL ? "full" :
457 duplex == LINK_DUPLEX_HALF ? "half" : "unknown");
/illumos-gate/usr/src/uts/common/io/e1000api/
H A De1000_80003es2lan.c57 u16 *duplex);
63 static s32 e1000_cfg_kmrn_10_100_80003es2lan(struct e1000_hw *hw, u16 duplex);
656 * e1000_phy_force_speed_duplex_80003es2lan - Force PHY speed and duplex
659 * Force the speed and duplex settings onto the PHY. This is a
674 * forced whenever speed and duplex are forced.
703 DEBUGOUT("Waiting for forced speed/duplex link on GG82563 phy.\n");
741 * duplex.
786 * e1000_get_link_up_info_80003es2lan - Report speed and duplex
789 * @duplex: pointer to duplex buffe
793 e1000_get_link_up_info_80003es2lan(struct e1000_hw *hw, u16 *speed, u16 *duplex) argument
1252 u16 duplex; local
1279 e1000_cfg_kmrn_10_100_80003es2lan(struct e1000_hw *hw, u16 duplex) argument
[all...]
H A De1000_82541.c52 u16 *duplex);
437 * e1000_get_link_up_info_82541 - Report speed and duplex
440 * @duplex: pointer to duplex buffer
442 * Retrieve the current speed and duplex configuration.
445 u16 *duplex)
453 ret_val = e1000_get_speed_and_duplex_copper_generic(hw, speed, duplex);
461 * IGP01 PHY may advertise full duplex operation after speed
462 * downgrade even if it is operating at half duplex.
463 * Here we set the duplex setting
444 e1000_get_link_up_info_82541(struct e1000_hw *hw, u16 *speed, u16 *duplex) argument
675 u16 phy_data, phy_saved_data, speed, duplex, i; local
[all...]
H A De1000_82543.c734 * e1000_phy_force_speed_duplex_82543 - Force speed/duplex for PHY
737 * Calls the function to force speed and duplex for the m88 PHY, and
1056 * Configures the link for auto-neg or forced speed and duplex. Then we check
1070 * With 82543, we need to force speed and duplex on the MAC
1071 * equal to what the PHY speed and duplex configuration is.
1202 u16 speed, duplex; local
1224 * If we are forcing speed/duplex, then we can return since
1229 * If speed and duplex are forced to 10H or 10F, then we will
1251 * Speed Detection takes care of MAC speed/duplex
1254 * speed/duplex o
[all...]
H A De1000_vf.c48 u16 *duplex);
216 * @duplex: pointer to 16 bit value to store duplex.
222 u16 *duplex)
241 *duplex = FULL_DUPLEX;
244 *duplex = HALF_DUPLEX;
221 e1000_get_link_up_info_vf(struct e1000_hw *hw, u16 *speed, u16 *duplex) argument
H A De1000_api.c680 * e1000_get_speed_and_duplex - Returns current speed and duplex
683 * @duplex: pointer to a 16-bit value to store the duplex.
685 * This returns the speed and duplex of the adapter in the two 'out'
689 s32 e1000_get_speed_and_duplex(struct e1000_hw *hw, u16 *speed, u16 *duplex) argument
692 return hw->mac.ops.get_link_up_info(hw, speed, duplex);
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Deib_main.c606 link_duplex_t duplex = LINK_DUPLEX_FULL; local
613 bcopy(&duplex, pr_val, sizeof (link_duplex_t));
/illumos-gate/usr/src/uts/common/io/sfxge/
H A Dsfxge_gld_v3.c136 sfxge_link_duplex_t duplex; local
138 sfxge_mac_link_duplex_get(sp, &duplex);
140 switch (duplex) {
820 sfxge_link_duplex_t duplex; local
822 sfxge_mac_link_duplex_get(sp, &duplex);
824 switch (duplex) {
H A Dsfxge_mac.c601 const char *change, *duplex; local
602 char info[sizeof (": now 10000Mbps FULL duplex")];
658 duplex = (smp->sm_link_duplex == SFXGE_LINK_DUPLEX_FULL) ?
661 (void) snprintf(info, sizeof (info), ": now %dMbps %s duplex",
662 smp->sm_link_speed, duplex);
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dsis900.c83 static void sis900_read_mode(struct nic *nic, int phy_addr, int *speed, int *duplex);
84 static void amd79c901_read_mode(struct nic *nic, int phy_addr, int *speed, int *duplex);
85 static void ics1893_read_mode(struct nic *nic, int phy_addr, int *speed, int *duplex);
86 static void rtl8201_read_mode(struct nic *nic, int phy_addr, int *speed, int *duplex);
87 static void vt6103_read_mode(struct nic *nic, int phy_addr, int *speed, int *duplex);
93 void (*read_mode) (struct nic *nic, int phy_addr, int *speed, int *duplex);
798 int speed, duplex; local
801 mii.chip_info->read_mode(nic, cur_phy, &speed, &duplex);
821 if (duplex == FDX_CAPABLE_FULL_SELECTED) {
832 * Description: retrieves and displays speed and duplex
841 sis900_read_mode(struct nic *nic __unused, int phy_addr, int *speed, int *duplex) argument
890 amd79c901_read_mode(struct nic *nic __unused, int phy_addr, int *speed, int *duplex) argument
942 ics1893_read_mode(struct nic *nic __unused, int phy_addr, int *speed, int *duplex) argument
982 rtl8201_read_mode(struct nic *nic __unused, int phy_addr, int *speed, int *duplex) argument
1026 vt6103_read_mode(struct nic *nic __unused, int phy_addr, int *speed, int *duplex) argument
[all...]
H A Dnatsemi.c297 "10%s %s duplex.\n",
427 if (inl(ioaddr + ChipConfig) & 0x20000000) { /* Full duplex */
573 int duplex = inl(ioaddr + ChipConfig) & 0x20000000 ? 1 : 0; local
576 printf("%s: Setting %s-duplex based on negotiated link"
578 duplex ? "full" : "half");
579 if (duplex) {
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_phy.c720 // get duplex
722 if (pdev->vars.link.duplex == DUPLEX_HALF )
1080 lm_medium_t duplex = GET_MEDIUM_DUPLEX(req_medium); local
1092 SET_MEDIUM_DUPLEX(duplex,LM_MEDIUM_FULL_DUPLEX);
1096 SET_MEDIUM_DUPLEX(duplex,LM_MEDIUM_HALF_DUPLEX);
1100 SET_MEDIUM_DUPLEX(duplex,LM_MEDIUM_FULL_DUPLEX);
1104 SET_MEDIUM_DUPLEX(duplex,LM_MEDIUM_HALF_DUPLEX);
1108 SET_MEDIUM_DUPLEX(duplex,LM_MEDIUM_FULL_DUPLEX);
1112 SET_MEDIUM_DUPLEX(duplex,LM_MEDIUM_FULL_DUPLEX);
1116 SET_MEDIUM_DUPLEX(duplex,LM_MEDIUM_FULL_DUPLE
[all...]

Completed in 711 milliseconds

123