Searched refs:duplex (Results 1 - 25 of 470) sorted by relevance

1234567891011>>

/linux-master/include/linux/
H A Dpxa168_eth.h15 * If speed is 0, then speed and duplex are autonegotiated.
18 int duplex; /* DUPLEX_HALF or DUPLEX_FULL */ member in struct:pxa168_eth_platform_data
H A Dmv643xx_eth.h59 * Valid values for duplex: DUPLEX_HALF, DUPLEX_FULL.
62 int duplex; member in struct:mv643xx_eth_platform_data
H A Dphylink.h108 * @duplex: link duplex mode, one of DUPLEX_* constants.
111 * constants. If rate matching is taking place, then the speed/duplex of
112 * the medium link mode (@speed and @duplex) and the speed/duplex of the phy
122 int duplex; member in struct:phylink_link_state
146 * @mac_capabilities: MAC pause/speed/duplex capabilities.
189 phy_interface_t interface, int speed, int duplex,
202 * driver (e.g. not supporting half-duplex in certain interface modes.)
259 * e.g. interface mode. It will not be called for changes in speed, duplex
[all...]
/linux-master/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");
64 int duplex; member in struct:snd_seq_dummy_port
85 if (p->duplex)
117 rec->duplex
[all...]
/linux-master/drivers/net/phy/
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 in typeref:struct:swmii_regs
130 duplex_index = state->duplex ? SWMII_DUPLEX_FULL : SWMII_DUPLEX_HALF;
132 bmsr |= speed[speed_index].bmsr & duplex[duplex_index].bmsr;
133 estat |= speed[speed_index].estat & duplex[duplex_index].estat;
138 lpa |= speed[speed_index].lpa & duplex[duplex_index].lpa;
139 lpagb |= speed[speed_index].lpagb & duplex[duplex_index].lpagb;
H A DuPD60620.c57 phydev->duplex = DUPLEX_HALF;
62 phydev->duplex = DUPLEX_FULL;
H A Dax88796b.c72 phydev->duplex = DUPLEX_FULL;
74 phydev->duplex = DUPLEX_HALF;
H A Dphylink.c270 * Set all possible pause, speed and duplex linkmodes in @linkmodes that are
421 unsigned int duplex; member in struct:__anon812
461 * phylink_cap_from_speed_duplex - Get mac capability from speed/duplex
463 * @duplex: the duplex to search for
465 * Find the mac capability for a given speed and duplex.
467 * Return: A mask with the mac capability patching @speed and @duplex, or 0 if
471 unsigned int duplex)
477 duplex == phylink_caps_params[i].duplex)
470 phylink_cap_from_speed_duplex(int speed, unsigned int duplex) argument
1025 phylink_pcs_link_up(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, int speed, int duplex) argument
1373 int speed, duplex; local
[all...]
/linux-master/net/ethtool/
H A Dcommon.h11 /* compose link mode index from speed, type and duplex */
12 #define ETHTOOL_LINK_MODE(speed, type, duplex) \
13 ETHTOOL_LINK_MODE_ ## speed ## base ## type ## _ ## duplex ## _BIT
20 u8 duplex; member in struct:link_mode_info
/linux-master/drivers/net/ethernet/marvell/prestera/
H A Dprestera_ethtool.c25 u8 duplex; member in struct:prestera_link_mode
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
474 u8 duplex; local
587 prestera_port_link_mode_set(struct prestera_port *port, u32 speed, u8 duplex, u8 type) argument
635 u8 duplex = DUPLEX_UNKNOWN; local
[all...]
/linux-master/drivers/net/
H A Dmii.c108 ecmd->duplex = !!(nego & ADVERTISED_1000baseT_Full);
112 ecmd->duplex = !!(nego & ADVERTISED_100baseT_Full);
115 ecmd->duplex = !!(nego & ADVERTISED_10baseT_Full);
126 ecmd->duplex = (bmcr & BMCR_FULLDPLX) ? DUPLEX_FULL : DUPLEX_HALF;
129 mii->full_duplex = ecmd->duplex;
193 cmd->base.duplex = !!(nego & ADVERTISED_1000baseT_Full);
197 cmd->base.duplex = !!(nego & ADVERTISED_100baseT_Full);
200 cmd->base.duplex = !!(nego & ADVERTISED_10baseT_Full);
210 cmd->base.duplex = (bmcr & BMCR_FULLDPLX) ?
216 mii->full_duplex = cmd->base.duplex;
507 int advertise, lpa, media, duplex; local
[all...]
/linux-master/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_phylink.c49 int speed, int duplex,
57 conf.duplex = duplex;
62 /* Configure the port to speed/duplex/pause */
90 state->duplex = status.duplex;
45 sparx5_phylink_mac_link_up(struct phylink_config *config, struct phy_device *phy, unsigned int mode, phy_interface_t interface, int speed, int duplex, bool tx_pause, bool rx_pause) argument
/linux-master/drivers/net/pcs/
H A Dpcs-lynx.c80 state->duplex = DUPLEX_FULL;
111 phy_duplex_to_str(state->duplex),
212 int speed, int duplex)
222 if (duplex == DUPLEX_HALF)
267 int speed, int duplex)
276 if (duplex == DUPLEX_HALF)
287 int speed, int duplex)
294 lynx_pcs_link_up_sgmii(lynx->mdio, neg_mode, speed, duplex);
297 lynx_pcs_link_up_2500basex(lynx->mdio, neg_mode, speed, duplex);
210 lynx_pcs_link_up_sgmii(struct mdio_device *pcs, unsigned int neg_mode, int speed, int duplex) argument
265 lynx_pcs_link_up_2500basex(struct mdio_device *pcs, unsigned int neg_mode, int speed, int duplex) argument
285 lynx_pcs_link_up(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, int speed, int duplex) argument
H A Dpcs-xpcs.c591 state->duplex = DUPLEX_FULL;
697 * speed/duplex mode change by HW after SGMII AN complete)
997 state->duplex = DUPLEX_UNKNOWN;
1001 * status, speed and duplex.
1022 state->duplex = DUPLEX_FULL;
1024 state->duplex = DUPLEX_HALF;
1026 int speed, duplex; local
1042 duplex = xpcs_read(xpcs, MDIO_MMD_VEND2, MII_ADVERTISE);
1043 if (duplex < 0)
1044 return duplex;
1163 xpcs_link_up_sgmii(struct dw_xpcs *xpcs, unsigned int neg_mode, int speed, int duplex) argument
1177 xpcs_link_up_1000basex(struct dw_xpcs *xpcs, unsigned int neg_mode, int speed, int duplex) argument
1206 xpcs_link_up(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, int speed, int duplex) argument
[all...]
/linux-master/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_phylink.c50 int speed, int duplex,
56 port_config->duplex = duplex;
46 lan966x_phylink_mac_link_up(struct phylink_config *config, struct phy_device *phy, unsigned int mode, phy_interface_t interface, int speed, int duplex, bool tx_pause, bool rx_pause) argument
/linux-master/drivers/net/ethernet/ibm/emac/
H A Dphy.h61 /* forced speed & duplex (no autoneg)
62 * partner speed & duplex & pause (autoneg)
65 int duplex; member in struct:mii_phy
H A Dphy.c116 phy->duplex = DUPLEX_HALF;
175 phy->duplex = fd;
186 /* Select speed & duplex */
240 phy->duplex = DUPLEX_HALF;
246 phy->duplex = DUPLEX_FULL;
250 phy->duplex = DUPLEX_FULL;
252 phy->duplex = DUPLEX_FULL;
254 if (phy->duplex == DUPLEX_FULL) {
264 phy->duplex = DUPLEX_FULL;
266 phy->duplex
[all...]
/linux-master/drivers/net/ethernet/intel/igc/
H A Digc_mac.h25 u16 *duplex);
/linux-master/include/linux/pcs/
H A Dpcs-xpcs.h41 phy_interface_t interface, int speed, int duplex);
/linux-master/drivers/net/ethernet/chelsio/cxgb3/
H A Dvsc8211.c57 VSC_INTR_DPLX_CHG = 1 << 12, /* duplex change */
131 int *speed, int *duplex, int *fc)
199 if (duplex)
200 *duplex = dplx;
207 int *speed, int *duplex, int *fc)
267 if (duplex)
268 *duplex = dplx;
305 int vsc8211_set_speed_duplex(struct cphy *phy, int speed, int duplex) argument
309 err = t3_set_phy_speed_duplex(phy, speed, duplex);
130 vsc8211_get_link_status(struct cphy *cphy, int *link_ok, int *speed, int *duplex, int *fc) argument
206 vsc8211_get_link_status_fiber(struct cphy *cphy, int *link_ok, int *speed, int *duplex, int *fc) argument
/linux-master/drivers/net/ethernet/chelsio/cxgb/
H A Dgmac.h104 int (*set_speed_duplex_fc)(struct cmac *, int speed, int duplex, int fc);
105 int (*get_speed_duplex_fc)(struct cmac *, int *speed, int *duplex,
H A Dmv88x201x.c163 int *speed, int *duplex, int *fc)
177 if (duplex)
178 *duplex = DUPLEX_FULL;
162 mv88x201x_get_link_status(struct cphy *cphy, int *link_ok, int *speed, int *duplex, int *fc) argument
/linux-master/drivers/net/ethernet/intel/e1000e/
H A Dmac.h20 u16 *duplex);
22 u16 *speed, u16 *duplex);
/linux-master/drivers/net/ethernet/ibm/ehea/
H A Dehea_ethtool.c51 cmd->base.duplex = port->full_duplex == 1 ?
55 cmd->base.duplex = DUPLEX_UNKNOWN;
98 if (cmd->base.duplex == DUPLEX_FULL)
105 if (cmd->base.duplex == DUPLEX_FULL)
112 if (cmd->base.duplex == DUPLEX_FULL)
119 if (cmd->base.duplex == DUPLEX_FULL)
/linux-master/drivers/net/ethernet/atheros/alx/
H A Dhw.h484 u8 duplex; member in struct:alx_hw
569 static inline u32 alx_speed_to_ethadv(int speed, u8 duplex) argument
571 if (speed == SPEED_1000 && duplex == DUPLEX_FULL)
573 if (speed == SPEED_100 && duplex == DUPLEX_FULL)
575 if (speed == SPEED_100 && duplex== DUPLEX_HALF)
577 if (speed == SPEED_10 && duplex == DUPLEX_FULL)
579 if (speed == SPEED_10 && duplex == DUPLEX_HALF)

Completed in 303 milliseconds

1234567891011>>