/linux/drivers/net/ |
A D | mii.c | 129 mii->full_duplex = ecmd->duplex; in mii_ethtool_gset() 216 mii->full_duplex = cmd->base.duplex; in mii_ethtool_get_link_ksettings() 309 mii->full_duplex = 1; in mii_ethtool_sset() 311 mii->full_duplex = 0; in mii_ethtool_sset() 406 mii->full_duplex = 1; in mii_ethtool_set_link_ksettings() 408 mii->full_duplex = 0; in mii_ethtool_set_link_ksettings() 564 if ((init_media) || (mii->full_duplex != duplex)) { in mii_check_media() 565 mii->full_duplex = duplex; in mii_check_media() 620 if (mii_if->full_duplex != new_duplex) { in generic_mii_ioctl() 622 mii_if->full_duplex = new_duplex; in generic_mii_ioctl()
|
/linux/arch/mips/cavium-octeon/executive/ |
A D | cvmx-helper-spi.c | 153 result.s.full_duplex = 1; in __cvmx_helper_spi_link_get() 159 result.s.full_duplex = inband.s.duplex; in __cvmx_helper_spi_link_get() 179 result.s.full_duplex = 1; in __cvmx_helper_spi_link_get()
|
A D | cvmx-helper-sgmii.c | 247 gmxx_prtx_cfg.s.duplex = link_info.s.full_duplex; in __cvmx_helper_sgmii_hardware_init_link_speed() 410 result.s.full_duplex = 1; in __cvmx_helper_sgmii_link_get() 420 result.s.full_duplex = 1; in __cvmx_helper_sgmii_link_get() 461 result.s.full_duplex = in __cvmx_helper_sgmii_link_get()
|
A D | cvmx-helper-board.c | 223 result.s.full_duplex = 1; in __cvmx_helper_board_link_get() 245 result.s.full_duplex = inband_status.s.duplex; in __cvmx_helper_board_link_get()
|
/linux/drivers/net/ethernet/dlink/ |
A D | dl2k.c | 165 np->full_duplex = 1; in rio_probe1() 169 np->full_duplex = 0; in rio_probe1() 173 np->full_duplex = 1; in rio_probe1() 177 np->full_duplex = 0; in rio_probe1() 181 np->full_duplex=1; in rio_probe1() 185 np->full_duplex = 0; in rio_probe1() 1514 np->full_duplex = 1; in mii_get_media() 1518 np->full_duplex = 0; in mii_get_media() 1522 np->full_duplex = 1; in mii_get_media() 1526 np->full_duplex = 0; in mii_get_media() [all …]
|
A D | sundance.c | 631 np->mii_if.full_duplex = 1; in sundance_probe1() 635 np->mii_if.full_duplex = 0; in sundance_probe1() 639 np->mii_if.full_duplex = 1; in sundance_probe1() 643 np->mii_if.full_duplex = 0; in sundance_probe1() 657 np->mii_if.full_duplex = 1; in sundance_probe1() 675 np->speed, np->mii_if.full_duplex ? "Full" : "Half"); in sundance_probe1() 925 if (np->mii_if.full_duplex) in check_duplex() 933 if (np->mii_if.full_duplex != duplex) { in check_duplex() 934 np->mii_if.full_duplex = duplex; in check_duplex() 1490 if (np->flowctrl && np->mii_if.full_duplex) { in netdev_error() [all …]
|
/linux/drivers/net/ethernet/smsc/ |
A D | epic100.c | 105 module_param_array(full_duplex, int, NULL, 0); 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() 713 ep->mii.full_duplex = 1; in epic_open() 718 ep->mii.full_duplex ? "full" in epic_open() 724 ew32(TxCtrl, ep->mii.full_duplex ? 0x7f : 0x79); in epic_open() 742 ep->mii.full_duplex ? "full" : "half"); in epic_open() 842 if (ep->mii.full_duplex != duplex) { in check_media() 843 ep->mii.full_duplex = duplex; in check_media() [all …]
|
/linux/drivers/net/ethernet/packetengines/ |
A D | yellowfin.c | 122 module_param_array(full_duplex, int, NULL, 0); 129 MODULE_PARM_DESC(full_duplex, "G-NIC full duplex setting(s) (1)"); 466 np->full_duplex = 1; in yellowfin_init_one() 471 if (find_cnt < MAX_UNITS && full_duplex[find_cnt] > 0) in yellowfin_init_one() 472 np->full_duplex = 1; in yellowfin_init_one() 474 if (np->full_duplex) in yellowfin_init_one() 622 yp->full_duplex = 1; in yellowfin_open() 627 iowrite16(0x101C | (yp->full_duplex ? 2 : 0), ioaddr + Cnfg); in yellowfin_open() 673 yp->full_duplex = mii_duplex(yp->duplex_lock, negotiated); in yellowfin_timer() 675 iowrite16(0x101C | (yp->full_duplex ? 2 : 0), ioaddr + Cnfg); in yellowfin_timer() [all …]
|
A 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)"); 700 hmp->mii_if.full_duplex = 1; in hamachi_init_one() 702 hmp->mii_if.full_duplex = 0; in hamachi_init_one() 707 if (card_idx < MAX_UNITS && full_duplex[card_idx] > 0) in hamachi_init_one() 708 hmp->mii_if.full_duplex = 1; in hamachi_init_one() 711 if (hmp->mii_if.full_duplex || (option & 0x080)) in hamachi_init_one() 924 hmp->mii_if.full_duplex = 1; in hamachi_open()
|
/linux/drivers/net/ethernet/dec/tulip/ |
A D | media.c | 197 tp->full_duplex = 1; in tulip_select_media() 386 tp->csr6 = new_csr6 | (tp->csr6 & 0xfdff) | (tp->full_duplex ? 0x0200 : 0); in tulip_select_media() 420 tp->full_duplex = mii_duplex(tp->full_duplex_lock, negotiated); in tulip_check_duplex() 426 if (tp->full_duplex) new_csr6 |= FullDuplex; in tulip_check_duplex() 436 tp->full_duplex ? "full" : "half", in tulip_check_duplex() 522 if (tp->full_duplex) in tulip_find_mii()
|
A 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()
|
A D | pnic.c | 37 tp->full_duplex = 1; in pnic_do_nway() 155 tp->full_duplex ? "full" : "half", in pnic_timer()
|
A D | winbond-840.c | 83 static int full_duplex[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1}; variable 148 module_param_array(full_duplex, int, NULL, 0); 154 MODULE_PARM_DESC(full_duplex, "winbond-840 full duplex setting(s) (1)"); 411 np->mii_if.full_duplex = 1; in w840_probe1() 417 if (find_cnt < MAX_UNITS && full_duplex[find_cnt] > 0) in w840_probe1() 418 np->mii_if.full_duplex = 1; in w840_probe1() 420 if (np->mii_if.full_duplex) in w840_probe1() 763 np->mii_if.full_duplex = 1; in update_csr6() 1067 if ((tx_status & 0x0080) && np->mii_if.full_duplex == 0) in netdev_tx_done()
|
A 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()
|
A D | tulip_core.c | 40 static int full_duplex[MAX_UNITS]; variable 107 module_param_array(full_duplex, int, NULL, 0); 440 tp->csr6 = 0x814C0000 | (tp->full_duplex ? 0x0200 : 0); in tulip_up() 455 tp->csr6 = 0x01880000 | (tp->full_duplex ? 0x0200 : 0); in tulip_up() 962 tp->full_duplex = (value & 0x0100) ? 1 : 0; in private_ioctl() 1637 if ((options[board_idx] & FullDuplex) || full_duplex[board_idx] > 0) in tulip_init_one() 1638 tp->full_duplex = 1; in tulip_init_one() 1649 tp->full_duplex = 1; in tulip_init_one() 1651 if (tp->full_duplex) in tulip_init_one()
|
/linux/drivers/net/ethernet/ibm/ehea/ |
A D | ehea_ethtool.c | 51 cmd->base.duplex = port->full_duplex == 1 ? in ehea_get_link_ksettings() 139 port->full_duplex == 1 ? "Full" : "Half"); in ehea_set_link_ksettings() 155 port->full_duplex == 1 ? "Full" : "Half"); in ehea_nway_reset()
|
A D | ehea_main.c | 1005 port->full_duplex = 0; in ehea_sense_port_attr() 1009 port->full_duplex = 1; in ehea_sense_port_attr() 1013 port->full_duplex = 0; in ehea_sense_port_attr() 1017 port->full_duplex = 1; in ehea_sense_port_attr() 1021 port->full_duplex = 1; in ehea_sense_port_attr() 1025 port->full_duplex = 1; in ehea_sense_port_attr() 1029 port->full_duplex = 0; in ehea_sense_port_attr() 1087 port->full_duplex = 0; in ehea_set_portspeed() 1091 port->full_duplex = 1; in ehea_set_portspeed() 1095 port->full_duplex = 0; in ehea_set_portspeed() [all …]
|
/linux/drivers/net/ethernet/microchip/ |
A D | encx24j600.c | 58 bool full_duplex; member 210 if (priv->full_duplex) in encx24j600_update_phcon1() 237 priv->full_duplex = (phstat3 & PHY3DPX) ? 1 : 0; in encx24j600_wait_for_autoneg() 241 priv->full_duplex ? "Full" : "Half"); in encx24j600_wait_for_autoneg() 284 priv->full_duplex = true; in encx24j600_check_link_status() 631 if ((priv->autoneg == AUTONEG_DISABLE) && priv->full_duplex) in encx24j600_hw_init() 691 priv->full_duplex = (duplex == DUPLEX_FULL); in encx24j600_setlink() 948 cmd->base.duplex = priv->full_duplex ? DUPLEX_FULL : DUPLEX_HALF; in encx24j600_get_link_ksettings() 1022 priv->full_duplex = true; in encx24j600_spi_probe()
|
/linux/drivers/staging/octeon/ |
A D | ethernet-mdio.c | 73 (li.s.full_duplex) ? "Full" : "Half", in cvm_oct_note_carrier() 88 link_info.s.full_duplex = dev->phydev->duplex ? 1 : 0; in cvm_oct_adjust_link()
|
/linux/drivers/net/ethernet/3com/ |
A D | 3c59x.c | 624 full_duplex:1, autoselect:1, member 1233 vp->full_duplex = (option & 0x200) ? 1 : 0; in vortex_probe1() 1238 vp->full_duplex = 1; in vortex_probe1() 1243 if (full_duplex[card_idx] > 0) in vortex_probe1() 1244 vp->full_duplex = 1; in vortex_probe1() 1251 vp->mii.force_media = vp->full_duplex; in vortex_probe1() 1350 vp->full_duplex = 1; in vortex_probe1() 1425 if (vp->full_duplex) { in vortex_probe1() 1540 vp->full_duplex = vp->mii.full_duplex; in vortex_check_media() 1603 vp->full_duplex = vp->mii.force_media; in vortex_up() [all …]
|
/linux/drivers/net/ethernet/realtek/ |
A D | 8139too.c | 632 module_param_array(full_duplex, int, NULL, 0); 1080 tp->mii.full_duplex = (option & 0x210) ? 1 : 0; in rtl8139_init_one() 1085 if (board_idx < MAX_UNITS && full_duplex[board_idx] > 0) in rtl8139_init_one() 1086 tp->mii.full_duplex = full_duplex[board_idx]; in rtl8139_init_one() 1087 if (tp->mii.full_duplex) { in rtl8139_init_one() 1351 tp->mii.full_duplex = tp->mii.force_media; in rtl8139_open() 1363 tp->mii.full_duplex ? "full" : "half"); in rtl8139_open() 1579 if (tp->mii.full_duplex != duplex) { in rtl8139_thread_iter() 1580 tp->mii.full_duplex = duplex; in rtl8139_thread_iter() 1584 tp->mii.full_duplex ? "full" : "half", in rtl8139_thread_iter() [all …]
|
/linux/drivers/net/ethernet/8390/ |
A D | ne2k-pci.c | 42 static int full_duplex[MAX_UNITS]; variable 82 module_param_array(full_duplex, int, NULL, 0); 85 MODULE_PARM_DESC(full_duplex, "full duplex setting(s) (1)"); 374 if (full_duplex[fnd_cnt] > 0 || (options[fnd_cnt] & FORCE_FDX)) in ne2k_pci_init_one()
|
/linux/arch/mips/include/asm/octeon/ |
A D | cvmx-helper.h | 59 uint64_t full_duplex:1; /**< 1 if the link is full duplex */ member
|
/linux/drivers/net/ethernet/ |
A D | fealnx.c | 45 static int full_duplex[MAX_UNITS] = { -1, -1, -1, -1, -1, -1, -1, -1 }; variable 111 module_param_array(full_duplex, int, NULL, 0); 117 MODULE_PARM_DESC(full_duplex, "fealnx full duplex setting(s) (1)"); 622 np->mii.full_duplex = 1; in fealnx_init_one() 626 if (card_idx < MAX_UNITS && full_duplex[card_idx] > 0) in fealnx_init_one() 627 np->mii.full_duplex = full_duplex[card_idx]; in fealnx_init_one() 629 if (np->mii.full_duplex) { in fealnx_init_one() 888 np->mii.full_duplex = np->mii.force_media; in netdev_open() 1513 if ((tx_status & HF) && np->mii.full_duplex == 0) in intr_handler()
|
/linux/drivers/net/ethernet/adaptec/ |
A D | starfire.c | 1086 if (np->mii_if.full_duplex) in check_duplex() 1091 np->mii_if.full_duplex ? "full" : "half"); in check_duplex() 1639 np->mii_if.full_duplex = 1; in netdev_media_change() 1642 np->mii_if.full_duplex = 0; in netdev_media_change() 1645 np->mii_if.full_duplex = 1; in netdev_media_change() 1648 np->mii_if.full_duplex = 0; in netdev_media_change() 1657 np->mii_if.full_duplex = 1; in netdev_media_change() 1659 np->mii_if.full_duplex = 0; in netdev_media_change() 1665 np->mii_if.full_duplex ? "full" : "half"); in netdev_media_change() 1668 if (np->mii_if.full_duplex) in netdev_media_change()
|