Searched refs:dplx (Results 1 – 10 of 10) sorted by relevance
/drivers/net/ethernet/chelsio/cxgb3/ |
D | vsc8211.c | 134 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/ |
D | pch_gbe_param.c | 274 int speed, dplx; in pch_gbe_check_copper_options() local 297 dplx = Duplex; in pch_gbe_check_copper_options() 298 pch_gbe_validate_option(&dplx, &opt, adapter); in pch_gbe_check_copper_options() 310 if (speed || dplx) { in pch_gbe_check_copper_options() 322 switch (speed + dplx) { in pch_gbe_check_copper_options() 325 if ((speed || dplx)) in pch_gbe_check_copper_options()
|
/drivers/net/ethernet/intel/e1000/ |
D | e1000_param.c | 540 unsigned int speed, dplx, an; in e1000_check_copper_options() local 582 dplx = Duplex[bd]; in e1000_check_copper_options() 583 e1000_validate_option(&dplx, &opt, adapter); in e1000_check_copper_options() 585 dplx = opt.def; in e1000_check_copper_options() 589 if ((num_AutoNeg > bd) && (speed != 0 || dplx != 0)) { in e1000_check_copper_options() 646 switch (speed + dplx) { in e1000_check_copper_options() 649 if ((num_Speed > bd) && (speed != 0 || dplx != 0)) in e1000_check_copper_options()
|
D | e1000.h | 340 int e1000_set_spd_dplx(struct e1000_adapter *adapter, u32 spd, u8 dplx);
|
D | e1000_main.c | 5009 int e1000_set_spd_dplx(struct e1000_adapter *adapter, u32 spd, u8 dplx) in e1000_set_spd_dplx() argument 5018 if ((spd & 1) || (dplx & ~1)) in e1000_set_spd_dplx() 5024 dplx != DUPLEX_FULL) in e1000_set_spd_dplx() 5027 switch (spd + dplx) { in e1000_set_spd_dplx()
|
/drivers/net/ethernet/chelsio/cxgb/ |
D | mv88e1xxx.c | 245 int sp = -1, dplx = -1, pause = 0; in mv88e1xxx_get_link_status() local 254 dplx = (status & V_PSSR_DUPLEX) ? DUPLEX_FULL : DUPLEX_HALF; in mv88e1xxx_get_link_status() 268 *duplex = dplx; in mv88e1xxx_get_link_status()
|
/drivers/net/ethernet/intel/e1000e/ |
D | ethtool.c | 203 static int e1000_set_spd_dplx(struct e1000_adapter *adapter, u32 spd, u8 dplx) in e1000_set_spd_dplx() argument 212 if ((spd & 1) || (dplx & ~1)) in e1000_set_spd_dplx() 217 (spd != SPEED_1000) && (dplx != DUPLEX_FULL)) { in e1000_set_spd_dplx() 221 switch (spd + dplx) { in e1000_set_spd_dplx()
|
/drivers/net/ethernet/intel/igc/ |
D | igc.h | 275 int igc_set_spd_dplx(struct igc_adapter *adapter, u32 spd, u8 dplx);
|
D | igc_main.c | 6425 int igc_set_spd_dplx(struct igc_adapter *adapter, u32 spd, u8 dplx) in igc_set_spd_dplx() argument 6434 if ((spd & 1) || (dplx & ~1)) in igc_set_spd_dplx() 6437 switch (spd + dplx) { in igc_set_spd_dplx()
|
/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 9114 int igb_set_spd_dplx(struct igb_adapter *adapter, u32 spd, u8 dplx) in igb_set_spd_dplx() argument 9124 if ((spd & 1) || (dplx & ~1)) in igb_set_spd_dplx() 9131 switch (spd + dplx) { in igb_set_spd_dplx() 9141 switch (spd + dplx) { in igb_set_spd_dplx()
|