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

123

/illumos-gate/usr/src/uts/common/io/chxge/com/
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 Dgmac.h95 int (*set_speed_duplex_fc)(struct cmac *, int speed, int duplex, int fc);
96 int (*get_speed_duplex_fc)(struct cmac *, int *speed, int *duplex,
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 Dcphy.h71 int (*set_speed_duplex)(struct cphy *phy, int speed, int duplex);
73 int *duplex, int *fc);
H A Dixf1010.c205 /* Tx stats (skip collision stats as we are full-duplex only) */
310 static int mac_set_speed_duplex_fc(struct cmac *mac, int speed, int duplex, argument
317 if (duplex >= 0 && duplex != DUPLEX_FULL)
335 static int mac_get_speed_duplex_fc(struct cmac *mac, int *speed, int *duplex, argument
340 if (duplex)
341 *duplex = DUPLEX_FULL;
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 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 Dch_subr.c162 int link_ok, speed, duplex, fc; local
166 phy->ops->get_link_status(phy, &link_ok, &speed, &duplex, &fc);
169 lc->duplex = duplex < 0 ? DUPLEX_INVALID : duplex;
174 /* Set MAC speed, duplex, and flow control to match PHY. */
177 mac->ops->set_speed_duplex_fc(mac, speed, duplex, fc);
180 t1_os_link_changed(adapter, port_id, link_ok, speed, duplex, fc);
818 * If auto-negotiation is off set the MAC to the proper speed/duplex/FC,
841 lc->duplex
[all...]
/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 Dw89c840.c247 unsigned int full_duplex:1; /* Full-duplex operation requested. */
860 int duplex; local
865 duplex = (negotiated & 0x0100) || (negotiated & 0x01C0) == 0x0040;
866 if (w840private.full_duplex != duplex) {
867 w840private.full_duplex = duplex;
870 printf("winbond-840 : Setting %s-duplex based on MII # %d negotiated capability %X\n",
871 duplex ? "full" : "half", w840private.phys[0], negotiated);
875 w840private.csr6 |= duplex ? 0x200 : 0;
/illumos-gate/usr/src/uts/common/io/nge/
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...]
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) {
/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/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/e1000api/
H A De1000_mac.h65 u16 *duplex);
67 u16 *speed, u16 *duplex);
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_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...]
/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/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/chxge/
H A Dosdep.h114 int speed, int duplex, int fc);
/illumos-gate/usr/src/uts/common/io/bfe/
H A Dbfe.h194 int duplex; member in struct:__anon4946
214 int duplex; member in struct:bfe_chip
H A Dbfe.c423 bfe->bfe_chip.duplex = LINK_DUPLEX_UNKNOWN;
516 if (bfe->bfe_chip.duplex == LINK_DUPLEX_FULL) {
733 int speed, duplex, link; local
736 duplex = bfe->bfe_chip.duplex;
762 bfe->bfe_chip.duplex = LINK_DUPLEX_UNKNOWN;
776 bfe->bfe_chip.duplex = LINK_DUPLEX_FULL;
778 bfe->bfe_chip.duplex = LINK_DUPLEX_HALF;
783 bfe->bfe_chip.duplex = LINK_DUPLEX_UNKNOWN;
786 bfe->bfe_chip.duplex
[all...]
/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 112 milliseconds

123