Home
last modified time | relevance | path

Searched refs:dplx (Results 1 – 8 of 8) sorted by relevance

/drivers/net/ethernet/chelsio/cxgb3/
Dvsc8211.c134 int err, sp = -1, dplx = -1, pause = 0; in vsc8211_get_link_status() local
155 dplx = (bmcr & BMCR_FULLDPLX) ? DUPLEX_FULL : DUPLEX_HALF; in vsc8211_get_link_status()
168 dplx = (status & F_ACSR_DUPLEX) ? DUPLEX_FULL : DUPLEX_HALF; in vsc8211_get_link_status()
177 if (fc && dplx == DUPLEX_FULL) { in vsc8211_get_link_status()
200 *duplex = dplx; in vsc8211_get_link_status()
210 int err, sp = -1, dplx = -1, pause = 0; in vsc8211_get_link_status_fiber() local
231 dplx = (bmcr & BMCR_FULLDPLX) ? DUPLEX_FULL : DUPLEX_HALF; in vsc8211_get_link_status_fiber()
247 dplx = DUPLEX_FULL; in vsc8211_get_link_status_fiber()
250 dplx = DUPLEX_HALF; in vsc8211_get_link_status_fiber()
254 if (fc && dplx == DUPLEX_FULL) { in vsc8211_get_link_status_fiber()
[all …]
/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_param.c285 int speed, dplx; in pch_gbe_check_copper_options() local
308 dplx = Duplex; in pch_gbe_check_copper_options()
309 pch_gbe_validate_option(&dplx, &opt, adapter); in pch_gbe_check_copper_options()
321 if (speed || dplx) { in pch_gbe_check_copper_options()
333 switch (speed + dplx) { in pch_gbe_check_copper_options()
336 if ((speed || dplx)) in pch_gbe_check_copper_options()
/drivers/net/ethernet/intel/e1000/
De1000_param.c565 unsigned int speed, dplx, an; in e1000_check_copper_options() local
607 dplx = Duplex[bd]; in e1000_check_copper_options()
608 e1000_validate_option(&dplx, &opt, adapter); in e1000_check_copper_options()
610 dplx = opt.def; in e1000_check_copper_options()
614 if ((num_AutoNeg > bd) && (speed != 0 || dplx != 0)) { in e1000_check_copper_options()
671 switch (speed + dplx) { in e1000_check_copper_options()
674 if ((num_Speed > bd) && (speed != 0 || dplx != 0)) in e1000_check_copper_options()
De1000.h366 int e1000_set_spd_dplx(struct e1000_adapter *adapter, u32 spd, u8 dplx);
De1000_main.c5030 int e1000_set_spd_dplx(struct e1000_adapter *adapter, u32 spd, u8 dplx) in e1000_set_spd_dplx() argument
5039 if ((spd & 1) || (dplx & ~1)) in e1000_set_spd_dplx()
5045 dplx != DUPLEX_FULL) in e1000_set_spd_dplx()
5048 switch (spd + dplx) { in e1000_set_spd_dplx()
/drivers/net/ethernet/chelsio/cxgb/
Dmv88e1xxx.c244 int sp = -1, dplx = -1, pause = 0; in mv88e1xxx_get_link_status() local
253 dplx = (status & V_PSSR_DUPLEX) ? DUPLEX_FULL : DUPLEX_HALF; in mv88e1xxx_get_link_status()
267 *duplex = dplx; in mv88e1xxx_get_link_status()
/drivers/net/ethernet/intel/e1000e/
Dethtool.c207 static int e1000_set_spd_dplx(struct e1000_adapter *adapter, u32 spd, u8 dplx) in e1000_set_spd_dplx() argument
216 if ((spd & 1) || (dplx & ~1)) in e1000_set_spd_dplx()
221 (spd != SPEED_1000) && (dplx != DUPLEX_FULL)) { in e1000_set_spd_dplx()
225 switch (spd + dplx) { in e1000_set_spd_dplx()
/drivers/net/ethernet/intel/igb/
Digb_main.c7275 int igb_set_spd_dplx(struct igb_adapter *adapter, u32 spd, u8 dplx) in igb_set_spd_dplx() argument
7285 if ((spd & 1) || (dplx & ~1)) in igb_set_spd_dplx()
7292 switch (spd + dplx) { in igb_set_spd_dplx()
7302 switch (spd + dplx) { in igb_set_spd_dplx()