/drivers/net/ |
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()
|
/drivers/net/ethernet/dlink/ |
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() 603 macctrl |= (np->full_duplex) ? DuplexSelect : 0; in rio_hw_init() 1040 macctrl |= (np->full_duplex) ? DuplexSelect : 0; in rio_error() 1268 cmd->base.duplex = np->full_duplex ? DUPLEX_FULL : DUPLEX_HALF; in rio_get_link_ksettings() 1314 np->full_duplex = (duplex == DUPLEX_FULL); in rio_set_link_ksettings() [all …]
|
D | sundance.c | 629 np->mii_if.full_duplex = 1; in sundance_probe1() 633 np->mii_if.full_duplex = 0; in sundance_probe1() 637 np->mii_if.full_duplex = 1; in sundance_probe1() 641 np->mii_if.full_duplex = 0; in sundance_probe1() 655 np->mii_if.full_duplex = 1; in sundance_probe1() 670 mii_ctl |= (np->mii_if.full_duplex) ? BMCR_FULLDPLX : 0; in sundance_probe1() 673 np->speed, np->mii_if.full_duplex ? "Full" : "Half"); in sundance_probe1() 923 if (np->mii_if.full_duplex) in check_duplex() 931 if (np->mii_if.full_duplex != duplex) { in check_duplex() 932 np->mii_if.full_duplex = duplex; in 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)"); 397 if (full_duplex[card_idx] >= 0) in epic_init_one() 398 duplex = full_duplex[card_idx]; in epic_init_one() 474 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 464 np->full_duplex = 1; in yellowfin_init_one() 469 if (find_cnt < MAX_UNITS && full_duplex[find_cnt] > 0) in yellowfin_init_one() 470 np->full_duplex = 1; in yellowfin_init_one() 472 if (np->full_duplex) in yellowfin_init_one() 620 yp->full_duplex = 1; in yellowfin_open() 625 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)"); 699 hmp->mii_if.full_duplex = 1; in hamachi_init_one() 701 hmp->mii_if.full_duplex = 0; in hamachi_init_one() 706 if (card_idx < MAX_UNITS && full_duplex[card_idx] > 0) in hamachi_init_one() 707 hmp->mii_if.full_duplex = 1; in hamachi_init_one() 710 if (hmp->mii_if.full_duplex || (option & 0x080)) in hamachi_init_one() 923 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() 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()
|
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 | 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)"); 409 np->mii_if.full_duplex = 1; in w840_probe1() 415 if (find_cnt < MAX_UNITS && full_duplex[find_cnt] > 0) in w840_probe1() 416 np->mii_if.full_duplex = 1; in w840_probe1() 418 if (np->mii_if.full_duplex) in w840_probe1() 761 np->mii_if.full_duplex = 1; in update_csr6() 1065 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 | 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() 1632 if ((options[board_idx] & FullDuplex) || full_duplex[board_idx] > 0) in tulip_init_one() 1633 tp->full_duplex = 1; in tulip_init_one() 1644 tp->full_duplex = 1; in tulip_init_one() 1646 if (tp->full_duplex) in tulip_init_one()
|
/drivers/net/ethernet/ibm/ehea/ |
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()
|
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 …]
|
/drivers/net/ethernet/microchip/ |
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() 1021 priv->full_duplex = true; in encx24j600_spi_probe()
|
D | enc28j60.c | 69 bool full_duplex; member 656 priv->full_duplex ? "FullDuplex" : "HalfDuplex"); in enc28j60_hw_init() 698 if (priv->full_duplex) { in enc28j60_hw_init() 727 if (priv->full_duplex) { in enc28j60_hw_init() 788 priv->full_duplex = (duplex == DUPLEX_FULL); in enc28j60_setlink() 1488 cmd->base.duplex = priv->full_duplex ? DUPLEX_FULL : DUPLEX_HALF; in enc28j60_get_link_ksettings()
|
/drivers/staging/octeon/ |
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()
|
/drivers/net/ethernet/3com/ |
D | 3c59x.c | 624 full_duplex:1, autoselect:1, member 788 static int full_duplex[MAX_UNITS] = {[0 ... MAX_UNITS-1] = -1 }; variable 808 module_param_array(full_duplex, int, NULL, 0); 824 MODULE_PARM_DESC(full_duplex, "3c59x full duplex setting(s) (1)"); 1232 vp->full_duplex = (option & 0x200) ? 1 : 0; in vortex_probe1() 1237 vp->full_duplex = 1; in vortex_probe1() 1242 if (full_duplex[card_idx] > 0) in vortex_probe1() 1243 vp->full_duplex = 1; in vortex_probe1() 1250 vp->mii.force_media = vp->full_duplex; in vortex_probe1() 1348 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 632 module_param_array(full_duplex, int, NULL, 0); 637 MODULE_PARM_DESC (full_duplex, "8139too: Force full duplex for board(s) (1)"); 1079 tp->mii.full_duplex = (option & 0x210) ? 1 : 0; in rtl8139_init_one() 1084 if (board_idx < MAX_UNITS && full_duplex[board_idx] > 0) in rtl8139_init_one() 1085 tp->mii.full_duplex = full_duplex[board_idx]; in rtl8139_init_one() 1086 if (tp->mii.full_duplex) { in rtl8139_init_one() 1350 tp->mii.full_duplex = tp->mii.force_media; in rtl8139_open() 1362 tp->mii.full_duplex ? "full" : "half"); in rtl8139_open() 1578 if (tp->mii.full_duplex != duplex) { in rtl8139_thread_iter() [all …]
|
/drivers/net/ethernet/8390/ |
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()
|
/drivers/net/ethernet/ |
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)"); 620 np->mii.full_duplex = 1; in fealnx_init_one() 624 if (card_idx < MAX_UNITS && full_duplex[card_idx] > 0) in fealnx_init_one() 625 np->mii.full_duplex = full_duplex[card_idx]; in fealnx_init_one() 627 if (np->mii.full_duplex) { in fealnx_init_one() 886 np->mii.full_duplex = np->mii.force_media; in netdev_open() 1511 if ((tx_status & HF) && np->mii.full_duplex == 0) in intr_handler()
|
/drivers/net/ethernet/adaptec/ |
D | starfire.c | 1084 if (np->mii_if.full_duplex) in check_duplex() 1089 np->mii_if.full_duplex ? "full" : "half"); in check_duplex() 1637 np->mii_if.full_duplex = 1; in netdev_media_change() 1640 np->mii_if.full_duplex = 0; in netdev_media_change() 1643 np->mii_if.full_duplex = 1; in netdev_media_change() 1646 np->mii_if.full_duplex = 0; in netdev_media_change() 1655 np->mii_if.full_duplex = 1; in netdev_media_change() 1657 np->mii_if.full_duplex = 0; in netdev_media_change() 1663 np->mii_if.full_duplex ? "full" : "half"); in netdev_media_change() 1666 if (np->mii_if.full_duplex) in netdev_media_change()
|
/drivers/net/ethernet/sun/ |
D | sungem.c | 1341 int full_duplex, speed, pause; in gem_set_link_modes() local 1344 full_duplex = 0; in gem_set_link_modes() 1351 full_duplex = (gp->phy_mii.duplex == DUPLEX_FULL); in gem_set_link_modes() 1359 full_duplex = 1; in gem_set_link_modes() 1364 speed, (full_duplex ? "full" : "half")); in gem_set_link_modes() 1373 if (full_duplex) { in gem_set_link_modes() 1381 if (!full_duplex && in gem_set_link_modes() 1385 } else if (full_duplex) { in gem_set_link_modes() 1397 if (speed == SPEED_1000 && !full_duplex) { in gem_set_link_modes() 1419 if (!full_duplex) in gem_set_link_modes()
|
D | cassini.c | 3568 int full_duplex, speed, pause; in cas_set_link_modes() local 3570 full_duplex = 0; in cas_set_link_modes() 3578 cas_read_mii_link_mode(cp, &full_duplex, &speed, in cas_set_link_modes() 3582 full_duplex = 1; in cas_set_link_modes() 3594 cas_read_pcs_link_mode(cp, &full_duplex, &speed, &pause); in cas_set_link_modes() 3597 full_duplex = 1; in cas_set_link_modes() 3602 speed, full_duplex ? "full" : "half"); in cas_set_link_modes() 3607 if (!full_duplex) in cas_set_link_modes() 3610 if (full_duplex) in cas_set_link_modes() 3618 if (full_duplex) { in cas_set_link_modes() [all …]
|
/drivers/net/ethernet/marvell/octeontx2/af/ |
D | cgx_fw_if.h | 219 uint64_t full_duplex:1; member
|