| /linux/drivers/net/ethernet/marvell/prestera/ |
| H A D | prestera_ethtool.c | 25 u8 duplex; member 32 .duplex = PRESTERA_PORT_DUPLEX_HALF, 39 .duplex = PRESTERA_PORT_DUPLEX_FULL, 46 .duplex = PRESTERA_PORT_DUPLEX_HALF, 53 .duplex = PRESTERA_PORT_DUPLEX_FULL, 60 .duplex = PRESTERA_PORT_DUPLEX_HALF, 67 .duplex = PRESTERA_PORT_DUPLEX_FULL, 74 .duplex = PRESTERA_PORT_DUPLEX_FULL, 81 .duplex = PRESTERA_PORT_DUPLEX_FULL, 88 .duplex = PRESTERA_PORT_DUPLEX_FULL, [all …]
|
| /linux/Documentation/networking/device_drivers/ethernet/3com/ |
| H A D | 3c509.rst | 29 - 3c509B (later revision of the ISA card; supports full-duplex) 31 - 3c589B (later revision of the 3c589; supports full-duplex) 47 needed except to enable full-duplex mode (see below). An example of the syntax 62 Full-duplex mode 65 The v1.18c driver added support for the 3c509B's full-duplex capabilities. 66 In order to enable and successfully use full-duplex mode, three conditions 70 duplex operations. Currently, the only members of the 3c509 family that are 71 positively known to support full-duplex are the 3c509B (ISA bus) and 3c589B 73 full-duplex mode; these include the original 3c509 (no "B"), the original 78 AUI and 10base2 network cabling is physically incapable of full-duplex [all …]
|
| /linux/sound/core/seq/ |
| H A D | seq_dummy.c | 54 static bool duplex; variable 58 module_param(duplex, bool, 0444); 59 MODULE_PARM_DESC(duplex, "create DUPLEX ports"); 70 int duplex; member 91 if (p->duplex) in dummy_input() 123 rec->duplex = duplex; in create_port() 127 if (duplex) in create_port() 134 if (duplex) in create_port() 203 if (duplex) { in register_client()
|
| /linux/drivers/net/phy/ |
| H A D | phy_caps.c | 32 static int speed_duplex_to_capa(int speed, unsigned int duplex) in speed_duplex_to_capa() argument 34 if (duplex == DUPLEX_UNKNOWN || in speed_duplex_to_capa() 35 (speed > SPEED_1000 && duplex != DUPLEX_FULL)) in speed_duplex_to_capa() 39 case SPEED_10: return duplex == DUPLEX_FULL ? in speed_duplex_to_capa() 41 case SPEED_100: return duplex == DUPLEX_FULL ? in speed_duplex_to_capa() 43 case SPEED_1000: return duplex == DUPLEX_FULL ? in speed_duplex_to_capa() 93 capa = speed_duplex_to_capa(linkmode->speed, linkmode->duplex); in phy_caps_init() 175 if (fdx_only && lcap->duplex != DUPLEX_FULL) in phy_caps_lookup_by_linkmode_rev() 210 phy_caps_lookup(int speed, unsigned int duplex, const unsigned long *supported, in phy_caps_lookup() argument 219 if (lcap->speed == speed && lcap->duplex == duplex) { in phy_caps_lookup() [all …]
|
| H A D | swphy.c | 56 static const struct swmii_regs duplex[] = { variable 130 duplex_index = state->duplex ? SWMII_DUPLEX_FULL : SWMII_DUPLEX_HALF; in swphy_read_reg() 132 bmsr |= speed[speed_index].bmsr & duplex[duplex_index].bmsr; in swphy_read_reg() 133 estat |= speed[speed_index].estat & duplex[duplex_index].estat; in swphy_read_reg() 138 lpa |= speed[speed_index].lpa & duplex[duplex_index].lpa; in swphy_read_reg() 139 lpagb |= speed[speed_index].lpagb & duplex[duplex_index].lpagb; in swphy_read_reg()
|
| H A D | phylink.c | 310 unsigned int duplex; member 414 unsigned int duplex) in phylink_cap_from_speed_duplex() argument 420 duplex == phylink_caps_params[i].duplex) in phylink_cap_from_speed_duplex() 676 pl->link_config.duplex = DUPLEX_HALF; in phylink_parse_fixedlink() 679 pl->link_config.duplex = DUPLEX_FULL; in phylink_parse_fixedlink() 720 pl->link_config.duplex = prop[1] ? in phylink_parse_fixedlink() 733 pl->link_config.duplex != DUPLEX_FULL) in phylink_parse_fixedlink() 743 c = phy_caps_lookup(pl->link_config.speed, pl->link_config.duplex, in phylink_parse_fixedlink() 761 pl->link_config.duplex == DUPLEX_FULL ? "full" : "half", in phylink_parse_fixedlink() 871 if (state->duplex == DUPLEX_FULL) { in phylink_resolve_an_pause() [all …]
|
| H A D | phy-caps.h | 42 unsigned int duplex; member 51 bool phy_caps_valid(int speed, int duplex, const unsigned long *linkmodes); 62 phy_caps_lookup(int speed, unsigned int duplex, const unsigned long *supported,
|
| /linux/drivers/net/ |
| H A D | mii.c | 108 ecmd->duplex = !!(nego & ADVERTISED_1000baseT_Full); in mii_ethtool_gset() 112 ecmd->duplex = !!(nego & ADVERTISED_100baseT_Full); in mii_ethtool_gset() 115 ecmd->duplex = !!(nego & ADVERTISED_10baseT_Full); in mii_ethtool_gset() 126 ecmd->duplex = (bmcr & BMCR_FULLDPLX) ? DUPLEX_FULL : DUPLEX_HALF; in mii_ethtool_gset() 129 mii->full_duplex = ecmd->duplex; in mii_ethtool_gset() 193 cmd->base.duplex = !!(nego & ADVERTISED_1000baseT_Full); in mii_ethtool_get_link_ksettings() 197 cmd->base.duplex = !!(nego & ADVERTISED_100baseT_Full); in mii_ethtool_get_link_ksettings() 200 cmd->base.duplex = !!(nego & ADVERTISED_10baseT_Full); in mii_ethtool_get_link_ksettings() 210 cmd->base.duplex = (bmcr & BMCR_FULLDPLX) ? in mii_ethtool_get_link_ksettings() 219 mii->full_duplex = cmd->base.duplex; in mii_ethtool_get_link_ksettings() [all …]
|
| H A D | sungem_phy.c | 316 phy->duplex = DUPLEX_HALF; in genmii_setup_aneg() 347 phy->duplex = fd; in genmii_setup_forced() 395 phy->duplex = DUPLEX_FULL; in genmii_read_link() 397 phy->duplex = DUPLEX_HALF; in genmii_read_link() 472 phy->duplex = DUPLEX_HALF; in bcm54xx_setup_aneg() 516 phy->duplex = fd; in bcm54xx_setup_forced() 554 phy->duplex = phy_BCM5400_link_table[link_mode][0] ? in bcm54xx_read_link() 561 phy->pause = (phy->duplex == DUPLEX_FULL) && in bcm54xx_read_link() 640 phy->duplex |= DUPLEX_HALF; in bcm5421_read_link() 642 phy->duplex |= DUPLEX_FULL; in bcm5421_read_link() [all …]
|
| /linux/Documentation/networking/device_drivers/ethernet/ti/ |
| H A D | tlan.rst | 81 3. You can set duplex=1 to force half duplex, and duplex=2 to 82 force full duplex. 89 5. You have to use speed=X duplex=Y together now. If you just 92 duplex=1". 107 0x02 use half duplex 108 0x04 use full duplex 113 You also need to set both speed and duplex settings when forcing 121 insmod tlan speed=0,100 duplex=0,1 133 3. Try forcing different speed/duplex settings
|
| /linux/drivers/net/ethernet/wangxun/txgbe/ |
| H A D | txgbe_aml.c | 122 static int txgbe_set_phy_link_hostif(struct wx *wx, int speed, int autoneg, int duplex) in txgbe_set_phy_link_hostif() argument 148 buffer.duplex = duplex; in txgbe_set_phy_link_hostif() 155 int *autoneg, int *duplex) in txgbe_get_link_capabilities() argument 169 *duplex = *speed == SPEED_UNKNOWN ? DUPLEX_HALF : DUPLEX_FULL; in txgbe_get_link_capabilities() 191 int speed, autoneg, duplex, err; in txgbe_set_phy_link() local 193 txgbe_get_link_capabilities(wx, &speed, &autoneg, &duplex); in txgbe_set_phy_link() 195 err = txgbe_set_phy_link_hostif(wx, speed, autoneg, duplex); in txgbe_set_phy_link() 394 state->duplex = state->link ? DUPLEX_FULL : DUPLEX_UNKNOWN; in txgbe_get_link_state() 420 int speed, int duplex, in txgbe_mac_link_up_aml() argument 507 state.duplex = DUPLEX_FULL; in txgbe_phylink_init_aml() [all …]
|
| /linux/drivers/net/ethernet/chelsio/cxgb3/ |
| H A D | vsc8211.c | 131 int *speed, int *duplex, int *fc) in vsc8211_get_link_status() argument 199 if (duplex) in vsc8211_get_link_status() 200 *duplex = dplx; in vsc8211_get_link_status() 207 int *speed, int *duplex, int *fc) in vsc8211_get_link_status_fiber() argument 267 if (duplex) in vsc8211_get_link_status_fiber() 268 *duplex = dplx; in vsc8211_get_link_status_fiber() 305 int vsc8211_set_speed_duplex(struct cphy *phy, int speed, int duplex) in vsc8211_set_speed_duplex() argument 309 err = t3_set_phy_speed_duplex(phy, speed, duplex); in vsc8211_set_speed_duplex()
|
| /linux/drivers/net/ethernet/microchip/sparx5/ |
| H A D | sparx5_phylink.c | 61 int speed, int duplex, in sparx5_phylink_mac_link_up() argument 69 conf.duplex = duplex; in sparx5_phylink_mac_link_up() 102 state->duplex = status.duplex; in sparx5_pcs_get_state()
|
| /linux/drivers/net/ethernet/ibm/emac/ |
| H A D | phy.c | 116 phy->duplex = DUPLEX_HALF; in genmii_setup_aneg() 175 phy->duplex = fd; in genmii_setup_forced() 240 phy->duplex = DUPLEX_HALF; in genmii_read_link() 246 phy->duplex = DUPLEX_FULL; in genmii_read_link() 250 phy->duplex = DUPLEX_FULL; in genmii_read_link() 252 phy->duplex = DUPLEX_FULL; in genmii_read_link() 254 if (phy->duplex == DUPLEX_FULL) { in genmii_read_link() 264 phy->duplex = DUPLEX_FULL; in genmii_read_link() 266 phy->duplex = DUPLEX_HALF; in genmii_read_link() 520 phy->duplex = DUPLEX_HALF; in emac_mii_phy_probe()
|
| /linux/drivers/net/ethernet/ibm/ehea/ |
| H A D | ehea_ethtool.c | 51 cmd->base.duplex = port->full_duplex == 1 ? in ehea_get_link_ksettings() 55 cmd->base.duplex = DUPLEX_UNKNOWN; in ehea_get_link_ksettings() 98 if (cmd->base.duplex == DUPLEX_FULL) in ehea_set_link_ksettings() 105 if (cmd->base.duplex == DUPLEX_FULL) in ehea_set_link_ksettings() 112 if (cmd->base.duplex == DUPLEX_FULL) in ehea_set_link_ksettings() 119 if (cmd->base.duplex == DUPLEX_FULL) in ehea_set_link_ksettings()
|
| /linux/drivers/net/ethernet/atheros/alx/ |
| H A D | hw.h | 484 u8 duplex; member 569 static inline u32 alx_speed_to_ethadv(int speed, u8 duplex) in alx_speed_to_ethadv() argument 571 if (speed == SPEED_1000 && duplex == DUPLEX_FULL) in alx_speed_to_ethadv() 573 if (speed == SPEED_100 && duplex == DUPLEX_FULL) in alx_speed_to_ethadv() 575 if (speed == SPEED_100 && duplex== DUPLEX_HALF) in alx_speed_to_ethadv() 577 if (speed == SPEED_10 && duplex == DUPLEX_FULL) in alx_speed_to_ethadv() 579 if (speed == SPEED_10 && duplex == DUPLEX_HALF) in alx_speed_to_ethadv()
|
| /linux/arch/arm/boot/dts/mediatek/ |
| H A D | mt7623a.dtsi | 26 full-duplex; 37 full-duplex; 101 full-duplex; 114 full-duplex;
|
| /linux/arch/arm/boot/dts/nxp/vf/ |
| H A D | vf610-zii-dev-rev-b.dts | 72 full-duplex; 83 full-duplex; 156 full-duplex; 167 full-duplex; 236 full-duplex; 248 full-duplex; 263 full-duplex;
|
| /linux/drivers/net/pcs/ |
| H A D | pcs-xpcs.c | 622 state->duplex = DUPLEX_FULL; in xpcs_resolve_pma() 1062 state->duplex = DUPLEX_UNKNOWN; in xpcs_get_state_c37_sgmii() 1086 state->duplex = DUPLEX_FULL; in xpcs_get_state_c37_sgmii() 1088 state->duplex = DUPLEX_HALF; in xpcs_get_state_c37_sgmii() 1090 int speed, duplex; in xpcs_get_state_c37_sgmii() local 1106 duplex = xpcs_read(xpcs, MDIO_MMD_VEND2, MII_ADVERTISE); in xpcs_get_state_c37_sgmii() 1107 if (duplex < 0) in xpcs_get_state_c37_sgmii() 1108 return duplex; in xpcs_get_state_c37_sgmii() 1110 if (duplex & ADVERTISE_1000XFULL) in xpcs_get_state_c37_sgmii() 1111 state->duplex = DUPLEX_FULL; in xpcs_get_state_c37_sgmii() [all …]
|
| /linux/Documentation/networking/device_drivers/ethernet/dlink/ |
| H A D | dl2k.rst | 215 10mbps_hd 10Mbps half duplex. 216 10mbps_fd 10Mbps full duplex. 217 100mbps_hd 100Mbps half duplex. 218 100mbps_fd 100Mbps full duplex. 219 1000mbps_fd 1000Mbps full duplex. 220 1000mbps_hd 1000Mbps half duplex. 222 1 10Mbps half duplex. 223 2 10Mbps full duplex. 224 3 100Mbps half duplex. 225 4 100Mbps full duplex. [all …]
|
| /linux/arch/arm/boot/dts/broadcom/ |
| H A D | bcm958625-meraki-alamo.dtsi | 124 full-duplex; 202 full-duplex; 262 full-duplex; 271 full-duplex; 280 full-duplex;
|
| /linux/drivers/net/ethernet/atheros/atl1c/ |
| H A D | atl1c_ethtool.c | 41 cmd->base.duplex = DUPLEX_FULL; in atl1c_get_link_ksettings() 43 cmd->base.duplex = DUPLEX_HALF; in atl1c_get_link_ksettings() 46 cmd->base.duplex = DUPLEX_UNKNOWN; in atl1c_get_link_ksettings() 74 if (cmd->base.duplex != DUPLEX_FULL) { in atl1c_set_link_ksettings() 83 if (cmd->base.duplex == DUPLEX_FULL) in atl1c_set_link_ksettings() 88 if (cmd->base.duplex == DUPLEX_FULL) in atl1c_set_link_ksettings()
|
| /linux/drivers/net/ethernet/chelsio/cxgb/ |
| H A D | mv88e1xxx.c | 125 static int mv88e1xxx_set_speed_duplex(struct cphy *phy, int speed, int duplex) in mv88e1xxx_set_speed_duplex() argument 137 if (duplex >= 0) { in mv88e1xxx_set_speed_duplex() 139 if (duplex == DUPLEX_FULL) in mv88e1xxx_set_speed_duplex() 242 int *speed, int *duplex, int *fc) in mv88e1xxx_get_link_status() argument 267 if (duplex) in mv88e1xxx_get_link_status() 268 *duplex = dplx; in mv88e1xxx_get_link_status()
|
| /linux/arch/arm64/boot/dts/mediatek/ |
| H A D | mt7986b-rfb.dts | 43 full-duplex; 55 full-duplex; 105 full-duplex; 118 full-duplex;
|
| /linux/drivers/net/dsa/mv88e6xxx/ |
| H A D | port.h | 490 int speed, int duplex); 492 int speed, int duplex); 494 int speed, int duplex); 496 int speed, int duplex); 498 int speed, int duplex); 500 int speed, int duplex); 502 int speed, int duplex);
|