Searched defs:dplx (Results 1 - 7 of 7) sorted by relevance

/drivers/net/ethernet/chelsio/cxgb/
H A Dmv88e1xxx.c244 int sp = -1, dplx = -1, pause = 0; local
253 dplx = (status & V_PSSR_DUPLEX) ? DUPLEX_FULL : DUPLEX_HALF;
267 *duplex = dplx;
/drivers/net/ethernet/oki-semi/pch_gbe/
H A Dpch_gbe_param.c285 int speed, dplx; local
308 dplx = Duplex;
309 pch_gbe_validate_option(&dplx, &opt, adapter);
321 if (speed || dplx) {
333 switch (speed + dplx) {
336 if ((speed || dplx))
/drivers/net/ethernet/chelsio/cxgb3/
H A Dvsc8211.c134 int err, sp = -1, dplx = -1, pause = 0; local
155 dplx = (bmcr & BMCR_FULLDPLX) ? DUPLEX_FULL : DUPLEX_HALF;
168 dplx = (status & F_ACSR_DUPLEX) ? DUPLEX_FULL : DUPLEX_HALF;
177 if (fc && dplx == DUPLEX_FULL) {
200 *duplex = dplx;
210 int err, sp = -1, dplx = -1, pause = 0; local
231 dplx = (bmcr & BMCR_FULLDPLX) ? DUPLEX_FULL : DUPLEX_HALF;
247 dplx = DUPLEX_FULL;
250 dplx = DUPLEX_HALF;
254 if (fc && dplx
[all...]
/drivers/net/ethernet/intel/e1000/
H A De1000_param.c565 unsigned int speed, dplx, an; local
607 dplx = Duplex[bd];
608 e1000_validate_option(&dplx, &opt, adapter);
610 dplx = opt.def;
614 if ((num_AutoNeg > bd) && (speed != 0 || dplx != 0)) {
671 switch (speed + dplx) {
674 if ((num_Speed > bd) && (speed != 0 || dplx != 0))
H A De1000_main.c4999 int e1000_set_spd_dplx(struct e1000_adapter *adapter, u32 spd, u8 dplx) argument
5005 /* Make sure dplx is at most 1 bit and lsb of speed is not set
5008 if ((spd & 1) || (dplx & ~1))
5014 dplx != DUPLEX_FULL)
5017 switch (spd + dplx) {
/drivers/net/ethernet/intel/e1000e/
H A Dethtool.c207 static int e1000_set_spd_dplx(struct e1000_adapter *adapter, u32 spd, u8 dplx) argument
213 /* Make sure dplx is at most 1 bit and lsb of speed is not set
216 if ((spd & 1) || (dplx & ~1))
221 (spd != SPEED_1000) && (dplx != DUPLEX_FULL)) {
225 switch (spd + dplx) {
/drivers/net/ethernet/intel/igb/
H A Digb_main.c7246 int igb_set_spd_dplx(struct igb_adapter *adapter, u32 spd, u8 dplx) argument
7253 /* Make sure dplx is at most 1 bit and lsb of speed is not set
7256 if ((spd & 1) || (dplx & ~1))
7263 switch (spd + dplx) {
7273 switch (spd + dplx) {

Completed in 146 milliseconds