Home
last modified time | relevance | path

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

12345678910>>...18

/linux/sound/core/seq/
H A Dseq_dummy.c40 The model option "duplex=1" enables duplex operation to the port.
41 In duplex mode, a pair of ports are created instead of single port,
44 In duplex mode, each port has DUPLEX capability.
55 static bool duplex; variable
59 module_param(duplex, bool, 0444);
60 MODULE_PARM_DESC(duplex, "create DUPLEX ports");
71 int duplex; member
94 if (p->duplex) in dummy_input()
126 rec->duplex in create_port()
[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 …]
/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.c309 unsigned int duplex; member
413 unsigned int duplex) in phylink_cap_from_speed_duplex() argument
419 duplex == phylink_caps_params[i].duplex) in phylink_cap_from_speed_duplex()
675 pl->link_config.duplex = DUPLEX_HALF; in phylink_parse_fixedlink()
678 pl->link_config.duplex = DUPLEX_FULL; in phylink_parse_fixedlink()
719 pl->link_config.duplex = prop[1] ? in phylink_parse_fixedlink()
732 pl->link_config.duplex != DUPLEX_FULL) in phylink_parse_fixedlink()
742 c = phy_caps_lookup(pl->link_config.speed, pl->link_config.duplex, in phylink_parse_fixedlink()
760 pl->link_config.duplex == DUPLEX_FULL ? "full" : "half", in phylink_parse_fixedlink()
870 if (state->duplex == DUPLEX_FULL) { in phylink_resolve_an_pause()
[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
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/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()
H A Dael1002.c177 int *duplex, int *fc) in get_link_status_r() argument
196 if (duplex) in get_link_status_r()
197 *duplex = DUPLEX_FULL; in get_link_status_r()
830 int *duplex, int *fc) in get_link_status_x() argument
849 if (duplex) in get_link_status_x()
850 *duplex = DUPLEX_FULL; in get_link_status_x()
891 int *speed, int *duplex, int *fc) in xaui_direct_get_link_status() argument
909 if (duplex) in xaui_direct_get_link_status()
910 *duplex = DUPLEX_FULL; in xaui_direct_get_link_status()
H A Daq100x.c201 static int aq100x_set_speed_duplex(struct cphy *phy, int speed, int duplex) in aq100x_set_speed_duplex() argument
208 int *speed, int *duplex, int *fc) in aq100x_get_link_status() argument
244 if (duplex) in aq100x_get_link_status()
245 *duplex = v & 1 ? DUPLEX_FULL : DUPLEX_HALF; in aq100x_get_link_status()
/linux/drivers/net/ethernet/wangxun/txgbe/
H A Dtxgbe_aml.c124 static int txgbe_set_phy_link_hostif(struct wx *wx, int speed, int autoneg, int duplex) in txgbe_set_phy_link_hostif() argument
150 buffer.duplex = duplex; in txgbe_set_phy_link_hostif()
157 int *autoneg, int *duplex) in txgbe_get_link_capabilities() argument
171 *duplex = *speed == SPEED_UNKNOWN ? DUPLEX_HALF : DUPLEX_FULL; in txgbe_get_link_capabilities()
193 int speed, autoneg, duplex, err; in txgbe_set_phy_link() local
195 txgbe_get_link_capabilities(wx, &speed, &autoneg, &duplex); in txgbe_set_phy_link()
197 err = txgbe_set_phy_link_hostif(wx, speed, autoneg, duplex); in txgbe_set_phy_link()
390 state->duplex = state->link ? DUPLEX_FULL : DUPLEX_UNKNOWN; in txgbe_get_link_state()
416 int speed, int duplex, in txgbe_mac_link_up_aml() argument
503 state.duplex = DUPLEX_FULL; in txgbe_phylink_init_aml()
[all …]
/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()
/linux/arch/arm/boot/dts/mediatek/
H A Dmt7623a.dtsi26 full-duplex;
37 full-duplex;
101 full-duplex;
114 full-duplex;
/linux/tools/testing/selftests/drivers/net/hw/lib/py/
H A Dlinkconfig.py
/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()
/linux/arch/arm/boot/dts/broadcom/
H A Dbcm958625-meraki-alamo.dtsi124 full-duplex;
202 full-duplex;
262 full-duplex;
271 full-duplex;
280 full-duplex;
/linux/arch/arm64/boot/dts/mediatek/
H A Dmt7986b-rfb.dts43 full-duplex;
55 full-duplex;
105 full-duplex;
118 full-duplex;
/linux/drivers/net/ethernet/atheros/atl1c/
H A Datl1c_ethtool.c41 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 Dmv88e1xxx.c125 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()
H A Dmv88x201x.c163 int *speed, int *duplex, int *fc) in mv88x201x_get_link_status() argument
177 if (duplex) in mv88x201x_get_link_status()
178 *duplex = DUPLEX_FULL; in mv88x201x_get_link_status()
/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/drivers/net/pcs/
H A Dpcs-lynx.c110 phy_duplex_to_str(state->duplex), in lynx_pcs_get_state()
209 int speed, int duplex) in lynx_pcs_link_up_sgmii() argument
219 if (duplex == DUPLEX_HALF) in lynx_pcs_link_up_sgmii()
248 int speed, int duplex) in lynx_pcs_link_up() argument
255 lynx_pcs_link_up_sgmii(lynx->mdio, neg_mode, speed, duplex); in lynx_pcs_link_up()
/linux/arch/mips/boot/dts/cavium-octeon/
H A Ddlink_dsr-500n-1000n.dtsi24 full-duplex;
30 full-duplex;
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_mdio.c180 int duplex, speed; in hclge_mac_adjust_link() local
188 duplex = netdev->phydev->duplex; in hclge_mac_adjust_link()
190 ret = hclge_cfg_mac_speed_dup(hdev, speed, duplex, 0); in hclge_mac_adjust_link()
195 hdev->hw.mac.req_duplex = (u8)duplex; in hclge_mac_adjust_link()
/linux/include/linux/
H A Dphylink.h125 int duplex; member
219 phy_interface_t interface, int speed, int duplex,
428 int speed, int duplex, bool tx_pause, bool rx_pause);
541 phy_interface_t interface, int speed, int duplex);
675 phy_interface_t interface, int speed, int duplex);
/linux/arch/arm/boot/dts/marvell/
H A Dkirkwood-l-50.dts253 full-duplex;
263 full-duplex;
306 full-duplex;
315 full-duplex;
333 duplex = <1>;
H A Darmada-388-clearfog.dts55 full-duplex;
138 full-duplex;
150 full-duplex;

12345678910>>...18