Home
last modified time | relevance | path

Searched full:duplex (Results 1 – 25 of 843) sorted by relevance

12345678910>>...34

/linux/include/uapi/linux/
H A Dmii.h44 #define BMCR_FULLDPLX 0x0100 /* Full duplex */
65 #define BMSR_10HALF 0x0800 /* Can do 10mbps, half-duplex */
66 #define BMSR_10FULL 0x1000 /* Can do 10mbps, full-duplex */
67 #define BMSR_100HALF 0x2000 /* Can do 100mbps, half-duplex */
68 #define BMSR_100FULL 0x4000 /* Can do 100mbps, full-duplex */
74 #define ADVERTISE_10HALF 0x0020 /* Try for 10mbps half-duplex */
75 #define ADVERTISE_1000XFULL 0x0020 /* Try for 1000BASE-X full-duplex */
76 #define ADVERTISE_10FULL 0x0040 /* Try for 10mbps full-duplex */
77 #define ADVERTISE_1000XHALF 0x0040 /* Try for 1000BASE-X half-duplex */
78 #define ADVERTISE_100HALF 0x0080 /* Try for 100mbps half-duplex */
[all …]
/linux/drivers/net/phy/
H A Dphy_caps.c30 static int speed_duplex_to_capa(int speed, unsigned int duplex) in speed_duplex_to_capa() argument
32 if (duplex == DUPLEX_UNKNOWN || in speed_duplex_to_capa()
33 (speed > SPEED_1000 && duplex != DUPLEX_FULL)) in speed_duplex_to_capa()
37 case SPEED_10: return duplex == DUPLEX_FULL ? in speed_duplex_to_capa()
39 case SPEED_100: return duplex == DUPLEX_FULL ? in speed_duplex_to_capa()
41 case SPEED_1000: return duplex == DUPLEX_FULL ? in speed_duplex_to_capa()
81 capa = speed_duplex_to_capa(linkmode->speed, linkmode->duplex); in phy_caps_init()
151 * @fdx_only: Full duplex match only when set
154 * linkmodes. When set, fdx_only will ignore half-duplex matches.
163 if (fdx_only && lcap->duplex != DUPLEX_FULL) in phy_caps_lookup_by_linkmode_rev()
[all …]
H A Dswphy.c38 * This means the speed table must contain both duplex settings, and the
39 * duplex table must contain all speed settings.
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 Dphylink.c303 unsigned int duplex; member
360 * Set all possible pause, speed and duplex linkmodes in @linkmodes that are
396 * phylink_cap_from_speed_duplex - Get mac capability from speed/duplex
398 * @duplex: the duplex to search for
400 * Find the mac capability for a given speed and duplex.
402 * Return: A mask with the mac capability patching @speed and @duplex, or 0 if
406 unsigned int duplex) in phylink_cap_from_speed_duplex() argument
412 duplex == phylink_caps_params[i].duplex) in phylink_cap_from_speed_duplex()
459 * max speed at full duplex. in phylink_get_capabilities()
467 /* The MAC must support half duplex at the interface's max in phylink_get_capabilities()
[all …]
/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 …]
/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 …]
H A Dvortex.rst128 0x0200 Force full duplex mode.
136 will force full-duplex 100base-TX, rather than allowing the usual
148 full-duplex mode. Please use this in preference to the ``options``
156 Sets full duplex mode for all 3c59x NICs in the machine. Entries
166 full duplex mode.
276 the same network being in full-duplex mode, while this host is in
277 half-duplex mode. You need to find that other host and make it run in
278 half-duplex mode or fix this host to run in full-duplex mode.
280 As a last resort, you can force the 3c59x driver into full-duplex mode
347 100" and "duplex full" as well (or "speed 10" and "duplex half").
[all …]
/linux/sound/core/seq/
H A Dseq_dummy.c39 The model option "duplex=1" enables duplex operation to the port.
40 In duplex mode, a pair of ports are created instead of single port,
43 In duplex mode, each port has DUPLEX capability.
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()
[all …]
/linux/drivers/net/ethernet/oki-semi/pch_gbe/
H A Dpch_gbe_param.c48 * Duplex - User Specified Duplex Override
50 * - 0: auto-negotiate for duplex
51 * - 1: only link at half duplex
52 * - 2: only link at full duplex
55 static int Duplex = OPTION_UNSET; variable
56 module_param(Duplex, int, 0);
57 MODULE_PARM_DESC(Duplex, "Duplex setting");
66 * The AutoNeg value is a bit mask describing which speed and duplex
68 * The supported speed and duplex modes are listed below
72 * Duplex Full Full Half Full Half
[all …]
/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()
219 mii->full_duplex = cmd->base.duplex; in mii_ethtool_get_link_ksettings()
[all …]
/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
91 To force a 10Mbps Half-Duplex link do "insmod tlan.o speed=10
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
115 ether=0,0,0x12,0,eth0 will force link to 100Mbps Half-Duplex.
121 insmod tlan speed=0,100 duplex=0,1
[all …]
/linux/Documentation/networking/device_drivers/ethernet/intel/
H A De1000.rst15 - Speed and Duplex Configuration
40 For more information about the AutoNeg, Duplex, and Speed
41 parameters, see the "Speed and Duplex Configuration" section in
57 This parameter is a bit-mask that specifies the speed and duplex settings
59 Duplex parameters must not be specified.
62 Refer to the Speed and Duplex section of this readme for more
65 Duplex section in Command Line Parameters
74 either one or two-directional. If both Duplex and the link partner are
75 set to auto-negotiate, the board auto-detects the correct duplex. If the
76 link partner is forced (either full or half), Duplex defaults to half-
[all …]
/linux/drivers/net/ethernet/intel/e1000/
H A De1000_param.c58 /* User Specified Duplex Override
61 * - 0 - auto-negotiate for duplex
62 * - 1 - only link at half duplex
63 * - 2 - only link at full duplex
67 E1000_PARAM(Duplex, "Duplex setting");
73 * The AutoNeg value is a bit mask describing which speed and duplex
75 * The supported speed and duplex modes are listed below
79 * Duplex Full Full Half Full Half
508 * Handles speed and duplex options on fiber adapters
519 e_dev_info("Duplex not valid for fiber adapters, parameter " in e1000_check_fiber_options()
[all …]
/linux/drivers/net/ethernet/atheros/atlx/
H A Datlx.h228 /* MAC Half-Duplex Control Register */
303 #define MII_CR_FULL_DUPLEX 0x0100 /* FDX =1, half duplex =0 */
327 #define MII_SR_100T2_HD_CAPS 0x0200 /* 100T2 Half Duplex Capable */
328 #define MII_SR_100T2_FD_CAPS 0x0400 /* 100T2 Full Duplex Capable */
329 #define MII_SR_10T_HD_CAPS 0x0800 /* 10T Half Duplex Capable */
330 #define MII_SR_10T_FD_CAPS 0x1000 /* 10T Full Duplex Capable */
331 #define MII_SR_100X_HD_CAPS 0x2000 /* 100X Half Duplex Capable */
332 #define MII_SR_100X_FD_CAPS 0x4000 /* 100X Full Duplex Capable */
337 #define MII_LPA_10HALF 0x0020 /* Can do 10mbps half-duplex */
338 #define MII_LPA_10FULL 0x0040 /* Can do 10mbps full-duplex */
[all …]
/linux/Documentation/networking/device_drivers/ethernet/dlink/
H A Ddl2k.rst215 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/Documentation/spi/
H A Dspidev.rst5 SPI devices have a limited userspace API, supporting basic half-duplex
7 full duplex transfers and device I/O configuration are also available.
112 Standard read() and write() operations are obviously only half-duplex, and
113 the chipselect is deactivated between those operations. Full-duplex access,
174 FULL DUPLEX CHARACTER DEVICE API
178 full duplex programming interface. (Although it doesn't perform a full duplex
183 The example shows one half-duplex RPC-style request and response message.
190 To make a full duplex request, provide both rx_buf and tx_buf for the
/linux/include/linux/
H A Dmii.h24 unsigned int full_duplex : 1; /* is full duplex? */
90 * @duplex_lock: Non-zero if duplex is locked at full
94 * if the media is operating or locked at full duplex, and
493 * @fd_bit: full duplex bit
531 * Resolve full duplex flow control as per IEEE 802.3-2005 table 28B-3
550 * mii_bmcr_encode_fixed - encode fixed speed/duplex settings to a BMCR value
552 * @duplex: a DUPLEX_* value
554 * Encode the speed and duplex to a BMCR value. 2500, 1000, 100 and 10 Mbps are
556 * Mbps. Unknown duplex values are encoded to half-duplex.
558 static inline u16 mii_bmcr_encode_fixed(int speed, int duplex) in mii_bmcr_encode_fixed() argument
[all …]
/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()
137 "Port speed successfully set: %dMbps %s Duplex\n", in ehea_set_link_ksettings()
153 "Port speed successfully set: %dMbps %s Duplex\n", in ehea_nway_reset()
/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_phylink.c61 int speed, int duplex, in sparx5_phylink_mac_link_up() argument
69 conf.duplex = duplex; in sparx5_phylink_mac_link_up()
74 /* Configure the port to speed/duplex/pause */ in sparx5_phylink_mac_link_up()
102 state->duplex = status.duplex; in sparx5_pcs_get_state()
/linux/Documentation/devicetree/bindings/phy/
H A Dmscc,vsc7514-serdes.yaml23 half/full-duplex and 1000Mbps in full-duplex mode while SERDES6G supports
24 10/100Mbps in half/full-duplex and 1000/2500Mbps in full-duplex mode.
/linux/drivers/net/pcs/
H A Dpcs-lynx.c100 state->duplex = DUPLEX_FULL; in lynx_pcs_get_state_2500basex()
131 phy_duplex_to_str(state->duplex), in lynx_pcs_get_state()
232 int speed, int duplex) in lynx_pcs_link_up_sgmii() argument
242 if (duplex == DUPLEX_HALF) in lynx_pcs_link_up_sgmii()
287 int speed, int duplex) in lynx_pcs_link_up_2500basex() argument
296 if (duplex == DUPLEX_HALF) in lynx_pcs_link_up_2500basex()
307 int speed, int duplex) in lynx_pcs_link_up() argument
314 lynx_pcs_link_up_sgmii(lynx->mdio, neg_mode, speed, duplex); in lynx_pcs_link_up()
317 lynx_pcs_link_up_2500basex(lynx->mdio, neg_mode, speed, duplex); in lynx_pcs_link_up()
/linux/drivers/net/ethernet/intel/igc/
H A Digc_mac.c353 * to get the current speed/duplex if link exists.
372 * link. If so, then we want to get the current speed/duplex in igc_check_for_copper_link()
390 * of MAC speed/duplex configuration. So we only need to in igc_check_for_copper_link()
439 * speed and duplex were not forced. If the link needed to be forced, then
448 u16 speed, duplex; in igc_config_fc_after_link_up() local
609 * negotiated to HALF DUPLEX, flow control should not be in igc_config_fc_after_link_up()
612 ret_val = hw->mac.ops.get_speed_and_duplex(hw, &speed, &duplex); in igc_config_fc_after_link_up()
614 hw_dbg("Error getting link speed and duplex\n"); in igc_config_fc_after_link_up()
618 if (duplex == HALF_DUPLEX) in igc_config_fc_after_link_up()
663 * igc_get_speed_and_duplex_copper - Retrieve current speed/duplex
[all …]
/linux/arch/mips/include/asm/octeon/
H A Dcvmx-spi.h89 * can operate as a full duplex (both Tx and Rx data paths
107 * can operate as a full duplex (both Tx and Rx data paths
176 * can operate as a full duplex (both Tx and Rx data paths
192 * can operate as a full duplex (both Tx and Rx data paths
209 * can operate as a full duplex (both Tx and Rx data paths
226 * can operate as a full duplex (both Tx and Rx data paths
243 * can operate as a full duplex (both Tx and Rx data paths
260 * can operate as a full duplex (both Tx and Rx data paths
/linux/arch/arm/boot/dts/mediatek/
H A Dmt7623a.dtsi26 full-duplex;
37 full-duplex;
101 full-duplex;
114 full-duplex;
/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dvsc8211.c57 VSC_INTR_DPLX_CHG = 1 << 12, /* duplex change */
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()

12345678910>>...34