Home
last modified time | relevance | path

Searched refs:duplex (Results 1 – 25 of 759) sorted by relevance

12345678910>>...31

/openbmc/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_ethtool.c25 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 …]
/openbmc/linux/sound/core/seq/
H A Dseq_dummy.c54 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()
117 rec->duplex = duplex; in create_port()
121 if (duplex) in create_port()
128 if (duplex) in create_port()
183 if (duplex) { in register_client()
/openbmc/linux/Documentation/networking/device_drivers/ethernet/3com/
H A D3c509.rst29 - 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 …]
/openbmc/qemu/hw/net/rocker/
H A Drocker_fp.c24 enum duplex { enum
37 uint8_t duplex; member
62 value->duplex = port->duplex; in fp_port_get_info()
90 uint8_t *duplex, uint8_t *autoneg) in fp_port_get_settings() argument
93 *duplex = port->duplex; in fp_port_get_settings()
100 uint8_t duplex, uint8_t autoneg) in fp_port_set_settings() argument
105 port->duplex = duplex; in fp_port_set_settings()
265 port->duplex = DUPLEX_FULL; in fp_port_reset()
/openbmc/linux/drivers/net/
H A Dmii.c108 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()
216 mii->full_duplex = cmd->base.duplex; in mii_ethtool_get_link_ksettings()
[all …]
H A Dsungem_phy.c316 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 …]
/openbmc/linux/drivers/net/phy/
H A Dswphy.c56 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 Dphylink.c408 unsigned int duplex; member
458 unsigned int duplex) in phylink_cap_from_speed_duplex() argument
464 duplex == phylink_caps_params[i].duplex) in phylink_cap_from_speed_duplex()
765 pl->link_config.duplex = DUPLEX_HALF; in phylink_parse_fixedlink()
768 pl->link_config.duplex = DUPLEX_FULL; in phylink_parse_fixedlink()
806 pl->link_config.duplex = prop[1] ? in phylink_parse_fixedlink()
819 pl->link_config.duplex != DUPLEX_FULL) in phylink_parse_fixedlink()
830 s = phy_lookup_setting(pl->link_config.speed, pl->link_config.duplex, in phylink_parse_fixedlink()
849 pl->link_config.duplex == DUPLEX_FULL ? "full" : "half", in phylink_parse_fixedlink()
1011 if (state->duplex == DUPLEX_FULL) { in phylink_resolve_an_pause()
[all …]
/openbmc/linux/Documentation/networking/device_drivers/ethernet/ti/
H A Dtlan.rst81 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
/openbmc/u-boot/drivers/net/phy/
H A Dlxt.c32 phydev->duplex = DUPLEX_HALF; in lxt971_parse_status()
36 phydev->duplex = DUPLEX_FULL; in lxt971_parse_status()
40 phydev->duplex = DUPLEX_HALF; in lxt971_parse_status()
44 phydev->duplex = DUPLEX_FULL; in lxt971_parse_status()
H A Dxilinx_phy.c51 phydev->duplex = DUPLEX_FULL; in xilinxphy_startup()
53 phydev->duplex = DUPLEX_HALF; in xilinxphy_startup()
75 phydev->duplex = DUPLEX_FULL; in xilinxphy_startup()
77 phydev->duplex = DUPLEX_HALF; in xilinxphy_startup()
92 phydev->duplex = DUPLEX_FULL; in xilinxphy_startup()
H A Dbroadcom.c102 phydev->duplex = DUPLEX_HALF; in bcm54xx_parse_status()
106 phydev->duplex = DUPLEX_FULL; in bcm54xx_parse_status()
110 phydev->duplex = DUPLEX_HALF; in bcm54xx_parse_status()
114 phydev->duplex = DUPLEX_FULL; in bcm54xx_parse_status()
118 phydev->duplex = DUPLEX_HALF; in bcm54xx_parse_status()
122 phydev->duplex = DUPLEX_FULL; in bcm54xx_parse_status()
127 phydev->duplex = DUPLEX_HALF; in bcm54xx_parse_status()
326 phydev->duplex = (val & 0x1000) == 0x1000; in bcm5482_parse_serdes_sr()
H A Dnatsemi.c87 phydev->duplex = DUPLEX_FULL; in dp83865_parse_status()
89 phydev->duplex = DUPLEX_HALF; in dp83865_parse_status()
130 phydev->duplex = DUPLEX_FULL; in dp83848_parse_status()
132 phydev->duplex = DUPLEX_HALF; in dp83848_parse_status()
H A Dfixed.c38 priv->duplex = fdtdec_get_bool(gd->fdt_blob, ofnode, "full-duplex"); in fixedphy_probe()
54 phydev->duplex = priv->duplex; in fixedphy_startup()
/openbmc/linux/drivers/net/pcs/
H A Dpcs-lynx.c80 state->duplex = DUPLEX_FULL; in lynx_pcs_get_state_2500basex()
111 phy_duplex_to_str(state->duplex), in lynx_pcs_get_state()
212 int speed, int duplex) in lynx_pcs_link_up_sgmii() argument
222 if (duplex == DUPLEX_HALF) in lynx_pcs_link_up_sgmii()
267 int speed, int duplex) in lynx_pcs_link_up_2500basex() argument
276 if (duplex == DUPLEX_HALF) in lynx_pcs_link_up_2500basex()
287 int speed, int duplex) in lynx_pcs_link_up() argument
294 lynx_pcs_link_up_sgmii(lynx->mdio, neg_mode, speed, duplex); in lynx_pcs_link_up()
297 lynx_pcs_link_up_2500basex(lynx->mdio, neg_mode, speed, duplex); in lynx_pcs_link_up()
H A Dpcs-xpcs.c592 state->duplex = DUPLEX_FULL; in xpcs_resolve_pma()
998 state->duplex = DUPLEX_UNKNOWN; in xpcs_get_state_c37_sgmii()
1023 state->duplex = DUPLEX_FULL; in xpcs_get_state_c37_sgmii()
1025 state->duplex = DUPLEX_HALF; in xpcs_get_state_c37_sgmii()
1027 int speed, duplex; in xpcs_get_state_c37_sgmii() local
1043 duplex = xpcs_read(xpcs, MDIO_MMD_VEND2, MII_ADVERTISE); in xpcs_get_state_c37_sgmii()
1044 if (duplex < 0) in xpcs_get_state_c37_sgmii()
1045 return duplex; in xpcs_get_state_c37_sgmii()
1047 if (duplex & DW_FULL_DUPLEX) in xpcs_get_state_c37_sgmii()
1048 state->duplex = DUPLEX_FULL; in xpcs_get_state_c37_sgmii()
[all …]
/openbmc/u-boot/drivers/qe/
H A Duec_phy.c85 unsigned int duplex; /* specified duplex FULL or HALF */ member
353 if (mii_info->duplex == DUPLEX_FULL && in genmii_config_aneg()
424 mii_info->duplex = DUPLEX_FULL; in genmii_read_status()
426 mii_info->duplex = DUPLEX_HALF; in genmii_read_status()
431 mii_info->duplex = DUPLEX_FULL; in genmii_read_status()
433 mii_info->duplex = DUPLEX_HALF; in genmii_read_status()
538 mii_info->duplex = DUPLEX_FULL; in marvell_read_status()
540 mii_info->duplex = DUPLEX_HALF; in marvell_read_status()
622 mii_info->duplex = DUPLEX_FULL; in dm9161_read_status()
624 mii_info->duplex = DUPLEX_HALF; in dm9161_read_status()
[all …]
/openbmc/u-boot/doc/device-tree-bindings/net/
H A Dfixed-link.txt14 * 'full-duplex' (boolean, optional), to indicate that full duplex is
15 used. When absent, half duplex is assumed.
27 full-duplex;
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dvsc8211.c131 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()
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_phylink.c49 int speed, int duplex, in sparx5_phylink_mac_link_up() argument
57 conf.duplex = duplex; in sparx5_phylink_mac_link_up()
90 state->duplex = status.duplex; in sparx5_pcs_get_state()
/openbmc/linux/drivers/net/ethernet/ibm/emac/
H A Dphy.c116 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()
/openbmc/linux/arch/arm/boot/dts/mediatek/
H A Dmt7623a.dtsi26 full-duplex;
37 full-duplex;
101 full-duplex;
114 full-duplex;
/openbmc/linux/drivers/net/ethernet/ibm/ehea/
H A Dehea_ethtool.c51 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()
/openbmc/linux/net/ethtool/
H A Dcommon.h12 #define ETHTOOL_LINK_MODE(speed, type, duplex) \ argument
13 ETHTOOL_LINK_MODE_ ## speed ## base ## type ## _ ## duplex ## _BIT
20 u8 duplex; member
/openbmc/linux/drivers/net/ethernet/atheros/alx/
H A Dhw.h484 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()

12345678910>>...31