/kernel/linux/linux-5.10/drivers/net/ |
H A D | mii.c | 130 mii->full_duplex = ecmd->duplex; in mii_ethtool_gset() 218 mii->full_duplex = cmd->base.duplex; in mii_ethtool_get_link_ksettings() 311 mii->full_duplex = 1; in mii_ethtool_sset() 313 mii->full_duplex = 0; in mii_ethtool_sset() 408 mii->full_duplex = 1; in mii_ethtool_set_link_ksettings() 410 mii->full_duplex = 0; in mii_ethtool_set_link_ksettings() 566 if ((init_media) || (mii->full_duplex != duplex)) { in mii_check_media() 567 mii->full_duplex = duplex; in mii_check_media() 622 if (mii_if->full_duplex != new_duplex) { in generic_mii_ioctl() 624 mii_if->full_duplex in generic_mii_ioctl() [all...] |
/kernel/linux/linux-6.6/drivers/net/ |
H 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 in generic_mii_ioctl() [all...] |
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/executive/ |
H 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()
|
H 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()
|
H 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()
|
/kernel/linux/linux-6.6/arch/mips/cavium-octeon/executive/ |
H 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()
|
H 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()
|
H 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/dlink/ |
H 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() 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 in rio_set_link_ksettings() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/dlink/ |
H 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() 602 macctrl |= (np->full_duplex) ? DuplexSelect : 0; in rio_hw_init() 1037 macctrl |= (np->full_duplex) ? DuplexSelect : 0; in rio_error() 1265 cmd->base.duplex = np->full_duplex ? DUPLEX_FULL : DUPLEX_HALF; in rio_get_link_ksettings() 1311 np->full_duplex in rio_set_link_ksettings() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/dec/tulip/ |
H 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()
|
H 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()
|
H A D | pnic.c | 37 tp->full_duplex = 1; in pnic_do_nway() 155 tp->full_duplex ? "full" : "half", in pnic_timer()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/dec/tulip/ |
H 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()
|
H 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/ibm/ehea/ |
H 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()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/ibm/ehea/ |
H 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/smsc/ |
H A 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 in epic_open() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/smsc/ |
H A 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() 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 in epic_open() [all...] |
/kernel/linux/linux-5.10/drivers/staging/octeon/ |
H 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()
|
/kernel/linux/linux-6.6/drivers/staging/octeon/ |
H 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/microchip/ |
H A D | encx24j600.c | 58 bool full_duplex; member 210 if (priv->full_duplex) in encx24j600_update_phcon1() 238 priv->full_duplex = (phstat3 & PHY3DPX) ? 1 : 0; in encx24j600_wait_for_autoneg() 242 priv->full_duplex ? "Full" : "Half"); in encx24j600_wait_for_autoneg() 285 priv->full_duplex = true; in encx24j600_check_link_status() 632 if ((priv->autoneg == AUTONEG_DISABLE) && priv->full_duplex) in encx24j600_hw_init() 692 priv->full_duplex = (duplex == DUPLEX_FULL); in encx24j600_setlink() 949 cmd->base.duplex = priv->full_duplex ? DUPLEX_FULL : DUPLEX_HALF; in encx24j600_get_link_ksettings() 1022 priv->full_duplex = true; in encx24j600_spi_probe()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/ |
H 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/packetengines/ |
H A 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 in yellowfin_open() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/packetengines/ |
H A 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 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 in yellowfin_open() [all...] |