/freebsd-11-stable/sys/dev/e1000/ |
H A D | e1000_82575.c | 58 u16 *duplex); 84 u16 *speed, u16 *duplex); 1161 * e1000_get_link_up_info_82575 - Get link speed/duplex info 1164 * @duplex: stores the current duplex 1167 * interface, use PCS to retrieve the link speed and duplex information. 1168 * Otherwise, use the generic function to get the link speed and duplex info. 1171 u16 *duplex) 1179 duplex); 1182 duplex); 1170 e1000_get_link_up_info_82575(struct e1000_hw *hw, u16 *speed, u16 *duplex) argument 1197 u16 speed, duplex; local 1327 e1000_get_pcs_speed_and_duplex_82575(struct e1000_hw *hw, u16 *speed, u16 *duplex) argument [all...] |
H A D | e1000_api.h | 69 s32 e1000_get_speed_and_duplex(struct e1000_hw *hw, u16 *speed, u16 *duplex);
|
H A D | e1000_api.c | 691 * e1000_get_speed_and_duplex - Returns current speed and duplex 694 * @duplex: pointer to a 16-bit value to store the duplex. 696 * This returns the speed and duplex of the adapter in the two 'out' 700 s32 e1000_get_speed_and_duplex(struct e1000_hw *hw, u16 *speed, u16 *duplex) argument 703 return hw->mac.ops.get_link_up_info(hw, speed, duplex);
|
H A D | e1000_82543.c | 734 * e1000_phy_force_speed_duplex_82543 - Force speed/duplex for PHY 737 * Calls the function to force speed and duplex for the m88 PHY, and 1056 * Configures the link for auto-neg or forced speed and duplex. Then we check 1070 * With 82543, we need to force speed and duplex on the MAC 1071 * equal to what the PHY speed and duplex configuration is. 1202 u16 speed, duplex; local 1224 * If we are forcing speed/duplex, then we can return since 1229 * If speed and duplex are forced to 10H or 10F, then we will 1251 * Speed Detection takes care of MAC speed/duplex 1254 * speed/duplex o [all...] |
H A D | e1000_ich8lan.c | 112 u16 *speed, u16 *duplex); 898 * Enable/disable EEE based on setting in dev_spec structure, the duplex of 967 * partner's EEE in 100 ability if full-duplex 1128 u16 speed, duplex, scale = 0; local 1140 hw->mac.ops.get_link_up_info(hw, &speed, &duplex); 1542 * to get the current speed/duplex if link exists. 1563 * link. If so, then we want to get the current speed/duplex 1576 /* When connected at 10Mbps half-duplex, some parts are excessively 1581 u16 speed, duplex; local 1583 e1000_get_speed_and_duplex_copper_generic(hw, &speed, &duplex); 5419 e1000_get_link_up_info_ich8lan(struct e1000_hw *hw, u16 *speed, u16 *duplex) argument [all...] |
/freebsd-11-stable/sys/dev/liquidio/base/ |
H A D | lio_common.h | 197 /* command for setting the speed, duplex & autoneg */ 598 uint64_t duplex:8; member in struct:octeon_link_status::__anon6682 618 uint64_t duplex:8;
|
/freebsd-11-stable/sys/contrib/octeon-sdk/ |
H A D | cvmx-spi4000.c | 306 // Step 8: Set desired duplex mode 307 // Desired duplex register. address=port_index+0x02 378 /* Advertise pause and 100 Full Duplex. Don't advertise half duplex or 10Mbpa */ 415 17.13 Duplex 1 = Full-duplex RO 0 Retain note 416 0 = Half-duplex 17.a 486 link.s.duplex = ((read_status & (1<<13)) != 0);
|
H A D | cvmx-helper-sgmii.c | 308 /* Only change the duplex setting if the link is up */ 310 gmxx_prtx_cfg.s.duplex = link_info.s.full_duplex; 337 if (gmxx_prtx_cfg.s.duplex) 338 cvmx_write_csr(CVMX_GMXX_TXX_BURST(index, interface), 0); // full duplex 340 cvmx_write_csr(CVMX_GMXX_TXX_BURST(index, interface), 8192); // half duplex 576 /* The simulator gives you a simulated 1Gbps full duplex link */ 604 /* Force 1Gbps full duplex link for internal loopback */
|
H A D | cvmx-mdio.h | 85 uint16_t duplex : 1; member in struct:__anon8604::__anon8605
|
H A D | cvmx-mgmt-port.c | 483 /* Configure the port duplex and enables */ 729 /* Check to see if we need to change the duplex. */ 952 /* Set duplex mode */ 954 agl_gmx_prtx.s.duplex = 1; /* Force full duplex on down links */ 956 agl_gmx_prtx.s.duplex = link_info.s.full_duplex; 986 agl_gmx_prtx.s.slottime = 1; /* Only matters for half-duplex */ 987 agl_gmx_prtx.s.burst = agl_gmx_prtx.s.duplex;
|
H A D | cvmx-helper-board.c | 766 result.s.full_duplex = inband_status.s.duplex; 935 /* The simulator gives you a simulated 1Gbps full duplex link */ 1011 /* The simulator gives you a simulated 1Gbps full duplex link */ 1113 /* Since we don't auto-negotiate... 1Gbps full duplex link */ 1202 * speed, duplex, and autonegotiation. This programs the PHY and 1308 reg_control.s.duplex = link_info.s.full_duplex;
|
H A D | cvmx-agl-defs.h | 1468 Only valid for 1000Mbs half-duplex operation 1482 uint64_t duplex : 1; /**< Duplex member in struct:cvmx_agl_gmx_prtx_cfg::cvmx_agl_gmx_prtx_cfg_s 1501 uint64_t duplex : 1; 1528 uint64_t duplex : 1; /**< Duplex member in struct:cvmx_agl_gmx_prtx_cfg::cvmx_agl_gmx_prtx_cfg_cn52xx 1545 uint64_t duplex : 1; 2429 * (3) in half duplex operation, the expectation is that collisions will appear 2448 * (9) Collisions - Collisions can only occur in half-duplex mode. A collision 2688 uint64_t duplex : 1; /**< RGMII Inbound LinkDuplex | NS member in struct:cvmx_agl_gmx_rxx_rx_inbnd::cvmx_agl_gmx_rxx_rx_inbnd_s 2689 0=half-duplex 2690 1=full-duplex */ [all...] |
/freebsd-11-stable/sys/mips/cavium/octe/ |
H A D | ethernet-tx.c | 100 68 bytes whenever we are in half duplex mode. We don't handle 109 /* We only need to pad packet in half duplex mode */ 111 if (gmx_prt_cfg.s.duplex == 0) {
|
/freebsd-11-stable/sys/dev/cxgb/common/ |
H A D | cxgb_ael1002.c | 287 int *duplex, int *fc) 312 if (duplex) 313 *duplex = DUPLEX_FULL; 2164 int *duplex, int *fc) 2183 if (duplex) 2184 *duplex = DUPLEX_FULL; 2241 int *speed, int *duplex, int *fc) 2259 if (duplex) 2260 *duplex = DUPLEX_FULL; 286 get_link_status_r(struct cphy *phy, int *link_state, int *speed, int *duplex, int *fc) argument 2163 get_link_status_x(struct cphy *phy, int *link_state, int *speed, int *duplex, int *fc) argument 2240 xaui_direct_get_link_status(struct cphy *phy, int *link_state, int *speed, int *duplex, int *fc) argument
|
H A D | cxgb_xgmac.c | 548 * t3_mac_set_speed_duplex_fc - set MAC speed, duplex and flow control 551 * @duplex: the desired duplex 554 * Set the MAC speed, duplex (actually only full-duplex is supported), and 558 int t3_mac_set_speed_duplex_fc(struct cmac *mac, int speed, int duplex, int fc) argument 565 if (duplex >= 0 && duplex != DUPLEX_FULL)
|
/freebsd-11-stable/sys/dev/bxe/ |
H A D | bxe_elink.c | 328 bit15=link,bit12=duplex,bits11:10=speed,bit14=acknowledge. 2378 if (vars->duplex == DUPLEX_HALF) 5545 vars->duplex = DUPLEX_FULL; 5549 vars->duplex = DUPLEX_HALF; 5556 vars->duplex = DUPLEX_HALF; 5564 vars->duplex = DUPLEX_HALF; 5571 vars->duplex = DUPLEX_HALF; 5627 vars->duplex = DUPLEX_FULL; 5702 ELINK_DEBUG_P3(sc, "line_speed %x duplex %x flow_ctrl 0x%x\n", 5703 vars->line_speed, vars->duplex, var 6461 uint16_t gp_status, duplex = DUPLEX_HALF, link_up = 0, speed_mask; local 6543 uint16_t gp_status1, gp_speed, link_up, duplex = DUPLEX_FULL; local [all...] |
H A D | bxe_elink.h | 338 duplex, flow control negotiation, etc. */ 491 uint16_t duplex; member in struct:elink_vars
|
/freebsd-11-stable/sys/dev/bnxt/ |
H A D | if_bnxt.c | 1250 if (link_info->duplex == HWRM_PORT_PHY_QCFG_OUTPUT_DUPLEX_CFG_FULL) 2192 const char *duplex = NULL, *flow_ctrl = NULL; local 2197 if ((link_info->duplex == link_info->last_duplex) && 2203 if (link_info->duplex == 2205 duplex = "full duplex"; 2207 duplex = "half duplex"; 2218 device_printf(softc->dev, "Link is UP %s, %s - %d Mbps \n", duplex, 2227 link_info->last_duplex = link_info->duplex; [all...] |
H A D | bnxt.h | 322 uint8_t duplex; member in struct:bnxt_link_info
|
/freebsd-11-stable/sys/dev/etherswitch/arswitch/ |
H A D | arswitch_8327.c | 249 * the chipset port config (status, duplex, flow, etc.) 260 t |= cfg->duplex ? AR8X16_PORT_STS_DUPLEX : 0; 323 "%s: invalid port %d duplex value (%d)\n", 331 snprintf(sbuf, 128, "port.%d.duplex", port); 335 pcfg->duplex = val; 351 "%s: port %d: speed=%d, duplex=%d, txpause=%d, rxpause=%d\n", 355 pcfg->duplex,
|
/freebsd-11-stable/sys/mips/atheros/ |
H A D | if_arge.c | 784 * Get default/hard-coded media & duplex mode. 1197 uint32_t media, duplex; local 1209 * use a static speed/duplex between the SoC and switch, 1213 ARGEDEBUG(sc, ARGE_DBG_MII, "%s: fixed; media=%d, duplex=%d\n", 1230 duplex = mii->mii_media_active & IFM_GMASK; 1231 ARGEDEBUG(sc, ARGE_DBG_MII, "%s: media=%d, duplex=%d\n", 1234 duplex); 1235 arge_set_pll(sc, media, duplex); 1243 arge_set_pll(struct arge_softc *sc, int media, int duplex) argument 1256 duplex [all...] |
/freebsd-11-stable/sys/dev/vnic/ |
H A D | nicvf_main.c | 800 if (nic->duplex) 945 nic->duplex = 0; 965 nic->duplex = mbx.link_status.duplex;
|
/freebsd-11-stable/sys/dev/qlnx/qlnxe/ |
H A D | qlnx_ioctl.c | 583 dev_info->duplex = if_link.duplex;
|
H A D | qlnx_def.h | 284 uint32_t duplex; member in struct:qlnx_link_output
|
/freebsd-11-stable/sys/dev/cxgb/ |
H A D | cxgb_adapter.h | 507 int speed, int duplex, int fc, int mac_was_reset);
|