Searched refs:duplex (Results 126 - 150 of 470) sorted by relevance

1234567891011>>

/linux-master/drivers/staging/octeon/
H A Dethernet-mdio.c69 pr_notice_ratelimited("%s: %u Mbps %s duplex, port %d, queue %d\n",
86 link_info.s.full_duplex = dev->phydev->duplex ? 1 : 0;
/linux-master/drivers/net/ethernet/sfc/falcon/
H A Dmdio_10g.c250 cmd->base.duplex == prev.base.duplex &&
/linux-master/drivers/net/ethernet/apm/xgene/
H A Dxgene_enet_ethtool.c143 cmd->base.duplex = DUPLEX_FULL;
156 cmd->base.duplex = DUPLEX_FULL;
/linux-master/drivers/net/bonding/
H A Dbond_procfs.c202 if (slave->duplex == DUPLEX_UNKNOWN)
205 seq_printf(seq, "Duplex: %s\n", slave->duplex ? "full" : "half");
/linux-master/drivers/net/phy/
H A Dfixed_phy.c267 phy->duplex = status->duplex;
H A Dmotorcomm.c1167 * yt8521_adjust_status() - update speed and duplex to phydev. when in fiber
1168 * mode, adjust speed and duplex.
1180 int speed_mode, duplex; local
1186 duplex = (status & YTPHY_SSR_DUPLEX) >> YTPHY_SSR_DUPLEX_OFFSET;
1188 duplex = DUPLEX_FULL; /* for fiber, it always DUPLEX_FULL */
1215 phydev->duplex = duplex;
1248 * yt8521_read_status_paged() - determines the speed and duplex of one page
1265 phydev->duplex = DUPLEX_UNKNOWN;
1282 /* Read YTPHY_SPECIFIC_STATUS_REG, which indicates the speed and duplex
[all...]
/linux-master/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
492 * @fd_bit: full duplex bit
530 * Resolve full duplex flow control as per IEEE 802.3-2005 table 28B-3
549 * mii_bmcr_encode_fixed - encode fixed speed/duplex settings to a BMCR value
551 * @duplex: a DUPLEX_* value
553 * Encode the speed and duplex to a BMCR value. 2500, 1000, 100 and 10 Mbps are
555 * Mbps. Unknown duplex values are encoded to half-duplex
557 mii_bmcr_encode_fixed(int speed, int duplex) argument
[all...]
/linux-master/drivers/net/ethernet/marvell/prestera/
H A Dprestera_hw.h162 u32 *mode, u32 *speed, u8 *duplex, u8 *fec);
165 u32 speed, u8 duplex, u8 fec);
/linux-master/drivers/net/dsa/mv88e6xxx/
H A Dpcs-6352.c235 int duplex)
244 bmcr = mii_bmcr_encode_fixed(speed, duplex);
233 marvell_c22_pcs_link_up(struct phylink_pcs *pcs, unsigned int mode, phy_interface_t interface, int speed, int duplex) argument
/linux-master/drivers/net/usb/
H A Dax88172a.c39 if (phydev->duplex == DUPLEX_HALF)
49 netdev_dbg(netdev, "speed %u duplex %d, setting mode to 0x%04x\n",
50 phydev->speed, phydev->duplex, mode);
/linux-master/drivers/net/ethernet/marvell/octeon_ep_vf/
H A Doctep_vf_ethtool.c253 cmd->base.duplex = DUPLEX_FULL;
256 cmd->base.duplex = DUPLEX_UNKNOWN;
/linux-master/drivers/net/mdio/
H A Dof_mdio.c433 status.duplex = of_property_read_bool(fixed_link_node,
434 "full-duplex");
452 status.duplex = fixed_link_prop[1];
/linux-master/drivers/net/ethernet/chelsio/cxgb3/
H A Dt3_hw.c442 * t3_set_phy_speed_duplex - force PHY speed and duplex
445 * @duplex: requested PHY duplex
447 * Force a 10/100/1000 PHY's speed and duplex. This also disables
450 int t3_set_phy_speed_duplex(struct cphy *phy, int speed, int duplex) argument
466 if (duplex >= 0) {
468 if (duplex == DUPLEX_FULL)
1177 int link_ok, speed, duplex, fc; local
1183 phy->ops->get_link_status(phy, &link_ok, &speed, &duplex, &fc);
1208 duplex
1238 int link_ok, speed, duplex, fc, link_fault; local
[all...]
/linux-master/drivers/net/ethernet/chelsio/cxgb/
H A Dpm3393.c389 int *duplex, int *fc)
393 if (duplex)
394 *duplex = DUPLEX_FULL;
400 static int pm3393_set_speed_duplex_fc(struct cmac *cmac, int speed, int duplex, argument
405 if (duplex >= 0 && duplex != DUPLEX_FULL)
388 pm3393_get_speed_duplex_fc(struct cmac *cmac, int *speed, int *duplex, int *fc) argument
/linux-master/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_ethtool.c107 cmd->base.duplex = adapter->link_duplex;
125 cmd->base.duplex = adapter->link_duplex;
140 cmd->base.duplex = DUPLEX_FULL;
234 cmd->base.duplex = DUPLEX_UNKNOWN;
260 ret = nx_fw_cmd_set_gbe_port(adapter, speed, cmd->base.duplex,
268 adapter->link_duplex = cmd->base.duplex;
/linux-master/drivers/net/ethernet/arc/
H A Demac_main.c40 * arc_emac_adjust_link - Adjust the PHY link duplex.
43 * This function is called to change the duplex setting after auto negotiation
64 if (priv->duplex != phy_dev->duplex) {
67 if (phy_dev->duplex == DUPLEX_FULL)
73 priv->duplex = phy_dev->duplex;
430 phy_dev->duplex = 0;
/linux-master/drivers/net/ethernet/8390/
H A Dax88796.c86 int duplex; member in struct:ax_device
343 (ax->duplex != phy_dev->duplex))) {
346 ax->duplex = phy_dev->duplex;
353 ax->duplex = -1;
/linux-master/drivers/net/ethernet/sgi/
H A Dmeth.c180 unsigned long duplex, speed; local
186 duplex = ((negotiated & 0x0100) || (negotiated & 0x01C0) == 0x0040) ?
189 if ((priv->mac_ctrl & METH_PHY_FDX) ^ duplex) {
190 DPRINTK("Setting %s-duplex\n", duplex ? "full" : "half");
191 if (duplex)
200 if (duplex)
291 /* Initial mode: 10 | Half-duplex | Accept normal packets */
297 /* Autonegotiate speed and duplex mode */
/linux-master/drivers/net/ethernet/intel/igb/
H A De1000_mac.c605 * to get the current speed/duplex if link exists.
624 * link. If so, then we want to get the current speed/duplex
641 /* If we are forcing speed/duplex, then we simply return since
650 * of MAC speed/duplex configuration. So we only need to
895 * speed and duplex were not forced. If the link needed to be forced, then
906 u16 speed, duplex; local
1075 ret_val = hw->mac.ops.get_speed_and_duplex(hw, &speed, &duplex);
1077 hw_dbg("Error getting link speed and duplex\n");
1081 if (duplex == HALF_DUPLEX)
1222 * igb_get_speed_and_duplex_copper - Retrieve current speed/duplex
1230 igb_get_speed_and_duplex_copper(struct e1000_hw *hw, u16 *speed, u16 *duplex) argument
[all...]
/linux-master/drivers/net/ethernet/hisilicon/hns/
H A Dhns_dsaf_gmac.c247 int duplex)
253 (mac_cb->half_duplex == duplex);
356 * in speed 100M and duplex half.
490 enum hns_gmac_duplex_mdoe duplex; local
509 hns_gmac_get_duplex_type(mac_drv, &duplex);
510 mac_info->duplex = duplex;
246 hns_gmac_need_adjust_link(void *mac_drv, enum mac_speed speed, int duplex) argument
/linux-master/drivers/net/ethernet/tundra/
H A Dtsi108_eth.c95 /* PHY status (duplex is 1 for half, 2 for full,
101 unsigned int duplex; member in struct:tsi108_prv_data
153 " link %d speed %d duplex %d\n",
156 data->link_up, data->speed, data->duplex);
275 u32 duplex; local
284 duplex = mii_check_media(&data->mii_if, netif_msg_link(data), data->init_media);
291 if ((speed != data->speed) || duplex) {
311 data->duplex = 2;
315 data->duplex = 1;
/linux-master/drivers/net/ethernet/natsemi/
H A Dnatsemi.c152 "DP8381x: Bits 0-3: media type, bit 17: full duplex");
153 MODULE_PARM_DESC(full_duplex, "DP8381x full duplex setting(s) (1)");
587 u8 duplex; /* Duplex, half or full */ member in struct:netdev_private
760 np->duplex = (tmp & BMCR_FULLDPLX)? DUPLEX_FULL : DUPLEX_HALF;
767 "10%s %s duplex.\n",
1167 if (np->duplex == DUPLEX_FULL)
1646 int duplex = np->duplex; local
1677 duplex = np->full_duplex;
1678 if (!duplex) {
[all...]
/linux-master/drivers/net/ethernet/atheros/atlx/
H A Datl1.c860 * Detects the current speed and duplex settings of the hardware.
863 * duplex - Duplex setting of the connection
865 static s32 atl1_get_speed_and_duplex(struct atl1_hw *hw, u16 *speed, u16 *duplex) argument
896 *duplex = FULL_DUPLEX;
898 *duplex = HALF_DUPLEX;
1248 /* duplex */
1283 u16 speed, duplex, phy_data; local
1302 ret_val = atl1_get_speed_and_duplex(hw, &speed, &duplex);
1308 if (speed != SPEED_1000 || duplex != FULL_DUPLEX)
1312 if (speed != SPEED_100 || duplex !
2763 u16 duplex; local
[all...]
/linux-master/drivers/net/ethernet/ti/
H A Dtlan.c55 /* Set speed, duplex and aui settings */
57 static int duplex[MAX_TLAN_BOARDS]; variable
61 module_param_array(duplex, int, NULL, 0);
64 MODULE_PARM_DESC(duplex,
65 "ThunderLAN duplex setting(s) (0-default, 1-half, 2-full)");
528 priv->duplex = ((dev->mem_start & 0x06) == 0x06) ? 0
542 priv->duplex = duplex[boards_found];
2204 } else if (priv->duplex == TLAN_DUPLEX_FULL) {
2600 priv->duplex
[all...]
/linux-master/drivers/net/hamradio/
H A D6pack.c114 unsigned char duplex; member in struct:sixpack
202 case 5: sp->duplex = p[1];
215 if (sp->duplex == 1) {
601 sp->duplex = 0;
874 if ((sp->status2 != 0) && (sp->duplex == 1)) {

Completed in 512 milliseconds

1234567891011>>