Home
last modified time | relevance | path

Searched refs:full_duplex (Results 1 – 25 of 63) sorted by relevance

123

/linux/drivers/net/
H A Dmii.c129 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/
H A Dcvmx-helper-spi.c153 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()
H A Dcvmx-helper-sgmii.c247 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()
H A Dcvmx-helper-board.c223 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()
H A Dcvmx-helper-rgmii.c275 result.s.full_duplex = 1; in __cvmx_helper_rgmii_link_get()
370 new_gmx_cfg.s.duplex = link_info.s.full_duplex; in __cvmx_helper_rgmii_link_set()
/linux/drivers/net/ethernet/dlink/
H A Ddl2k.c165 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()
601 macctrl |= (np->full_duplex) ? DuplexSelect : 0; in rio_hw_init()
1036 macctrl |= (np->full_duplex) ? DuplexSelect : 0; in rio_error()
1264 cmd->base.duplex = np->full_duplex ? DUPLEX_FULL : DUPLEX_HALF; in rio_get_link_ksettings()
1310 np->full_duplex = (duplex == DUPLEX_FULL); in rio_set_link_ksettings()
[all …]
/linux/drivers/net/ethernet/smsc/
H A Depic100.c40 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()
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()
[all …]
/linux/drivers/net/ethernet/dec/tulip/
H A Dmedia.c197 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()
H A Dpnic2.c224 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()
H A Dpnic.c37 tp->full_duplex = 1; in pnic_do_nway()
155 tp->full_duplex ? "full" : "half", in pnic_timer()
H A Dwinbond-840.c83 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()
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()
H A D21142.c171 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()
H A Dtulip_core.c40 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/packetengines/
H A Dyellowfin.c62 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
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()
[all …]
H A Dhamachi.c87 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/ibm/ehea/
H A Dehea_ethtool.c51 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()
H A Dehea_main.c1008 port->full_duplex = 0; in ehea_sense_port_attr()
1012 port->full_duplex = 1; in ehea_sense_port_attr()
1016 port->full_duplex = 0; in ehea_sense_port_attr()
1020 port->full_duplex = 1; in ehea_sense_port_attr()
1024 port->full_duplex = 1; in ehea_sense_port_attr()
1028 port->full_duplex = 1; in ehea_sense_port_attr()
1032 port->full_duplex = 0; in ehea_sense_port_attr()
1090 port->full_duplex = 0; in ehea_set_portspeed()
1094 port->full_duplex = 1; in ehea_set_portspeed()
1098 port->full_duplex = 0; in ehea_set_portspeed()
[all …]
/linux/drivers/net/ethernet/microchip/
H A Dencx24j600.c58 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()
950 cmd->base.duplex = priv->full_duplex ? DUPLEX_FULL : DUPLEX_HALF; in encx24j600_get_link_ksettings()
1024 priv->full_duplex = true; in encx24j600_spi_probe()
/linux/drivers/staging/octeon/
H A Dethernet-mdio.c71 (li.s.full_duplex) ? "Full" : "Half", in cvm_oct_note_carrier()
86 link_info.s.full_duplex = dev->phydev->duplex ? 1 : 0; in cvm_oct_adjust_link()
/linux/drivers/net/ethernet/realtek/
H A D8139too.c148 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)");
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()
[all …]
/linux/arch/mips/include/asm/octeon/
H A Dcvmx-helper.h59 uint64_t full_duplex:1; /**< 1 if the link is full duplex */ member
/linux/drivers/net/ethernet/8390/
H A Dne2k-pci.c43 static int full_duplex[MAX_UNITS]; variable
83 module_param_array(full_duplex, int, NULL, 0);
86 MODULE_PARM_DESC(full_duplex, "full duplex setting(s) (1)");
364 if (full_duplex[fnd_cnt] > 0 || (options[fnd_cnt] & FORCE_FDX)) in ne2k_pci_init_one()
/linux/drivers/net/ethernet/
H A Dfealnx.c45 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/
H A Dstarfire.c1078 if (np->mii_if.full_duplex) in check_duplex()
1083 np->mii_if.full_duplex ? "full" : "half"); in check_duplex()
1631 np->mii_if.full_duplex = 1; in netdev_media_change()
1634 np->mii_if.full_duplex = 0; in netdev_media_change()
1637 np->mii_if.full_duplex = 1; in netdev_media_change()
1640 np->mii_if.full_duplex = 0; in netdev_media_change()
1649 np->mii_if.full_duplex = 1; in netdev_media_change()
1651 np->mii_if.full_duplex = 0; in netdev_media_change()
1657 np->mii_if.full_duplex ? "full" : "half"); in netdev_media_change()
1660 if (np->mii_if.full_duplex) in netdev_media_change()
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Dcgx_fw_if.h219 uint64_t full_duplex:1; member

123