/illumos-gate/usr/src/uts/common/io/chxge/com/ |
H A D | xpak.c | 63 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 D | gmac.h | 95 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 D | mv88x201x.c | 162 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 D | mv88e1xxx.c | 150 * 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 D | cphy.h | 71 int (*set_speed_duplex)(struct cphy *phy, int speed, int duplex); 73 int *duplex, int *fc);
|
H A D | ixf1010.c | 205 /* 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 D | my3126.c | 132 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 D | ch_mac.c | 217 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 D | ch_subr.c | 162 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 D | sis900.c | 83 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 D | w89c840.c | 247 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 D | nge_xmii.c | 34 * 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 D | nge_ndd.c | 36 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 D | bge_ndd.c | 36 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 D | rge_ndd.c | 35 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 D | e1000_mac.h | 65 u16 *duplex); 67 u16 *speed, u16 *duplex);
|
H A D | e1000_vf.c | 48 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 D | e1000_80003es2lan.c | 57 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 D | e1000_82541.c | 52 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 D | mac_ether.c | 445 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 D | unm_ndd.c | 31 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 D | osdep.h | 114 int speed, int duplex, int fc);
|
/illumos-gate/usr/src/uts/common/io/bfe/ |
H A D | bfe.h | 194 int duplex; member in struct:__anon4946 214 int duplex; member in struct:bfe_chip
|
H A D | bfe.c | 423 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 D | lm_phy.c | 720 // 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...] |