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

/linux-master/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...]
/linux-master/drivers/net/ethernet/oki-semi/pch_gbe/
H A Dpch_gbe_param.c274 int speed, dplx; local
297 dplx = Duplex;
298 pch_gbe_validate_option(&dplx, &opt, adapter);
310 if (speed || dplx) {
322 switch (speed + dplx) {
325 if ((speed || dplx))
/linux-master/drivers/net/ethernet/intel/e1000/
H A De1000_param.c538 unsigned int speed, dplx, an; local
580 dplx = Duplex[bd];
581 e1000_validate_option(&dplx, &opt, adapter);
583 dplx = opt.def;
587 if ((num_AutoNeg > bd) && (speed != 0 || dplx != 0)) {
644 switch (speed + dplx) {
647 if ((num_Speed > bd) && (speed != 0 || dplx != 0))
H A De1000.h340 int e1000_set_spd_dplx(struct e1000_adapter *adapter, u32 spd, u8 dplx);
H A De1000_main.c5008 int e1000_set_spd_dplx(struct e1000_adapter *adapter, u32 spd, u8 dplx) argument
5014 /* Make sure dplx is at most 1 bit and lsb of speed is not set
5017 if ((spd & 1) || (dplx & ~1))
5023 dplx != DUPLEX_FULL)
5026 switch (spd + dplx) {
/linux-master/drivers/net/ethernet/chelsio/cxgb/
H A Dmv88e1xxx.c245 int sp = -1, dplx = -1, pause = 0; local
254 dplx = (status & V_PSSR_DUPLEX) ? DUPLEX_FULL : DUPLEX_HALF;
268 *duplex = dplx;
/linux-master/drivers/net/ethernet/intel/e1000e/
H A Dethtool.c211 static int e1000_set_spd_dplx(struct e1000_adapter *adapter, u32 spd, u8 dplx) argument
217 /* Make sure dplx is at most 1 bit and lsb of speed is not set
220 if ((spd & 1) || (dplx & ~1))
225 (spd != SPEED_1000) && (dplx != DUPLEX_FULL)) {
229 switch (spd + dplx) {
/linux-master/drivers/net/ethernet/intel/igb/
H A Digb_main.c9298 int igb_set_spd_dplx(struct igb_adapter *adapter, u32 spd, u8 dplx) argument
9305 /* Make sure dplx is at most 1 bit and lsb of speed is not set
9308 if ((spd & 1) || (dplx & ~1))
9315 switch (spd + dplx) {
9325 switch (spd + dplx) {

Completed in 171 milliseconds