/titanic_44/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; in sis900_check_mode() local 801 mii.chip_info->read_mode(nic, cur_phy, &speed, &duplex); in sis900_check_mode() 821 if (duplex == FDX_CAPABLE_FULL_SELECTED) { in sis900_check_mode() 841 sis900_read_mode(struct nic *nic __unused, int phy_addr, int *speed, int *duplex) in sis900_read_mode() argument [all …]
|
H A D | w89c840.c | 860 int duplex; in check_duplex() local 865 duplex = (negotiated & 0x0100) || (negotiated & 0x01C0) == 0x0040; in check_duplex() 866 if (w840private.full_duplex != duplex) { in check_duplex() 867 w840private.full_duplex = duplex; in check_duplex() 871 duplex ? "full" : "half", w840private.phys[0], negotiated); in check_duplex() 875 w840private.csr6 |= duplex ? 0x200 : 0; in check_duplex()
|
H A D | sundance.c | 319 int duplex; in check_duplex() local 330 duplex = (negotiated & 0x0100) || (negotiated & 0x01C0) == 0x0040; in check_duplex() 331 if (sdc->mii_if.full_duplex != duplex) { in check_duplex() 332 sdc->mii_if.full_duplex = duplex; in check_duplex() 335 duplex ? "full" : "half", sdc->phys[0], in check_duplex() 337 outw(inw(BASE + MACCtrl0) | duplex ? 0x20 : 0, in check_duplex()
|
H A D | forcedeth.c | 315 int duplex; member 573 if (np->duplex != newdup || np->linkspeed != newls) { in update_linkspeed() 574 np->duplex = newdup; in update_linkspeed() 676 np->duplex = 0; in forcedeth_reset() 715 np->duplex ? "Full" : "Half"); in forcedeth_reset() 717 writel(NVREG_MISC1_FORCE | (np->duplex ? 0 : NVREG_MISC1_HD), in forcedeth_reset()
|
/titanic_44/usr/src/uts/common/io/nge/ |
H A D | nge_xmii.c | 489 uint_t duplex; in nge_check_copper() local 495 duplex = UNKOWN_DUPLEX; in nge_check_copper() 530 duplex = NGE_FD; in nge_check_copper() 538 duplex = NGE_FD; in nge_check_copper() 541 duplex = NGE_HD; in nge_check_copper() 544 duplex = NGE_FD; in nge_check_copper() 547 duplex = NGE_HD; in nge_check_copper() 559 duplex = NGE_FD; in nge_check_copper() 562 duplex = NGE_HD; in nge_check_copper() 565 duplex = NGE_FD; in nge_check_copper() [all …]
|
H A D | nge_ndd.c | 111 int duplex; in nge_nd_init() local 191 duplex = NGE_PROP_GET_INT(dip, duplex_propname); in nge_nd_init() 195 duplex_propname, duplex); in nge_nd_init() 221 switch (duplex) { in nge_nd_init()
|
/titanic_44/usr/src/uts/common/io/chxge/com/ |
H A D | xpak.c | 63 int *duplex, int *fc) in xpak_get_link_status() argument 69 if (duplex) in xpak_get_link_status() 70 *duplex = DUPLEX_FULL; in xpak_get_link_status()
|
H A D | mv88e1xxx.c | 153 static int mv88e1xxx_set_speed_duplex(struct cphy *phy, int speed, int duplex) in mv88e1xxx_set_speed_duplex() argument 165 if (duplex >= 0) { in mv88e1xxx_set_speed_duplex() 167 if (duplex == DUPLEX_FULL) in mv88e1xxx_set_speed_duplex() 268 int *speed, int *duplex, int *fc) in mv88e1xxx_get_link_status() argument 292 if (duplex) in mv88e1xxx_get_link_status() 293 *duplex = dplx; in mv88e1xxx_get_link_status()
|
H A D | mv88x201x.c | 162 int *speed, int *duplex, int *fc) in mv88x201x_get_link_status() argument 177 if (duplex) in mv88x201x_get_link_status() 178 *duplex = DUPLEX_FULL; in mv88x201x_get_link_status()
|
H A D | ixf1010.c | 310 static int mac_set_speed_duplex_fc(struct cmac *mac, int speed, int duplex, in mac_set_speed_duplex_fc() argument 317 if (duplex >= 0 && duplex != DUPLEX_FULL) in mac_set_speed_duplex_fc() 335 static int mac_get_speed_duplex_fc(struct cmac *mac, int *speed, int *duplex, in mac_get_speed_duplex_fc() argument 340 if (duplex) in mac_get_speed_duplex_fc() 341 *duplex = DUPLEX_FULL; in mac_get_speed_duplex_fc()
|
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 | cphy.h | 71 int (*set_speed_duplex)(struct cphy *phy, int speed, int duplex); 73 int *duplex, int *fc);
|
H A D | ch_subr.c | 162 int link_ok, speed, duplex, fc; in link_changed() local 166 phy->ops->get_link_status(phy, &link_ok, &speed, &duplex, &fc); in link_changed() 169 lc->duplex = duplex < 0 ? DUPLEX_INVALID : duplex; in link_changed() 177 mac->ops->set_speed_duplex_fc(mac, speed, duplex, fc); in link_changed() 180 t1_os_link_changed(adapter, port_id, link_ok, speed, duplex, fc); in link_changed() 841 lc->duplex = lc->requested_duplex; in t1_link_start() 844 lc->duplex, fc); in t1_link_start() 847 phy->ops->set_speed_duplex(phy, lc->speed, lc->duplex); in t1_link_start() 1343 lc->requested_duplex = lc->duplex = DUPLEX_INVALID; in init_link_config()
|
H A D | my3126.c | 132 int *link_ok, int *speed, int *duplex, int *fc) in my3126_get_link_status() argument 157 *duplex = DUPLEX_FULL; in my3126_get_link_status()
|
/titanic_44/usr/src/uts/common/io/bge/ |
H A D | bge_ndd.c | 125 int duplex; in bge_nd_init() local 261 duplex = BGE_PROP_GET_INT(dip, duplex_propname); in bge_nd_init() 265 duplex_propname, duplex); in bge_nd_init() 291 switch (duplex) { in bge_nd_init()
|
/titanic_44/usr/src/uts/common/io/e1000api/ |
H A D | README.new | 126 By default, the adapter auto-negotiates the speed and duplex of the 128 configure the speed and duplex settings on the adapter. Example usage: 131 full-duplex 133 NOTE: Only use mediaopt to set the driver to full-duplex. If mediaopt is 135 defaults to half-duplex. 137 If the interface is currently forced to 100 full duplex, in order to change 138 to half duplex you must use this command: 141 full-duplex 146 autoselect - Enables auto-negotiation for speed and duplex. 149 option to select full-duplex mode. [all …]
|
H A D | e1000_vf.c | 48 u16 *duplex); 222 u16 *duplex) in e1000_get_link_up_info_vf() argument 241 *duplex = FULL_DUPLEX; in e1000_get_link_up_info_vf() 244 *duplex = HALF_DUPLEX; in e1000_get_link_up_info_vf()
|
H A D | e1000_80003es2lan.c | 57 u16 *duplex); 63 static s32 e1000_cfg_kmrn_10_100_80003es2lan(struct e1000_hw *hw, u16 duplex); 794 u16 *duplex) in e1000_get_link_up_info_80003es2lan() argument 802 duplex); in e1000_get_link_up_info_80003es2lan() 807 duplex); in e1000_get_link_up_info_80003es2lan() 1252 u16 duplex; in e1000_cfg_on_link_up_80003es2lan() local 1258 &duplex); in e1000_cfg_on_link_up_80003es2lan() 1265 ret_val = e1000_cfg_kmrn_10_100_80003es2lan(hw, duplex); in e1000_cfg_on_link_up_80003es2lan() 1279 static s32 e1000_cfg_kmrn_10_100_80003es2lan(struct e1000_hw *hw, u16 duplex) in e1000_cfg_kmrn_10_100_80003es2lan() argument 1315 if (duplex == HALF_DUPLEX) in e1000_cfg_kmrn_10_100_80003es2lan()
|
H A D | e1000_mac.h | 65 u16 *duplex); 67 u16 *speed, u16 *duplex);
|
H A D | e1000_82541.c | 52 u16 *duplex); 445 u16 *duplex) in e1000_get_link_up_info_82541() argument 453 ret_val = e1000_get_speed_and_duplex_copper_generic(hw, speed, duplex); in e1000_get_link_up_info_82541() 471 *duplex = HALF_DUPLEX; in e1000_get_link_up_info_82541() 479 *duplex = HALF_DUPLEX; in e1000_get_link_up_info_82541() 482 *duplex = HALF_DUPLEX; in e1000_get_link_up_info_82541() 675 u16 phy_data, phy_saved_data, speed, duplex, i; in e1000_config_dsp_after_link_change_82541() local 686 ret_val = hw->mac.ops.get_link_up_info(hw, &speed, &duplex); in e1000_config_dsp_after_link_change_82541()
|
/titanic_44/usr/src/uts/common/io/rge/ |
H A D | rge_ndd.c | 265 int duplex; in rge_nd_init() local 346 duplex = RGE_PROP_GET_INT(dip, duplex_propname); in rge_nd_init() 350 duplex_propname, duplex); in rge_nd_init() 376 switch (duplex) { in rge_nd_init()
|
/titanic_44/usr/src/uts/common/io/mac/plugins/ |
H A D | mac_ether.c | 470 link_duplex_t duplex; in mac_ether_link_details() local 473 duplex = mac_stat_get(mh, ETHER_STAT_LINK_DUPLEX); in mac_ether_link_details() 481 duplex == LINK_DUPLEX_FULL ? "full" : in mac_ether_link_details() 482 duplex == LINK_DUPLEX_HALF ? "half" : "unknown"); in mac_ether_link_details()
|
/titanic_44/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | lm_phy.c | 722 if (pdev->vars.link.duplex == DUPLEX_HALF ) in get_link_params() 1080 lm_medium_t duplex = GET_MEDIUM_DUPLEX(req_medium); in lm_set_phy_link_params() local 1092 SET_MEDIUM_DUPLEX(duplex,LM_MEDIUM_FULL_DUPLEX); in lm_set_phy_link_params() 1096 SET_MEDIUM_DUPLEX(duplex,LM_MEDIUM_HALF_DUPLEX); in lm_set_phy_link_params() 1100 SET_MEDIUM_DUPLEX(duplex,LM_MEDIUM_FULL_DUPLEX); in lm_set_phy_link_params() 1104 SET_MEDIUM_DUPLEX(duplex,LM_MEDIUM_HALF_DUPLEX); in lm_set_phy_link_params() 1108 SET_MEDIUM_DUPLEX(duplex,LM_MEDIUM_FULL_DUPLEX); in lm_set_phy_link_params() 1112 SET_MEDIUM_DUPLEX(duplex,LM_MEDIUM_FULL_DUPLEX); in lm_set_phy_link_params() 1116 SET_MEDIUM_DUPLEX(duplex,LM_MEDIUM_FULL_DUPLEX); in lm_set_phy_link_params() 1120 SET_MEDIUM_DUPLEX(duplex,LM_MEDIUM_FULL_DUPLEX); in lm_set_phy_link_params() [all …]
|
/titanic_44/usr/src/uts/common/io/bfe/ |
H A D | bfe.c | 423 bfe->bfe_chip.duplex = LINK_DUPLEX_UNKNOWN; in bfe_stop_phy() 516 if (bfe->bfe_chip.duplex == LINK_DUPLEX_FULL) { in bfe_timeout() 733 int speed, duplex, link; in bfe_check_link() local 736 duplex = bfe->bfe_chip.duplex; in bfe_check_link() 762 bfe->bfe_chip.duplex = LINK_DUPLEX_UNKNOWN; in bfe_check_link() 776 bfe->bfe_chip.duplex = LINK_DUPLEX_FULL; in bfe_check_link() 778 bfe->bfe_chip.duplex = LINK_DUPLEX_HALF; in bfe_check_link() 783 bfe->bfe_chip.duplex = LINK_DUPLEX_UNKNOWN; in bfe_check_link() 786 bfe->bfe_chip.duplex = LINK_DUPLEX_FULL; in bfe_check_link() 789 bfe->bfe_chip.duplex = LINK_DUPLEX_HALF; in bfe_check_link() [all …]
|
/titanic_44/usr/src/uts/common/io/ntxn/ |
H A D | unm_ndd.c | 265 int duplex; in unm_nd_init() local 356 duplex = UNM_PROP_GET_INT(dip, duplex_propname); in unm_nd_init() 394 switch (duplex) { in unm_nd_init()
|