/Linux-v5.4/sound/core/seq/ |
D | seq_dummy.c | 54 static bool duplex; variable 58 module_param(duplex, bool, 0444); 59 MODULE_PARM_DESC(duplex, "create DUPLEX ports"); 64 int duplex; member 85 if (p->duplex) in dummy_input() 116 rec->duplex = duplex; in create_port() 120 if (duplex) in create_port() 127 if (duplex) in create_port() 173 if (duplex) { in register_client()
|
/Linux-v5.4/Documentation/networking/device_drivers/3com/ |
D | 3c509.txt | 25 3c509B (later revision of the ISA card; supports full-duplex) 27 3c589B (later revision of the 3c589; supports full-duplex) 42 needed except to enable full-duplex mode (see below). An example of the syntax 57 (2) Full-duplex mode 59 The v1.18c driver added support for the 3c509B's full-duplex capabilities. 60 In order to enable and successfully use full-duplex mode, three conditions 64 duplex operations. Currently, the only members of the 3c509 family that are 65 positively known to support full-duplex are the 3c509B (ISA bus) and 3c589B 67 full-duplex mode; these include the original 3c509 (no "B"), the original 72 AUI and 10base2 network cabling is physically incapable of full-duplex [all …]
|
/Linux-v5.4/drivers/net/ |
D | mii.c | 109 ecmd->duplex = !!(nego & ADVERTISED_1000baseT_Full); in mii_ethtool_gset() 113 ecmd->duplex = !!(nego & ADVERTISED_100baseT_Full); in mii_ethtool_gset() 116 ecmd->duplex = !!(nego & ADVERTISED_10baseT_Full); in mii_ethtool_gset() 127 ecmd->duplex = (bmcr & BMCR_FULLDPLX) ? DUPLEX_FULL : DUPLEX_HALF; in mii_ethtool_gset() 130 mii->full_duplex = ecmd->duplex; in mii_ethtool_gset() 195 cmd->base.duplex = !!(nego & ADVERTISED_1000baseT_Full); in mii_ethtool_get_link_ksettings() 199 cmd->base.duplex = !!(nego & ADVERTISED_100baseT_Full); in mii_ethtool_get_link_ksettings() 202 cmd->base.duplex = !!(nego & ADVERTISED_10baseT_Full); in mii_ethtool_get_link_ksettings() 212 cmd->base.duplex = (bmcr & BMCR_FULLDPLX) ? in mii_ethtool_get_link_ksettings() 218 mii->full_duplex = cmd->base.duplex; in mii_ethtool_get_link_ksettings() [all …]
|
D | sungem_phy.c | 320 phy->duplex = DUPLEX_HALF; in genmii_setup_aneg() 351 phy->duplex = fd; in genmii_setup_forced() 399 phy->duplex = DUPLEX_FULL; in genmii_read_link() 401 phy->duplex = DUPLEX_HALF; in genmii_read_link() 475 phy->duplex = DUPLEX_HALF; in bcm54xx_setup_aneg() 519 phy->duplex = fd; in bcm54xx_setup_forced() 557 phy->duplex = phy_BCM5400_link_table[link_mode][0] ? in bcm54xx_read_link() 564 phy->pause = (phy->duplex == DUPLEX_FULL) && in bcm54xx_read_link() 643 phy->duplex |= DUPLEX_HALF; in bcm5421_read_link() 645 phy->duplex |= DUPLEX_FULL; in bcm5421_read_link() [all …]
|
D | mdio.c | 295 ecmd->duplex = DUPLEX_FULL; in mdio45_ethtool_gset_npage() 300 ecmd->duplex = !(modes & ADVERTISED_1000baseT_Half); in mdio45_ethtool_gset_npage() 304 ecmd->duplex = !!(modes & ADVERTISED_100baseT_Full); in mdio45_ethtool_gset_npage() 307 ecmd->duplex = !!(modes & ADVERTISED_10baseT_Full); in mdio45_ethtool_gset_npage() 315 ecmd->duplex = (reg & MDIO_CTRL1_FULLDPLX || in mdio45_ethtool_gset_npage() 467 cmd->base.duplex = DUPLEX_FULL; in mdio45_ethtool_ksettings_get_npage() 472 cmd->base.duplex = !(modes & ADVERTISED_1000baseT_Half); in mdio45_ethtool_ksettings_get_npage() 476 cmd->base.duplex = !!(modes & ADVERTISED_100baseT_Full); in mdio45_ethtool_ksettings_get_npage() 479 cmd->base.duplex = !!(modes & ADVERTISED_10baseT_Full); in mdio45_ethtool_ksettings_get_npage() 487 cmd->base.duplex = (reg & MDIO_CTRL1_FULLDPLX || in mdio45_ethtool_ksettings_get_npage()
|
/Linux-v5.4/drivers/net/phy/ |
D | phy.c | 100 phy_duplex_to_str(phydev->duplex), in phy_print_status() 194 phy_find_valid(int speed, int duplex, unsigned long *supported) in phy_find_valid() argument 196 return phy_lookup_setting(speed, duplex, supported, false); in phy_find_valid() 225 static inline bool phy_check_valid(int speed, int duplex, in phy_check_valid() argument 228 return !!phy_lookup_setting(speed, duplex, features, true); in phy_check_valid() 243 setting = phy_find_valid(phydev->speed, phydev->duplex, in phy_sanitize_settings() 247 phydev->duplex = setting->duplex; in phy_sanitize_settings() 251 phydev->duplex = DUPLEX_UNKNOWN; in phy_sanitize_settings() 291 (cmd->duplex != DUPLEX_HALF && in phy_ethtool_sset() 292 cmd->duplex != DUPLEX_FULL))) in phy_ethtool_sset() [all …]
|
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()
|
D | lxt.c | 180 phydev->duplex = DUPLEX_HALF; in lxt973a2_read_status() 187 phydev->duplex = DUPLEX_FULL; in lxt973a2_read_status() 190 phydev->duplex = DUPLEX_FULL; in lxt973a2_read_status() 193 if (phydev->duplex == DUPLEX_FULL) { in lxt973a2_read_status() 204 phydev->duplex = DUPLEX_FULL; in lxt973a2_read_status() 206 phydev->duplex = DUPLEX_HALF; in lxt973a2_read_status()
|
D | phylink.c | 174 pl->link_config.duplex = DUPLEX_HALF; in phylink_parse_fixedlink() 177 pl->link_config.duplex = DUPLEX_FULL; in phylink_parse_fixedlink() 212 pl->link_config.duplex = prop[1] ? in phylink_parse_fixedlink() 223 pl->link_config.duplex != DUPLEX_FULL) in phylink_parse_fixedlink() 231 s = phy_lookup_setting(pl->link_config.speed, pl->link_config.duplex, in phylink_parse_fixedlink() 241 pl->link_config.duplex == DUPLEX_FULL ? "full" : "half", in phylink_parse_fixedlink() 341 phy_duplex_to_str(state->duplex), in phylink_mac_config() 370 state->duplex = DUPLEX_UNKNOWN; in phylink_get_mac_state() 456 phy_duplex_to_str(link_state.duplex), in phylink_mac_link_up() 643 pl->link_config.duplex = DUPLEX_UNKNOWN; in phylink_create() [all …]
|
D | phy-core.c | 53 const char *phy_duplex_to_str(unsigned int duplex) in phy_duplex_to_str() argument 55 if (duplex == DUPLEX_HALF) in phy_duplex_to_str() 57 if (duplex == DUPLEX_FULL) in phy_duplex_to_str() 59 if (duplex == DUPLEX_UNKNOWN) in phy_duplex_to_str() 69 #define PHY_SETTING(s, d, b) { .speed = SPEED_ ## s, .duplex = DUPLEX_ ## d, \ 164 phy_lookup_setting(int speed, int duplex, const unsigned long *mask, bool exact) in phy_lookup_setting() argument 173 if (p->speed == speed && p->duplex == duplex) { in phy_lookup_setting() 288 if (phydev->duplex == DUPLEX_FULL) { in phy_resolve_aneg_pause() 316 phydev->duplex = settings[i].duplex; in phy_resolve_aneg_linkmode() 333 if (fdx_only && settings[i].duplex != DUPLEX_FULL) in phy_resolve_min_speed()
|
D | uPD60620.c | 57 phydev->duplex = DUPLEX_HALF; in upd60620_read_status() 62 phydev->duplex = DUPLEX_FULL; in upd60620_read_status() 71 if (phydev->duplex == DUPLEX_FULL) { in upd60620_read_status()
|
/Linux-v5.4/drivers/net/ethernet/stmicro/stmmac/ |
D | altr_tse_pcs.c | 133 u16 duplex = 0; in auto_nego_timer_callback() local 144 duplex = val & TSE_PCS_PARTNER_DUPLEX_MASK; in auto_nego_timer_callback() 147 duplex == TSE_PCS_PARTNER_DUPLEX_FULL) in auto_nego_timer_callback() 151 duplex == TSE_PCS_PARTNER_DUPLEX_FULL) in auto_nego_timer_callback() 155 duplex == TSE_PCS_PARTNER_DUPLEX_FULL) in auto_nego_timer_callback() 159 duplex == TSE_PCS_PARTNER_DUPLEX_HALF) in auto_nego_timer_callback() 163 duplex == TSE_PCS_PARTNER_DUPLEX_HALF) in auto_nego_timer_callback() 167 duplex == TSE_PCS_PARTNER_DUPLEX_HALF) in auto_nego_timer_callback() 174 if (duplex == TSE_PCS_PARTNER_DUPLEX_FULL && in auto_nego_timer_callback()
|
/Linux-v5.4/Documentation/networking/device_drivers/ti/ |
D | tlan.txt | 63 3. You can set duplex=1 to force half duplex, and duplex=2 to 64 force full duplex. 71 5. You have to use speed=X duplex=Y together now. If you just 74 duplex=1". 88 0x02 = use half duplex 89 0x04 = use full duplex 93 You also need to set both speed and duplex settings when forcing 101 insmod tlan speed=0,100 duplex=0,1 111 3. Try forcing different speed/duplex settings
|
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb3/ |
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-v5.4/drivers/net/ethernet/ibm/emac/ |
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-v5.4/Documentation/devicetree/bindings/phy/ |
D | phy-ocelot-serdes.txt | 13 half/full-duplex and 1000Mbps in full-duplex mode while SERDES6G supports 14 10/100Mbps in half/full-duplex and 1000/2500Mbps in full-duplex mode.
|
/Linux-v5.4/drivers/net/ethernet/ibm/ehea/ |
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-v5.4/drivers/net/ethernet/atheros/alx/ |
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-v5.4/Documentation/devicetree/bindings/net/dsa/ |
D | dsa.txt | 112 full-duplex; 121 full-duplex; 165 full-duplex; 175 full-duplex; 228 full-duplex; 239 full-duplex; 252 full-duplex;
|
D | qca8k.txt | 40 - 'full-duplex' (boolean, optional), to indicate that full duplex is 41 used. When absent, half duplex is assumed. 86 full-duplex; 145 full-duplex;
|
D | ksz.txt | 36 full-duplex; 82 full-duplex; 120 full-duplex;
|
/Linux-v5.4/arch/arm/boot/dts/ |
D | vf610-zii-dev-rev-b.dts | 72 full-duplex; 83 full-duplex; 156 full-duplex; 167 full-duplex; 234 full-duplex; 246 full-duplex; 261 full-duplex;
|
/Linux-v5.4/drivers/net/ethernet/atheros/atl1c/ |
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-v5.4/drivers/net/ethernet/chelsio/cxgb/ |
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-v5.4/Documentation/networking/device_drivers/dlink/ |
D | dl2k.txt | 188 10mbps_hd 10Mbps half duplex. 189 10mbps_fd 10Mbps full duplex. 190 100mbps_hd 100Mbps half duplex. 191 100mbps_fd 100Mbps full duplex. 192 1000mbps_fd 1000Mbps full duplex. 193 1000mbps_hd 1000Mbps half duplex. 195 1 10Mbps half duplex. 196 2 10Mbps full duplex. 197 3 100Mbps half duplex. 198 4 100Mbps full duplex. [all …]
|