/drivers/net/ |
D | mii.c | 130 mii->full_duplex = ecmd->duplex; in mii_ethtool_gset() 218 mii->full_duplex = 1; in mii_ethtool_sset() 220 mii->full_duplex = 0; in mii_ethtool_sset() 375 if ((init_media) || (mii->full_duplex != duplex)) { in mii_check_media() 376 mii->full_duplex = duplex; in mii_check_media() 431 if (mii_if->full_duplex != new_duplex) { in generic_mii_ioctl() 433 mii_if->full_duplex = new_duplex; in generic_mii_ioctl()
|
/drivers/net/ethernet/dlink/ |
D | dl2k.c | 180 np->full_duplex = 1; in rio_probe1() 184 np->full_duplex = 0; in rio_probe1() 188 np->full_duplex = 1; in rio_probe1() 192 np->full_duplex = 0; in rio_probe1() 196 np->full_duplex=1; in rio_probe1() 200 np->full_duplex = 0; in rio_probe1() 521 macctrl |= (np->full_duplex) ? DuplexSelect : 0; in rio_open() 989 macctrl |= (np->full_duplex) ? DuplexSelect : 0; in rio_error() 1233 cmd->duplex = np->full_duplex ? DUPLEX_FULL : DUPLEX_HALF; in rio_get_settings() 1269 np->full_duplex = (cmd->duplex == DUPLEX_FULL); in rio_set_settings() [all …]
|
D | sundance.c | 638 np->mii_if.full_duplex = 1; in sundance_probe1() 642 np->mii_if.full_duplex = 0; in sundance_probe1() 646 np->mii_if.full_duplex = 1; in sundance_probe1() 650 np->mii_if.full_duplex = 0; in sundance_probe1() 664 np->mii_if.full_duplex = 1; in sundance_probe1() 679 mii_ctl |= (np->mii_if.full_duplex) ? BMCR_FULLDPLX : 0; in sundance_probe1() 682 np->speed, np->mii_if.full_duplex ? "Full" : "Half"); in sundance_probe1() 936 if (np->mii_if.full_duplex) in check_duplex() 944 if (np->mii_if.full_duplex != duplex) { in check_duplex() 945 np->mii_if.full_duplex = duplex; in check_duplex() [all …]
|
/drivers/net/cris/ |
D | eth_v10.c | 181 static int full_duplex; variable 393 full_duplex = 0; in etrax_ethernet_init() 548 SETF(network_rec_config_shadow, R_NETWORK_REC_CONFIG, duplex, full_duplex); in e100_open() 811 old_duplex = full_duplex; in e100_check_duplex() 813 if (old_duplex != full_duplex) { in e100_check_duplex() 815 SETF(network_rec_config_shadow, R_NETWORK_REC_CONFIG, duplex, full_duplex); in e100_check_duplex() 822 np->mii_if.full_duplex = full_duplex; in e100_check_duplex() 829 full_duplex = 1; in dummy_check_duplex() 841 full_duplex = 1; in generic_check_duplex() 843 full_duplex = 0; in generic_check_duplex() [all …]
|
/drivers/net/ethernet/smsc/ |
D | epic100.c | 40 static int full_duplex[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1}; variable 105 module_param_array(full_duplex, int, NULL, 0); 109 MODULE_PARM_DESC(full_duplex, "EPIC/100 full duplex setting(s) (1)"); 398 if (full_duplex[card_idx] >= 0) in epic_init_one() 399 duplex = full_duplex[card_idx]; in epic_init_one() 476 ep->mii.force_media = ep->mii.full_duplex = 1; in epic_init_one() 711 ep->mii.full_duplex = 1; in epic_open() 716 ep->mii.full_duplex ? "full" in epic_open() 722 ew32(TxCtrl, ep->mii.full_duplex ? 0x7f : 0x79); in epic_open() 740 ep->mii.full_duplex ? "full" : "half"); in epic_open() [all …]
|
/drivers/net/ethernet/packetengines/ |
D | yellowfin.c | 62 static int full_duplex[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1}; variable 122 module_param_array(full_duplex, int, NULL, 0); 129 MODULE_PARM_DESC(full_duplex, "G-NIC full duplex setting(s) (1)"); 329 unsigned int full_duplex:1; /* Full-duplex operation requested. */ member 462 np->full_duplex = 1; in yellowfin_init_one() 467 if (find_cnt < MAX_UNITS && full_duplex[find_cnt] > 0) in yellowfin_init_one() 468 np->full_duplex = 1; in yellowfin_init_one() 470 if (np->full_duplex) in yellowfin_init_one() 616 yp->full_duplex = 1; in yellowfin_open() 621 iowrite16(0x101C | (yp->full_duplex ? 2 : 0), ioaddr + Cnfg); in yellowfin_open() [all …]
|
D | hamachi.c | 87 static int full_duplex[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1}; variable 527 module_param_array(full_duplex, int, NULL, 0); 542 MODULE_PARM_DESC(full_duplex, "GNIC-II full duplex setting(s) (1)"); 695 hmp->mii_if.full_duplex = 1; in hamachi_init_one() 697 hmp->mii_if.full_duplex = 0; in hamachi_init_one() 702 if (card_idx < MAX_UNITS && full_duplex[card_idx] > 0) in hamachi_init_one() 703 hmp->mii_if.full_duplex = 1; in hamachi_init_one() 706 if (hmp->mii_if.full_duplex || (option & 0x080)) in hamachi_init_one() 919 hmp->mii_if.full_duplex = 1; in hamachi_open()
|
/drivers/net/ethernet/dec/tulip/ |
D | media.c | 197 tp->full_duplex = 1; in tulip_select_media() 391 tp->csr6 = new_csr6 | (tp->csr6 & 0xfdff) | (tp->full_duplex ? 0x0200 : 0); in tulip_select_media() 425 tp->full_duplex = mii_duplex(tp->full_duplex_lock, negotiated); in tulip_check_duplex() 431 if (tp->full_duplex) new_csr6 |= FullDuplex; in tulip_check_duplex() 441 tp->full_duplex ? "full" : "half", in tulip_check_duplex() 527 if (tp->full_duplex) in tulip_find_mii()
|
D | pnic2.c | 224 tp->full_duplex = 0; in pnic2_lnk_change() 226 tp->full_duplex = 1; in pnic2_lnk_change() 265 if (tp->full_duplex) tp->csr6 |= 0x00000200; in pnic2_lnk_change()
|
D | pnic.c | 37 tp->full_duplex = 1; in pnic_do_nway() 155 tp->full_duplex ? "full" : "half", in pnic_timer()
|
D | winbond-840.c | 86 static int full_duplex[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1}; variable 158 module_param_array(full_duplex, int, NULL, 0); 164 MODULE_PARM_DESC(full_duplex, "winbond-840 full duplex setting(s) (1)"); 420 np->mii_if.full_duplex = 1; in w840_probe1() 426 if (find_cnt < MAX_UNITS && full_duplex[find_cnt] > 0) in w840_probe1() 427 np->mii_if.full_duplex = 1; in w840_probe1() 429 if (np->mii_if.full_duplex) in w840_probe1() 773 np->mii_if.full_duplex = 1; in update_csr6() 1079 if ((tx_status & 0x0080) && np->mii_if.full_duplex == 0) in netdev_tx_done()
|
D | 21142.c | 171 tp->full_duplex = (tulip_media_cap[dev->if_port] & MediaAlwaysFD) ? 1:0; in t21142_lnk_change() 199 if (tp->full_duplex) in t21142_lnk_change()
|
D | tulip_core.c | 50 static int full_duplex[MAX_UNITS]; variable 118 module_param_array(full_duplex, int, NULL, 0); 451 tp->csr6 = 0x814C0000 | (tp->full_duplex ? 0x0200 : 0); in tulip_up() 466 tp->csr6 = 0x01880000 | (tp->full_duplex ? 0x0200 : 0); in tulip_up() 975 tp->full_duplex = (value & 0x0100) ? 1 : 0; in private_ioctl() 1648 if ((options[board_idx] & FullDuplex) || full_duplex[board_idx] > 0) in tulip_init_one() 1649 tp->full_duplex = 1; in tulip_init_one() 1660 tp->full_duplex = 1; in tulip_init_one() 1662 if (tp->full_duplex) in tulip_init_one()
|
/drivers/net/ethernet/ibm/ehea/ |
D | ehea_ethtool.c | 63 cmd->duplex = port->full_duplex == 1 ? in ehea_get_settings() 144 port->full_duplex == 1 ? "Full" : "Half"); in ehea_set_settings() 160 port->full_duplex == 1 ? "Full" : "Half"); in ehea_nway_reset()
|
D | ehea_main.c | 1031 port->full_duplex = 0; in ehea_sense_port_attr() 1035 port->full_duplex = 1; in ehea_sense_port_attr() 1039 port->full_duplex = 0; in ehea_sense_port_attr() 1043 port->full_duplex = 1; in ehea_sense_port_attr() 1047 port->full_duplex = 1; in ehea_sense_port_attr() 1051 port->full_duplex = 1; in ehea_sense_port_attr() 1055 port->full_duplex = 0; in ehea_sense_port_attr() 1113 port->full_duplex = 0; in ehea_set_portspeed() 1117 port->full_duplex = 1; in ehea_set_portspeed() 1121 port->full_duplex = 0; in ehea_set_portspeed() [all …]
|
/drivers/net/ethernet/microchip/ |
D | encx24j600.c | 63 bool full_duplex; member 206 if (priv->full_duplex) in encx24j600_update_phcon1() 234 priv->full_duplex = (phstat3 & PHY3DPX) ? 1 : 0; in encx24j600_wait_for_autoneg() 238 priv->full_duplex ? "Full" : "Half"); in encx24j600_wait_for_autoneg() 281 priv->full_duplex = true; in encx24j600_check_link_status() 638 if ((priv->autoneg == AUTONEG_DISABLE) && priv->full_duplex) in encx24j600_hw_init() 701 priv->full_duplex = (duplex == DUPLEX_FULL); in encx24j600_setlink() 955 cmd->duplex = priv->full_duplex ? DUPLEX_FULL : DUPLEX_HALF; in encx24j600_get_settings() 1024 priv->full_duplex = true; in encx24j600_spi_probe()
|
D | enc28j60.c | 72 bool full_duplex; member 658 priv->full_duplex ? "FullDuplex" : "HalfDuplex"); in enc28j60_hw_init() 700 if (priv->full_duplex) { in enc28j60_hw_init() 729 if (priv->full_duplex) { in enc28j60_hw_init() 788 priv->full_duplex = (duplex == DUPLEX_FULL); in enc28j60_setlink() 1491 cmd->duplex = priv->full_duplex ? DUPLEX_FULL : DUPLEX_HALF; in enc28j60_get_settings()
|
/drivers/staging/octeon/ |
D | ethernet-mdio.c | 108 (li.s.full_duplex) ? "Full" : "Half", in cvm_oct_note_carrier() 125 link_info.s.full_duplex = priv->phydev->duplex ? 1 : 0; in cvm_oct_adjust_link()
|
/drivers/net/ethernet/3com/ |
D | 3c59x.c | 625 full_duplex:1, autoselect:1, member 789 static int full_duplex[MAX_UNITS] = {[0 ... MAX_UNITS-1] = -1 }; variable 809 module_param_array(full_duplex, int, NULL, 0); 825 MODULE_PARM_DESC(full_duplex, "3c59x full duplex setting(s) (1)"); 1241 vp->full_duplex = (option & 0x200) ? 1 : 0; in vortex_probe1() 1246 vp->full_duplex = 1; in vortex_probe1() 1251 if (full_duplex[card_idx] > 0) in vortex_probe1() 1252 vp->full_duplex = 1; in vortex_probe1() 1259 vp->mii.force_media = vp->full_duplex; in vortex_probe1() 1357 vp->full_duplex = 1; in vortex_probe1() [all …]
|
/drivers/net/ethernet/realtek/ |
D | 8139too.c | 148 static int full_duplex[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1}; variable 631 module_param_array(full_duplex, int, NULL, 0); 636 MODULE_PARM_DESC (full_duplex, "8139too: Force full duplex for board(s) (1)"); 1084 tp->mii.full_duplex = (option & 0x210) ? 1 : 0; in rtl8139_init_one() 1089 if (board_idx < MAX_UNITS && full_duplex[board_idx] > 0) in rtl8139_init_one() 1090 tp->mii.full_duplex = full_duplex[board_idx]; in rtl8139_init_one() 1091 if (tp->mii.full_duplex) { in rtl8139_init_one() 1357 tp->mii.full_duplex = tp->mii.force_media; in rtl8139_open() 1369 tp->mii.full_duplex ? "full" : "half"); in rtl8139_open() 1585 if (tp->mii.full_duplex != duplex) { in rtl8139_thread_iter() [all …]
|
/drivers/net/ethernet/8390/ |
D | ne2k-pci.c | 38 static int full_duplex[MAX_UNITS]; variable 81 module_param_array(full_duplex, int, NULL, 0); 84 MODULE_PARM_DESC(full_duplex, "full duplex setting(s) (1)"); 360 if (full_duplex[fnd_cnt] > 0 || (options[fnd_cnt] & FORCE_FDX)) in ne2k_pci_init_one()
|
/drivers/net/ethernet/ |
D | fealnx.c | 47 static int full_duplex[MAX_UNITS] = { -1, -1, -1, -1, -1, -1, -1, -1 }; variable 118 module_param_array(full_duplex, int, NULL, 0); 124 MODULE_PARM_DESC(full_duplex, "fealnx full duplex setting(s) (1)"); 633 np->mii.full_duplex = 1; in fealnx_init_one() 637 if (card_idx < MAX_UNITS && full_duplex[card_idx] > 0) in fealnx_init_one() 638 np->mii.full_duplex = full_duplex[card_idx]; in fealnx_init_one() 640 if (np->mii.full_duplex) { in fealnx_init_one() 897 np->mii.full_duplex = np->mii.force_media; in netdev_open() 1519 if ((tx_status & HF) && np->mii.full_duplex == 0) in intr_handler()
|
/drivers/net/ethernet/adaptec/ |
D | starfire.c | 1098 if (np->mii_if.full_duplex) in check_duplex() 1103 np->mii_if.full_duplex ? "full" : "half"); in check_duplex() 1648 np->mii_if.full_duplex = 1; in netdev_media_change() 1651 np->mii_if.full_duplex = 0; in netdev_media_change() 1654 np->mii_if.full_duplex = 1; in netdev_media_change() 1657 np->mii_if.full_duplex = 0; in netdev_media_change() 1666 np->mii_if.full_duplex = 1; in netdev_media_change() 1668 np->mii_if.full_duplex = 0; in netdev_media_change() 1674 np->mii_if.full_duplex ? "full" : "half"); in netdev_media_change() 1677 if (np->mii_if.full_duplex) in netdev_media_change()
|
/drivers/net/ethernet/sun/ |
D | sungem.c | 1344 int full_duplex, speed, pause; in gem_set_link_modes() local 1347 full_duplex = 0; in gem_set_link_modes() 1354 full_duplex = (gp->phy_mii.duplex == DUPLEX_FULL); in gem_set_link_modes() 1362 full_duplex = 1; in gem_set_link_modes() 1367 speed, (full_duplex ? "full" : "half")); in gem_set_link_modes() 1376 if (full_duplex) { in gem_set_link_modes() 1384 if (!full_duplex && in gem_set_link_modes() 1388 } else if (full_duplex) { in gem_set_link_modes() 1400 if (speed == SPEED_1000 && !full_duplex) { in gem_set_link_modes() 1422 if (!full_duplex) in gem_set_link_modes()
|
/drivers/net/ethernet/qlogic/qed/ |
D | qed_mcp.h | 44 bool full_duplex; member
|